- #1
ehrenfest
- 2,020
- 1
Homework Statement
Prove that if n^2+m and n^2-m are perfect squares, then m is divisible by 24.
Homework Equations
The Attempt at a Solution
I found all of the squares mod 24. They are:{0,1,4,9,12,16}. We want to show that if we take anyone of these as n^2, then n^2+m and n^2-m cannot be in that set. However, if we take n^2=0 and m=12, then n^2+12=n^2-12=12. What is wrong here?
,