This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
All congruences will be modulo 289 (or, more generally, modulo the square of an odd prime).
Completing the square (or, equivalently, using the quadratic formula), we can reduce this to the problem of counting the solutions y of y 2 ≡ a .
In the case a ≡ 0 , there are 17 solutions, namely, y ≡ 1 7 k for 1 ≤ k ≤ 1 7 .
We claim that for all other a there are at most two solutions, so that the maximal number is 1 7 .
We will show that if y 2 ≡ a has more than 2 solutions, then a ≡ 0 . Let ± p and q be three pairwise non-congruent solutions, meaning that p 2 ≡ q 2 ≡ a . Then p 2 − q 2 = ( p − q ) ( p + q ) ≡ 0 . Since neither p + q nor p − q is divisible by 289, both must be divisible by 17, so that p and q are divisible by 17 as well. But this means that p 2 ≡ q 2 ≡ 0 as claimed.
(The proof in the last paragraph addresses a very special case of Hensel's Lemma )