Answer: (−10,−11),(−10,9),(−3,−5),(−3,3),(2,−5),(2,3),(9,−11),(9,9).
Multiplying the given equality by 4, we obtain
4n2+4n=4m2+8m−36⇔4n2+4n+1=4m2+8m+4−39⇔
(2n+1)2=(2m+2)2−39⇔(2m+2)2−(2n+1)2=39⇔(2m+2−2n−1)(2m+2+2n+1)=39⇔(2m−2n+1)(2m+2n+3)=39.
Since 39=1⋅39=39⋅1=3⋅13=13⋅3=(−1)⋅(−39)=(−39)⋅(−1)=(−3)⋅(−13)=(−13)⋅(−3) are all possible factorizations of 39, it suffices to consider the following cases.
1){2m−2n+1=1,2m+2n+3=392){2m−2n+1=3,2m+2n+3=133){2m−2n+1=39,2m+2n+3=14){2m−2n+1=13,2m+2n+3=35){2m−2n+1=−1,2m+2n+3=−396){2m−2n+1=−3,2m+2n+3=−137){2m−2n+1=−39,2m+2n+3=−18){2m−2n+1=−13,2m+2n+3=−3which gives {4m+4=40,4n+2=38⇔⇔⇔⇔⇔⇔⇔so {m=9,n=9.{4m+4=16,4n+2=10⇔{m=3,n=2.{4m+4=40,4n+2=−38⇔{m=9,n=−10.{4m+4=16,4n+2=−10⇔{m=3,n=−3.{4m+4=−40,4n+2=−38⇔{m=−11,n=−10.{4m+4=−16,4n+2=−10⇔{m=−5,n=−3.{4m+4=−40,4n+2=38⇔{m=−11,n=9.{4m+4=−16,4n+2=10⇔{m=−5,n=2.