BMO1 2016/2017 (Problem 3)

Determine all pairs (m,n)(m,n) of positive integers which satisfy the equation n26n=m2+m10n^2 - 6n = m^2 + m - 10.