Professional Documents
Culture Documents
Congruences Concerning Legendre Polynomials Ii
Congruences Concerning Legendre Polynomials Ii
ZHI-Hong Sun
School of Mathematical Sciences, Huaiyin Normal University,
Huaian, Jiangsu 223001, PR China
E-mail: zhihongsun@yahoo.com
Homepage: http://www.hytc.edu.cn/xsjl/szh
Abstract. Let p > 3 be a prime, and let m be an integer with p ∤ m. In the paper we
2k3 2k 4k
solve some conjectures of Z.W. Sun concerning p−1 /mk (mod p2 ), p−1 /mk
P P
k=0 k k=0 k 2k
Pp−1 2k2 4k k p−1
P 2 2k3
(mod p) and k=0 k 2k
/m (mod p2 ). In particular, we show that k=0 k
≡ 0
(mod p2 ) for p ≡ 3, 5, 6 (mod 7). Let Pn (x) be the Legendre polynomials. In the pa-
Pp−1 x3 − 23 (3t+5)x−9t−7
per we also show that P[ p ] (t) ≡ − −6p x=0 p
(mod p) and determine
4
√ √ √ √ √ √
P p−1 ( 2), P p−1 ( 4 ), P p−1 ( −3), P p−1 ( 2 ), P p−1 ( −63), P p−1 ( 3 8 7 ) (mod p), where t
3 2 3
2 2 2 2 2 2
is a rational p−integer, [x] is the greatest integer not exceeding x and ( ap ) is the Legendre
symbol. As consequences we determine P[ p ] (t) (mod p) in the cases t = − 53 , − 97 , − 63
65
and
4
confirm many conjectures of Z.W. Sun.
1. Introduction.
Let p be an odd prime. Following [A] we define
p−1
2 p−1 2 p−1
X + k
A(p, λ) = 2 2 λkp .
k 2k
k=0
The author is supported by the National Natural Sciences Foundation of China (grant no. 10971078).
1
For positive integers a, b and n, if n = ax2 + by 2 for some integers x and y, we briefly
say that n = ax2 + by 2 . In 1985, Beukers[B] conjectured a congruence for A(p, 1) (mod p2 )
equivalent to
(p−1)/2 2k 3
0 (mod p2 )
if p ≡ 3 (mod 4),
X
k
(1.3) ≡
k=0
64k 4x2 − 2p (mod p2 ) if p = x2 + 4y 2 ≡ 1 (mod 4).
This congruence was proved by several authors including Ishikawa[Is](p ≡ 1 (mod 4)), van
Hamme[vH](p ≡ 3 (mod 4)) and Ahlgren[A]. In 1998, by using the hypergeometric series
3 F2 (λ)p over the finite field Fp , Ono[O] obtained congruences for A(p, λ) (mod p) in the
cases λ = −1, −8, − 81 , 4, 14 , 64, 64
1
, see also [A]. Hence from (1.2) we deduce congruences for
p−1
P 2 1 2k 3
k=0 mk k (mod p) in the cases m = 1, −8, −64, 256, −512, 4096. Recently the author’s
brother Zhi-Wei Sun[Su1,Su3,Su4] conjectured corresponding congruences modulo p2 . In
particular, he conjectured that
p−1 3
0 (mod p2 ) if p ≡ 3, 5, 6 (mod 7),
X 2k
(1.4) ≡
k=0
k 4x2 − 2p (mod p2 ) if p = x2 + 7y 2 ≡ 1, 2, 4 (mod 7).
P0 (x) = 1, P1 (x) = x, (n + 1)Pn+1 (x) = (2n + 1)xPn (x) − nPn−1 (x) (n ≥ 1).
[n/2]
dn
1 X n k 2n − 2k 1
(1.5) Pn (x) = n (−1) xn−2k = n · n (x2 − 1)n ,
2 k n 2 · n! dx
k=0
where [x] is the greatest integer not exceeding x. From (1.5) we see that
(−1)m 2m
n
(1.6) Pn (−x) = (−1) Pn (x), P2m+1 (0) = 0 and P2m (0) = 2m .
2 m
Pn 2 n+k k
In the paper we deduce our main results for congruences from the identity k=0 2k 2k x
√ 2
k
= Pn ( 1 + 4x) .
Let Z be the set of integers. For a prime p let Zp be the set of rational numbers whose
denominator is coprime to p, and let ( ap ) be the Legendre symbol. On the basis of the work
of Ono[O] (see also [A, Theorem 2] and [LR]), in [S3, Theorem 2.11] the author showed that
for a prime p > 3 and t ∈ Zp ,
p−1 3
−6 X x − 3(t2 + 3)x + 2t(t2 − 9)
(1.7) P p−1 (t) ≡ − (mod p).
2 p x=0 p
2
In the paper, using (1.7) we prove that
p−1 3
6 X x − 23 (3t + 5)x + 9t + 7
(1.8) P [p
4]
(t) ≡ − (mod p).
p x=0 p
p−1 2k 2 4k
4C 2 (mod p) if p ≡ 1, 2, 4 (mod 7) and so p = C 2 + 7D2 ,
X
k 2k
(1.9) ≡
k=0
81k 0 (mod p2 ) if p ≡ 3, 5, 6 (mod 7).
√
2. Congruences for P p−1 ( x) and P[ p4 ] (t) (mod p).
2
p−1
[ 4p ] + k
1 4k p − 1 − 2k (−1) 2 4k
≡ (mod p) and p−1 ≡ (mod p).
2k (−64)k 2k 2
16k 2k
and
p−1 p − 1 − 2k
(−1) 2
p−1
2
p−1 (p − 1 − 2k)(p − 2 − 2k) · · · (p − ( p−1
2 + 2k))
= (−1) 2
p−1
2 !
(2k + 1)(2k + 2) · · · ( p−1
2
+ 2k)( p−1
2
+ 2k)( p−1
2
+ 2k − 1) · · · ( p−1
2
+ 1)
≡ p−1 =
2 !
(2k)!
(4k − 1)(4k − 3) · · · 3 · 1 (4k)! 1 4k
≡ = 2k = 4k (mod p).
22k · (2k)! 2 · (2k)! · 22k · (2k)! 2 2k
[p/4]
X 4k 2k 1 − t k
P[ p4 ] (t) ≡ (mod p).
2k k 128
k=0
n
X n n + k t − 1 k
(2.1) Pn (t) = .
k k 2
k=0
n n+k n+k 2k
Observe that k k = 2k k . By (2.1) and Lemma 2.1 we have
[p/4] [p/4]
4k 2k 1 − t k X 4k2k 1 + t k
[p
X
]
≡ (−1) 4 (mod p).
2k k 128 2k k 128
k=0 k=0
[p/4] 4k 2k
√ p−1 √ [p ]
X p−1
( x) 2 P p−1 ( x) ≡ (−1) 4 2k k
x 2 −k (mod p).
2 64k
k=0
[p/4] p−1
√ p−1 √
1 X p − 1 − 2k p−1
( x) 2 P p−1 ( x) = p−1
2
p−1 (−1)k x 2 −k .
2
2 2 k 2
k=0
√ p−1 √ −2 [p/4] 1
2k 1 4k
k p−1
X
( x) 2 P p−1 ( x) ≡ k
· 4k
(−1) x 2 −k (mod p).
2 p (−4) k 2 2k
k=0
p
−2
= (−1)[ 4 ] we then obtain the result.
Noting that p
4
Lemma 2.5. Let p be an odd prime and let x ∈ Zp with x 6≡ 0, 1 (mod p). Then
2(1 − x) r x p−1 2
r x
P p−1
p x−1 2 x−1
√ p−1 √ x 2
≡ ( x) 2 P p−1 ( x) ≡ P p − 1 (mod p).
2 p [4] x
Therefore,
r x p−1 2
r x
P p−1
x−1 2 x−1
x/(x − 1) 2 x(x − 1) 2
≡ P[ 4 ]
p −1 = P[ 4 ] 1 −
p
p x/(x − 1) p x
−2(x − 1) √ p−1 √
≡ ( x) 2 P p−1 ( x) (mod p).
p 2
p−1
√ p−1 √ −3 X p−1
f (u) = (2 u) 2 P p−1 ( u) + ((x3 − 3x + 2)u − 9x − 18) 2 .
2 p x=0
Thus f (u) is a polynomial of u with degree at most p−1 2 and integral coefficients. As
2 2 2 p−1 2
f (u) ≡ 0 (mod p) for u = 0 , 1 , 2 , . . . , ( 2 ) , using Lagrange’s theorem we see that all
the coefficients in f (u) are divisible by p. Therefore, f (u) ≡ 0 (mod p) for every u ∈ Zp .
This yields the result.
Now we are ready to prove the following main result.
Theorem 2.1. Let p be a prime greater than 3 and t ∈ Zp .
(i) If t 6≡ 0 (mod p), then
[p/4]
√ √
− p−1
2 − t X 4k 2k t − 1 k
( t) 2 P p−1 ( t) ≡ P [p
4]
≡
2 t 2k k 64t
k=0
[p/4]
[p
X 4k 2k 1
≡ (−1) 4]
2k k (64t)k
k=0
p−1
−6t X tx3 − 3(t + 3)x + 2(t − 9)
≡− (mod p).
p x=0 p
(ii) We have
P[ p4 ] (2/t − 1)
t √ p−1 p−1
√ −6t X tx3 − 3(t + 3)x + 2(t − 9)
≡ ( t) 2 P p−1 ( t) ≡ − (mod p).
p 2 p x=0 p
2
This together with Lemmas 2.2 and 2.3 gives the first part. Substituting t by t+1 and
noting that
p−1 3 3(3t+5) p−1 3(3t+5)
X x − 2
x − 9t − 7 X (−x)3 − 2
(−x) − 9t − 7
=
x=0
p x=0
p
p−1 3 3(3t+5)
−1 X x − 2 x + 9t + 7
=
p x=0
p
6
we then obtain the second part in the case t 6≡ −1 (mod p). When t ≡ −1 (mod p) we have
p
P[ p4 ] (−1) = (−1)[ 4 ] = ( −2
p
) and
p−1 3 p−1 p−1
X x − 3x − 2 X (x + 1)2 (x − 2) X x − 2 −1 − 2 −3
= = − =− .
x=0
p x=0
p x=0
p p p
Thus the second part is also true for t ≡ −1 (mod p). The proof is now complete.
Corollary 2.1. Let p ≥ 17 be a prime and t ∈ Zp . Then
p−1 3 3(3t+5) p−1 3 3(3t−5)
X x − 2
x + 9t + 7 2 X x + 2
x + 9t − 7
= .
x=0
p p x=0
p
p
Proof. Since P[ p4 ] (t) = (−1)[ 4 ] P[ p4 ] (−t), by Theorem 2.3(ii) we obtain
p−1 3 3(3t+5)
X x − 2 x + 9t + 7
x=0
p
p−1 3 3(−3t+5) p−1 3(3t−5)
[p
X x − x − 9t + 7 −2 X (−x)3 + (−x) − 9t + 7
≡ (−1) 4] 2
= 2
x=0
p p x=0
p
p−1 3 3(3t−5)
2 X x + 2
x + 9t − 7
= (mod p).
p x=0
p
and
p √
(−1)[ 4 ] P p−1 ( −63)
2
√ p−1 √ √ p−1 √
Taking x = −63 in Lemma 2.5 we obtain ( −7) 2 P p−1 ( −63) ≡ ( 7) 2 P p−1 ( 3 8 7 )
2 2
(mod p). Now combining all the above we obtain the result.
Theorem 2.6. Let p be an odd prime. Then
b
√ 2 2
3 2 (−1) 2 2a (mod p) if 8 | p − 1, p = a + 4b and 4 | a − 1,
P p−1 ≡ 4b (mod p) if 8 | p − 5, p = a2 + 4b2 and 4 | b − 1,
2 4
0 (mod p) if p ≡ 3 (mod 4).
9
√ p−1 √
2·(−8) 3 2 2 3 2 9
P[ p4 ] (− 97 )
Proof. Taking x = 9 in Lemma 2.5 we have p 4
P p−1 4
≡ p
2
(mod p). Thus applying Theorem 2.2 we have
3 √2 −6 √ p−1 7
P p−1 ≡ ( 2) 2 P[ p4 ] −
2 4 p 9
( p−1
2 4 · 2a (mod p) if p ≡ 1 (mod 4), p = a2 + 4b2 and 4 | a − 1,
≡
0 (mod p) if p ≡ 3 (mod 4).
b
(−1) 2 (mod p) if p ≡ 1 (mod 8),
p−1
2 4 ≡ 2b
a (mod p) if p ≡ 5 (mod 8), p = a2 + 4b2 and b ≡ a ≡ 1 (mod 4).
p−1 3 p
x − 4x2 + 2x (−1)[ 8 ]+1 2c if p = c2 + 2d2 ≡ 1, 3 (mod 8) with 4 | c − 1,
X
=
p 0 otherwise.
k=0
p−1 3
X x − 4x2 + 2x
x=0
p
p−1 p−1 3
3 X (3x − 4)3 − 30(3x − 4) − 56 3 X x − 30x − 56
= = .
p x=0
p p x=0
p
(2.6)
p+7 p
if p ≡ 1 (mod 8), p = c2 + 2d2 and 4 | c − 1,
p−1 3 (−1) 8 ( )2c
3
X x − 30x − 56
p−3 p
= (−1) 8 ( )2c if p ≡ 3 (mod 8), p = c2 + 2d2 and 4 | c − 1,
x=0
p
3
0 if p ≡ 5, 7 (mod 8).
10
Taking t = 2 in Theorem 2.1(i) and applying (2.6) we get
2 √ p−1 √
( 2) 2 P p−1 ( 2)
p 2
Remark 2.1. In [Su1], using Pell sequence Zhi-Wei Sun made a conjecture related to
Theorem 2.7.
Theorem 2.8. Let p > 3 be a prime. Then
p−1
(−1) 4 2A (mod p) if 12 | p − 1, p = A2 + 3B 2 and 4 | A − 1,
√
√
p−3
P p−1 ( −3) ≡ (−1) 4 2B −3 (mod p) if 12 | p − 7, p = A2 + 3B 2 and 4 | B − 1,
2
0 (mod p) if p ≡ 2 (mod 3)
and
if 12 | p − 1, p = A2 + 3B 2 and 4 | A − 1,
√3 2A√
(mod p)
P p−1 ≡ −2 3B (mod p) if 12 | p − 7, p = A2 + 3B 2 and 4 | B − 1,
2 2
0 (mod p) if p ≡ 2 (mod 3).
m m
X 2k n + k 2k k X 2k n+k 2m − 2k n+m−k
= .
k 2k k m−k k 2k m−k 2m − 2k
k=0 k=0
Lemma 3.1 can be easily proved by using WZ method. For the WZ method one may
consult [PWZ]. Clearly the lemma is true for m = 0, 1. Using Mathematica we find both
sides satisfy the same recurrence relation
Thus the lemma is true. The proof certificate for the left hand is
where
n n+k 2k n+k
Definition 3.1. Note that k k = k 2k . For any nonnegative integer n we define
n n 2
X n n+k 2k k X 2k n+k k
Sn (x) = x = x .
k k k k 2k
k=0 k=0
12
Lemma 3.2. Let n be a nonnegative integer. Then
√ x2 − 1
Sn (x) = Pn ( 1 + 4x)2 and Pn (x)2 = Sn .
4
2
x2 − 1 √
Pn (x) = Sn and so Pn ( 1 + 4x)2 = Sn (x).
4
This proves the lemma.
Theorem 3.1. Let p be an odd prime and m ∈ Zp with m 6≡ 0 (mod p). Then
p−1
2k 3 r
2
X 64 2
k
≡ P p−1 1− (mod p2 ).
mk 2 m
k=0
Proof. Taking m = 1, 4096 in Theorem 3.1 and then applying Theorem 2.5 we deduce
the result.
Remark 3.1 The congruence modulo p can be deduced from (1.2) and [O, Corollary 11].
Theorem 3.3. Let p be an odd prime. Then
p−1
2k 3
0 (mod p2 )
2
if p ≡ 3 (mod 4),
X
k
≡
k=0
(−8)k 4a2 − 2p (mod p2 ) if p = a2 + 4b2 ≡ 1 (mod 4).
P p−1 2k 3
/(−8)k ≡ P p−1 (3)2 (mod p2 ). According
Proof. From Theorem 3.1 we have k=0 2
k 2
to [S3, Corollary 2.3 and Theorem 2.9], we have
(
0 (mod p) if p ≡ 3 (mod 4),
P p−1 (3) ≡ p−1 p
2
(−1) 4 (2a − 2a ) (mod p2 ) if p = a2 + 4b2 ≡ 1 (mod 4).
Proof. Putting m = −512, −64, 16, 256 in Theorem 3.1 and then applying Theorems
2.6-2.8 we deduce the result.
Remark 3.2 Theorems 3.3 and 3.4 were conjectured by Zhi-Wei Sun in [Su1,Su3].
4. A general congruence modulo p2 .
Lemma 4.1. Let m be a nonnegative integer. Then
m 2 m
X 2k 4k k m−k
X 2k 4k 2(m − k) 4(m − k)
(−64) = .
k 2k m−k k 2k m−k 2(m − k)
k=0 k=0
14
We prove the lemma by using WZ method and Mathematica. Clearly the result is true
for m = 0, 1. Since both sides satisfy the same recurrence relation
1024(m + 1)(2m + 1)(2m + 3)S(m) − 8(2m + 3)(8m2 + 24m + 19)S(m + 1)
+ (m + 2)3 S(m + 2) = 0,
we see that Lemma 4.1 is true. The proof certificate for the left hand side is
4096k 2 (m + 2)(m − 2k)(m − 2k + 1)
− ,
(m − k + 1)(m − k + 2)
and the proof certificate for the right hand side is
16k 2 (4m − 4k + 1)(4m − 4k + 3)(16m2 − 16mk + 55m − 26k + 46)
.
(m − k + 1)2 (m − k + 2)2
Theorem 4.1. Let p be an odd prime and let x be a variable. Then
p−1 2 p−1
X 2k 4k k
X 2k 4k k 2
(x(1 − 64x)) ≡ x (mod p2 ).
k 2k k 2k
k=0 k=0
and so
p−1 p−1
X 2k 4k k X 2r 4r r
x x ≡ 0 (mod p2 ).
k 2k r 2r
k=0 r=p−k
Now combining all the above we obtain the result.
Corollary 4.1. Let p be an odd prime and m ∈ Zp with m 6≡ 0 (mod p). Then
p−1 2k2 4k p−1 p
X X 2k 4k 1 − 1 − 256/m k 2
k
k
2k
≡ (mod p2 ).
m k 2k 128
k=0 k=0
√
1− 1−256/m
Proof. Taking x = 128 in Theorem 4.1 we deduce the result.
Lemma 4.2. Let p be a prime greater than 3. Then
p−1
√ X √ p−1
P [p
4]
( t) ≡ − (x3 + 4x2 + 2(1 − t)x) 2 (mod p).
x=0
p
< k < p, 2k = (2k)! p p 4k (4k)!
Proof. For 2 k k!2 ≡ 0 (mod p). For 4 < k < 2 , 2k = (2k)!2 ≡
0 (mod p). Thus, p | 2k
4k
k 2k
for p4 < k < p. Hence, by Lemmas 2.2 and 4.2,
p−1 p−1
X 2k 4k 1 − t k X p−1
P [p
4]
(t) ≡ ≡− (x3 + 4x2 + 2(1 − t)x) 2 (mod p).
k 2k 128 x=0
k=0
[p p−1
8 ]+ 2
1
and hence q ≡ −(−1) 2c
(mod p). So the theorem is proved.
Proof. Taking m = 648, −144, −3969 in Theorem 4.2 and then applying Theorems 2.2-2.4
and (1.6) we deduce the result.
We remark that Theorem 5.1 was conjectured by the author in [S3].
Lemma 5.1 ([S4, Lemma 4.1]). Let p be an odd prime and let a, m, n be p-adic integers.
Then
p−1 p−1
X p−1 p−1 X p−1
3 2 3
(x + a mx + a n) 2 ≡ a 2 (x3 + mx + n) 2 (mod p).
x=0 x=0
and
p−1 2k 2 4k
4C 2 (mod p) if p ≡ 1, 2, 4 (mod 7) and so p = C 2 + 7D2 ,
X
k 2k
≡
k=0
81k 0 (mod p2 ) if p ≡ 3, 5, 6 (mod 7).
Proof. By (4.1),
5√−7 p−1
6 X 5 √ √ p−1
2
3
P[ p4 ] ≡− x − (3 + −7)x + 7 + 5 −7 (mod p).
9 p x=0 2
Since √ √ √ √
− 25 (3 + −7) 1 − −7 2 7 + 5 −7 1 − −7 3
= √ and = √ ,
−35 2 −7 −98 2 −7
18
by the above and Lemma 5.1 we have
5√−7 6 1 − √−7 p−1
2
p−1 3
X x − 35x − 98
P[ p4 ] ≡− √ (mod p).
9 p 2 −7 x=0
p
√
Proof. Taking m = −1024 and t = 5/2 in Theorem 4.2 we see that
p−1 2k 2 4k
p−1 3 √
X
k 2k
X x + 4x2 + (2 − 5)x 2
≡ (mod p).
(−1024)k x=0
p
k=0
Let m ∈ {5, 13, 37} and f (m) = −1024, −82944, −210 · 214 according as m = 5, 13 or 37.
Suppose that p is an odd prime such that p ∤ mf (m). In [Su1], Z.W. Sun conjectured that
4x − 2p (mod p2 ) if ( m ) = ( −1
2
p−1 2k2 4k p p
) = 1 and so p = x2 + my 2 ,
X
k 2k
k
≡ 2p − 2x2 (mod p2 ) if ( mp
) = ( −1
p
) = −1 and so 2p = x2 + my 2 ,
f (m)
k=0
0 (mod p2 ) if ( m ) = −( −1
p p
).
19
Let p > 3 be a prime and let Fp be the field of p elements. For m, n ∈ Fp let #Ep (x3 +
mx + n) be the number of points on the curve Ep : y 2 = x3 + mx + n over the field Fp . It
is well known that
p−1 3
3
X x + mx + n
(5.2) #Ep (x + mx + n) = p + 1 + .
x=0
p
√
Let K = Q( −d) be an imaginary quadratic field and the curve y 2 = x3 + mx + n has
complex multiplication by K. By Deuring’s theorem ([C, Theorem 14.16],[PV],[I]), we have
p+1 if p is inert in K,
3
(5.3) #Ep (x + mx + n) =
p + 1 − π − π̄ if p = ππ̄ in K,
where π is in an order in K and π̄√is the conjugate number of π. If 4p = u2 + dv 2 with
u, v ∈ Z, we may take π = 12 (u + v −d). Thus,
p−1 3
±u if 4p = u2 + dv 2 with u, v ∈ Z,
X x + mx + n
(5.4) =
x=0
p 0 otherwise.
In [JM] and [PV] the sign of u in (5.4) was determined for those imaginary quadratic fields
K with class number 1. In [LM] and [I] the sign of u in (5.4) was determined for imaginary
quadratic fields K with class number 2.
Theorem 5.4. Let p be a prime such that p ≡ ±1 (mod 12). Then
( √
7√ ( 2+2p 3 )2x (mod p) if p = x2 + 9y 2 ≡ 1 (mod 12) with 3 | x − 1,
P[ p4 ] 3 ≡
12 0 (mod p) if p ≡ 11 (mod 12)
and
p−1 2k 2 4k
4x2 (mod p) if p = x2 + 9y 2 ≡ 1 (mod 12),
X
k 2k
≡
k=0
(−12288)k 0 (mod p2 ) if p ≡ 11 (mod 12).
Remark 5.2 In [Su1, Conjecture A24], Z.W. Sun conjectured that for any prime p > 3,
p−1 2k 2 4k
X
k 2k
(−12288)k
k=0
[x] 2
if p = x2 + y 2 ≡ 1 (mod 12) and 4 | x − 1,
(−1) 6 (4x − 2p) (mod p)
≡ −4( xy 3
)xy (mod p2 ) if p = x2 + y 2 ≡ 5 (mod 12) and 4 | x − 1,
0 (mod p2 ) if p ≡ 3 (mod 4).
Proof. From [LM, √ Table II] we know that the elliptic curve defined by the equation
2 3 2 5
y = x + 4x + (2 − 9 13)x has complex multiplication by the order of discriminant −52.
Thus, by (5.4) we have
p−1 3 √
n + 4n2 + (2 − 59 13)n 2x if p ≡ 1 (mod 4) and so p = x2 + 13y 2 ,
X
=
n=0
p 0 if p ≡ 3 (mod 4).
5
√
Now taking m = −210 · 34 and t = 18 13 in Theorem 4.2 and applying the above we deduce
the result.
Theorem 5.6. Let p be an odd prime such that p 6= 3, 7 and ( 37
p
) = 1. Then
p−1 2k 2 4k 2
4x (mod p) if p ≡ 1 (mod 4) and so p = x2 + 37y 2 ,
X
k 2k
≡
k=0
(−210 · 214 )k 0 (mod p2 ) if p ≡ 3 (mod 4).
Proof. From [LM, Table√ II] we know that the elliptic curve defined by the equation
y 2 = x3 + 4x2 + (2 − 145
441 37)x has complex multiplication by the order of discriminant
−148. Thus, by (5.4) we have
p−1 3 √
X n + 4n2 + (2 − 145
441 37)n 2x if p ≡ 1 (mod 4) and so p = x2 + 37y 2 ,
=
n=0
p 0 if p ≡ 3 (mod 4).
145
√
Now taking m = −210 · 214 and t = 882 37 in Theorem 4.2 and applying the above we
deduce the result.
Let b ∈ {3, 5, 11, 29} and f (b) = 482 , 124 , 15842 , 3964 according as b = 3, 5, 11, 29. For
any odd prime p with p ∤ bf (b), Z.W. Sun conjectured that ([Su1, Conjectures A14, A16,
A18 and A21])
4x − 2p (mod p2 ) if ( p2 ) = ( −b
2 2 2
p−1 2k 2 4k
p ) = 1 and so p = x + 2by ,
X
(5.5) k 2k
k
≡ 2p − 8x2 (mod p2 ) if ( p2 ) = ( −b p
) = −1 and so p = 2x2 + by 2 ,
f (b)
k=0 0 (mod p2 ) if ( 2 ) = −( −b ).
p p
Now we partially solve the above conjecture.
21
Theorem 5.7. Let p be an odd prime such that p ≡ ±1 (mod 8). Then
2 √2
( p−1
√
(−1) 2 ( p2 )( x3 )2x (mod p) if p = x2 + 6y 2 ≡ 1, 7 (mod 24),
P[ p4 ] ≡
3 0 (mod p) if p ≡ 17, 23 (mod 24)
and
p−1 2k2 4k 2
X
k 2k
4x (mod p) if p = x2 + 6y 2 ≡ 1, 7 (mod 24),
≡
k=0
482k 0 (mod p2 ) if p ≡ 17, 23 (mod 24).
22
Theorem 5.9. Let p be a prime such that p ≡ ±1 (mod 8). Then
p−1 2k2 4k 2 p
X
k 2k
4x (mod p) if ( 11 ) = 1 and so p = x2 + 22y 2 ,
≡ p
15842k 0 (mod p2 ) if ( 11 ) = −1.
k=0
Proof. From [LM, Table √ II] we know that the elliptic curve defined by the equation
2 3 2 3640
y = x + 4x + (2 − 9801 29)x has complex multiplication by the order of discriminant
−232. Thus, by (5.4) we have
p−1 3 3640
√
n + 4n2 + (2 − 9801 29)n 2x if p ≡ 1, 3 (mod 8) and so p = x2 + 58y 2 ,
X
=
n=0
p 0 if p ≡ 5, 7 (mod 8).
√
Now taking m = 3964 and t = 18209801 29 in Theorem 4.2 and applying the above we deduce
the result.
Theorem 5.11. Let p be an odd prime such that p ≡ 1, 5, 19, 23 (mod 24). Then
p−1 2k2 4k 2
X
k 2k
4x (mod p) if p ≡ 1, 19 (mod 24) and so p = x2 + 18y 2 ,
≡
k=0
284k 0 (mod p2 ) if p ≡ 5, 23 (mod 24).
Proof. From [LM, Table√ II] we know that the elliptic curve defined by the equation
2 3 2 40
y = x + 4x + (2 − 49 6)x has complex multiplication by the order of discriminant −72.
Thus, by (5.4) we have
p−1 3 40
√
n + 4n2 + (2 − 49 6)n 2x if p ≡ 1, 19 (mod 24) and so p = x2 + 18y 2 ,
X
=
n=0
p 0 if p ≡ 5, 23 (mod 24).
√
Now taking m = 284 and t = 20 49 6 in Theorem 4.2 and applying the above we deduce the
result.
Remark 5.3 Let p 6= 2, 7 be a prime. Z.W. Sun conjectured that ([Su1, Conjecture A28])
p−1 2k2 4k 2
X
k 2k
4x − 2p (mod p) if p = x2 + 2y 2 ≡ 1, 3 (mod 8),
≡
k=0
284k 0 (mod p2 ) if p ≡ 5, 7 (mod 8).
23
Theorem 5.12. Let p be an odd prime such that p ≡ ±1 (mod 5). Then
p−1 2k 2 4k
4x2 (mod p) if p = x2 + 25y 2 ,
X
k 2k
≡
k=0
(−214 · 34 · 5)k 0 (mod p2 ) if p ≡ 3 (mod 4).
Proof. From [LM, Table √ II] we know that the elliptic curve defined by the equation
2 3 2 161
y = x + 4x + (2 − 180 5)x has complex multiplication by the order of discriminant
−100. Thus, by (5.4) we have
p−1 3 161
√
n + 4n2 + (2 − 5)n 2x if p = x2 + 25y 2 ,
X
180
=
n=0
p 0 if p ≡ 3 (mod 4).
161
√
Now taking m = −214 · 34 · 5 and t = 360 5 in Theorem 4.2 and applying the above we
deduce the result.
Remark 5.4 Let p > 5 be a prime. Z.W. Sun made a conjecture ([Su1, Conjecture A25])
equivalent to
2 2 2
p−1
X 2k
2 4k 4x − 2p (mod p) if p = x + 25y ,
k 2k
≡ −4xy (mod p2 ) if p = x2 + y 2 with 5 | x − y,
(−214 · 34 · 5)k
0 (mod p2 )
k=0
if p ≡ 3 (mod 4).
References
[A] S. Ahlgren, Gaussian hypergeometric series and combinatorial congruences, in: Symbolic compu-
tation, number theory, special functions, physics and combina- torics (Gainesville, FI, 1999), pp.
1-12, Dev. Math., Vol. 4, Kluwer, Dordrecht, 2001.
[BE] B. C. Berndt and R. J. Evans, Sums of Gauss Eisenstein, Jacobi, Jacobsthal and Brewer, Illinois
J. Math. 23 (1979), 374-437.
[BEW] B.C. Berndt, R.J. Evans and K.S. Williams, Gauss and Jacobi Sums, John Wiley & Sons, New
York, 1998.
[B] F. Beukers, Another congruence for the Apéry numbers, J. Number Theory 25 (1987), 201-210.
[C] D.A. Cox, Primes of the Form x2 + ny 2 : Fermat, Class Field Theory, and Complex Multiplication,
Wiley, New York, 1989.
[G] H.W. Gould, Combinatorial Identities, A Standardized Set of Tables Listing 500 Binomial Coeffi-
cient Summations, Morgantown, W. Va., 1972.
[I] N. Ishii, Trace of Frobenius endomorphism of an elliptic curve with complex multiplication, Bull.
Austral. Math. Soc. 70 (2004), 125-142.
[Is] T. Ishikawa, Super congruence for the Apery numbers, Nagoya Math. J. 118 (1990), 195-202.
[JM] A. Joux et F. Morain, Sur les sommes de caractères liées aux courbes elliptiques à multiplication
complexe, J. Number Theory 55 (1995), 108-128.
[LM] F. Leprévost and F. Morain, Revêtements de courbes elliptiques à multiplication complexe par des
courbes hyperelliptiques et sommes de caractères, J. Number Theory 64 (1997), 165-182.
[LR] P.-R. Loh and R.C. Rhoades, p-adic and combinatorial properties of modular form coefficients, Int.
J. Number Theory 2 (2006), 305-328.
24
[MOS] W. Magnus, F. Oberhettinger and R.P. Soni, Formulas and Theorems for the Special Functions of
Mathematical Physics, 3rd. ed., Springer, New York, 1966, pp. 228-232.
[M] E. Mortenson, Supercongruences for truncated n+1 Fn hypergeometric series with applications to
certain weight three newforms, Proc. Amer. Math. Soc. 133 (2005), 321-330..
[O] K. Ono, Values of Gaussian hypergeometric series, Trans. Amer. Math. Soc. 350 (1998), 1205-1223.
[PV] R. Padma and S. Venkataraman, Elliptic curves with complex multiplication and a character sum,
J. Number Theory 61 (1996), 274-282.
[PWZ] M. Petkovšek, H. S. Wilf and D. Zeilberger, A = B, A K Peters, Wellesley.
[R1] A.R. Rajwade, The Diophantine equation y 2 = x(x2 + 21Dx + 112D2 ) and the conjectures of Birch
and Swinnerton-Dyer, J. Austral. Math. Soc. Ser. A 24 (1977), 286-295.
[R2] A.R. Rajwade, On a conjecture of Williams, Bull. Soc. Math. Belg. Ser. B 36 (1984), 1-4.
[S1] Z.H. Sun, On the number of incongruent residues of x4 + ax2 + bx modulo p, J. Number Theory
119 (2006), 210-241.
[S2] Z.H. Sun, On the quadratic character of quadratic units, J. Number Theory 128 (2008), 1295-1335.
[S3] Z.H. Sun, Congruences concerning Legendre polynomials, Proc. Amer. Math. Soc. 139 (2011),
1915-1929. 2 3k −k
[S4] Z.H. Sun, Congruences involving 2kk k
m , arXiv:1104.2789. http://arxiv.org/abs/1104.2789.
[Su1] Z.W. Sun, Open conjectures on congruences, arXiv:0911.5665. http://arxiv.org/abs/0911.5665.
[Su2] Z.W. Sun, On sums involving products of three binomial coefficients, preprint, arXiv:1012.3141.
http://arxiv.org/abs/1012.3141.
[Su3] Z.W. Sun, On congruences related to central binomial coefficients, J. Number Theory 131 (2011),
2219-2238.
[Su4] Z.W. Sun, Super congruences and Euler numbers, Sci. China Math. 54 (2011), 2509-2535.
[vH] L. van Hamme, Some conjectures concerning partial sums of generalized hypergeometric series, in:
p-adic Functional Analysis (Nijmegen, 1996), pp. 223-236, Lecture Notes in Pure and Appl. Math.,
Vol. 192, Dekker, 1997.
25