View Single Post
Old 2018-01-09, 12:32   #2
Nick
 
Nick's Avatar
 
Dec 2012
The Netherlands

22×353 Posts
Default

Hint: for any odd prime number q, 2 is a square (mod q) if and only if \(q\equiv\pm1\pmod{8}\).
Nick is offline   Reply With Quote