Exercise 9.41

Let p ≡ 1 ( mod 6 ) , 4 p = A 2 + 27 B 2 , A ≡ 1 ( mod 3 ) , A and B odd. Put π = a + bω , 2 a − b = A , b = 3 B . Let χ π be the cubic residue character.

(a)
If χ π ( 2 ) = ω show N ( x 3 + 2 y 3 = 1 ) = p + 1 + 2 b − a ≡ 0 ( mod 2 ) .
(b)
If χ π ( 2 ) = ω 2 show N ( x 3 + 2 y 3 = 1 ) = p + 1 − a − b ≡ 0 ( mod 2 ) .
(c)
Show that if A ≡ B ( mod 4 ) , then assuming χ π ( 2 ) ≠ 1 , one has χ π ( 2 ) = ω .
(d)
If χ π ( 2 ) ≠ 1 , A ≡ B ( mod 4 ) then 2 ( p − 1 ) ∕ 3 ≡ ( − A − 3 B ) ∕ 6 B ≡ ( A + 9 B ) ∕ ( A − 9 B ) ( mod π ) .

(This generalization of Euler’s criterion is due to E.Lehmer [174]. See also K.Williams [243].)

Answers

Proof. With the help of Theorem 1, Chapter 8, we obtain, writing χ π ( 2 ) = ω k ,

N ( x 3 + 2 y 3 = 1 ) = ∑ a + 2 b = 1 N ( x 3 = a ) N ( y 3 = b ) = ∑ a + 2 b = 1 ( ∑ i = 0 2 χ π i ( a ) ) ( ∑ j = 0 2 χ π j ( b ) ) = ∑ i = 0 2 ∑ j = 0 2 ∑ a + 2 b = 1 χ π i ( a ) χ π j ( b ) = ∑ i = 0 2 ∑ j = 0 2 ∑ a + b ′ = 1 χ π i ( a ) χ π j ( 2 − 1 b ′ ) = ∑ i = 0 2 ∑ j = 0 2 χ π ( 2 ) − j J ( χ π i , χ π j ) = ∑ i = 0 2 ∑ j = 0 2 ω − kj J ( χ π i , χ π j ) = p + ω − k J ( χ π 2 , χ π ) + ω − 2 k J ( χ π , χ π 2 ) + ω − k J ( χ π , χ π ) + ω − 2 k J ( χ π 2 , χ π 2 ) = p − ω − k χ π ( − 1 ) − ω − 2 k χ π 2 ( − 1 ) + 2 Re ( ω − k J ( χ π , χ π ) = p − ω − k − ω − 2 k + 2 Re ( ω − k J ( χ π , χ π ) ) .
(a)
If χ π ( 2 ) = ω , then k = 1 . Using χ π 2 = χ π − 1 = χ π ¯ , we obtain N ( x 3 + 2 y 3 = 1 ) = p + 1 + 2 Re ( ω 2 J ( χ π , χ π ) ) = p + 1 + 2 Re ( ω 2 π ) ,

since J ( χ π , χ π ) = π (Lemma 1, section 4).

ω 2 π = ω 2 ( a + bω ) = b − a − ωa , 2 Re ( ω 2 π ) = ( b − a − ωa ) + ( b − a − ω 2 a ) = 2 b − 2 a + a = 2 b − a ,

therefore

N ( x 3 + 2 y 3 = 1 ) = p + 1 + 2 b − a ( if  χ π ( 2 ) = ω ) .

Since case is χ π ( 2 ) = ω , then a ≡ 0 ( mod 2 ) (see Ex. 40, part (e)), so p + 1 + 2 b − a ≡ 0 ( mod 2 ) .

(b) If χ π ( 2 ) = ω 2 = ω − 1 , then k = − 1 , and

N ( x 3 + 2 y 3 = 1 ) = p + 1 + 2 Re ( ωπ ) ,

with

ωπ = ω ( a + bω ) = − b + ( a − b ) ω , 2 Re ( ωπ ) = ( − b + ( a − b ) ω ) + ( − b + ( a − b ) ω 2 ) = − 2 b − ( a − b ) = − a − b ,

therefore

N ( x 3 + 2 y 3 = 1 ) = p + 1 − a − b ( if  χ π ( 2 ) = ω 2 ) .

Since case is χ π ( 2 ) = ω 2 , then a ≡ 1 ≡ b ( mod 2 ) (see Ex. 40, part (e)), so p + 1 − a − b ≡ 0 ( mod 2 ) .

(c)
Suppose that A ≡ B ( mod 4 ) , and χ π ( 2 ) ≠ 1 . By hypothesis, b = 3 B , and this implies by Exercise 40 (e) that χ π ( 2 ) = ω (if not, χ π ( 2 ) = ω 2 , and A ≡ B ( mod 4 ) gives B = − b ∕ 3 ).
(d)
Suppose that χ π ( 2 ) ≠ 1 , A ≡ B ( mod 4 ) . By part (c), χ π ( 2 ) = ω .

Since 2 a − b = A , B = b ∕ 3 , then a = A + 3 B 2 , b = 3 B .

Starting from a + bω ≡ 0 ( mod π ) , we obtain

3 Bω ≡ − A + 3 B 2 ( mod π ) .

Since p = a 2 − ab + b 2 , a is relatively prime with p , therefore π ∧ b = 1 , so π ∧ B = 1 , and π ∧ 6 = 1 , since p ≡ 1 ( mod 6 ) , thus

χ π ( 2 ) = ω ≡ − A − 3 B 6 B ( mod π ) ,

where we must read in this fraction the product of A + 3 B by the inverse modulo p of 6 B . By definition, using N ( π ) = p ,

χ π ( 2 ) ≡ 2 p − 1 3 ( mod π ) ,

so

2 p − 1 3 ≡ − A − 3 B 6 B ( mod π ) .

Moreover, since 4 p = A 2 + 27 B 2 , A 2 + 27 B 2 ≡ 0 ( mod p ) , therefore

6 B ( A + 9 B ) + ( A + 3 B ) ( A − 9 B ) ≡ 0 ( mod p ) .

If p ∣ A − 9 B , since p ∤ 6 B , this equality implies that p ∣ A + 9 B , therefore p ∣ ( A − 9 B ) + ( A + 9 B ) = 2 A , which is false. Therefore A − 9 B ≢ 0 ( mod p ) , and

2 p − 1 3 ≡ − A − 3 B 6 B ≡ A + 9 B A − 9 B ( mod π ) .

□

Note : By a usual argument, if h ∈ ℤ , 2 p − 1 3 ≡ h ( mod π ) ⟺ 2 p − 1 3 ≡ h ( mod p ) . Note that the hypothesis χ π ( 2 ) ≠ 1 means that 2 is not a cubic residue modulo p , which is equivalent to A , B odd by Exercise 39. We can conclude

Suppose that p ≡ 1 ( mod 6 ) , and let ( A , B ) be the unique solution of 4 p = A 2 + 27 B 2 such that A ≡ 1 ( mod 3 ) , and B ≡ A ( mod 4 ) if B odd, and B > 0 otherwise.

If B is even, then 2 is a cubic residue modulo p , and 2 p − 1 3 = 1 .

If B is odd, then 2 is not a cubic residue modulo p , and B satisfies B ≡ A ( mod 4 ) .

Writing a = A + 3 B 2 , b = 3 B , and π = a + bω , then χ π ( 2 ) = ω , and

2 p − 1 3 ≡ A + 9 B A − 9 B ( mod p ) .

The three roots of x 3 − 1 in 𝔽 p are 1 , A + 9 B A − 9 B , A − 9 B A + 9 B . Here 2 is not a cubic residue modulo p , and 2 p − 1 3 is also a cubic root of unity modulo p , so 2 p − 1 3 ≡ A ± 9 B A ∓ 9 B ( mod p ) . The proposition explicits the choice of the sign of B which gives 2 p − 1 3 ≡ A + 9 B A − 9 B ( mod p ) .

Numerical example : Let p be the prime 967 . If we decompose p on the form p = π π ¯ , we obtain π = a + bω = − 34 − 27 ω . To obtain these result without tries, I find k = 682 such that p ∣ k 2 + 3 with the Tonelli-Shanks algorithm, and I compute gcd ⁡ ( p , k + 1 + 2 ω ) = a + bω , where a + bω is primary, with a small Python program using the class of elements in ℤ [ ω ] and the Euclid algorithm in ℤ [ ω ] . This gives the decompositions

967 = p = a 2 − ab + b 2 = 3 4 2 − 34 × 27 + 2 7 2 ,

and

3868 = 4 p = ( 2 a − b ) 2 + 3 b 2 = A 2 + 27 B 2 = 4 1 2 + 27 × 9 2 ,

where A ≡ 1 ( mod 3 ) , and I choose the sign of B such that B ≡ A ( mod 4 ) . We obtain A = − 41 , B = − 9 , and a , b must verify A = 2 a − b , B = b ∕ 3 .

Then χ π ( 2 ) = ω , where π = − 41 − 9 ω . In 𝔽 967 , the cubic roots of unity modulo p are 1 , 142 , 824 : 14 2 3 ≡ 82 4 3 ≡ 1 ( mod 967 ) .

Here ( A + 9 B ) ( A − 9 B ) − 1 = 142 , and we verify with a fast exponentiation that 2 p − 1 3 = 2 322 ≡ 142 ( mod 967 ) .

I give here an extract of a table obtained with this program, which for each p gives A , B such that 4 p = A 2 + 27 B 2 , A ≡ 1 ( mod 3 ) and such that B ≡ A ( mod 4 ) if A , B odd, and π = a + bω satisfies χ π ( 2 ) = ω (or χ π ( 2 ) = 1 if A , B even, which corresponds to the case a ≡ 1 , b ≡ 0 ( mod 2 ) ).

p A B π = a + bω a % 2 b% 2 2 p − 1 3 % p A − 9 B A + 9 B χ π ( 2 ) 787 31 − 9 2 − 27 ω 0 1 379 379 ω 811 − 56 − 2 − 31 − 6 ω 1 0 1 130 1 823 − 5 11 14 + 33 ω 0 1 648 648 ω 829 7 11 20 + 33 ω 0 1 125 125 ω 853 − 35 9 − 4 + 27 ω 0 1 632 632 ω 859 13 − 11 − 10 − 33 ω 0 1 260 260 ω 877 − 59 1 − 28 + 3 ω 0 1 594 594 ω 883 − 47 − 7 − 34 − 21 ω 0 1 545 545 ω 907 19 11 26 + 33 ω 0 1 384 384 ω 919 52 − 6 17 − 18 ω 1 0 1 52 1 937 61 1 32 + 3 ω 0 1 614 614 ω 967 − 41 − 9 − 34 − 27 ω 0 1 142 142 ω 991 61 − 3 26 − 9 ω 0 1 113 113 ω 997 10 − 12 − 13 − 36 ω 1 0 1 692 1

As a verification I compute χ π ( 2 ) with a fast exponentiation in ℤ [ ω ] : χ π ( 2 ) = 2 p − 1 3 ( mod π ) .

We obtain the primary prime μ such that N ( μ ) = p , χ μ ( 2 ) = ω 2 by taking the conjugate of π . For instance, with p = 787 , π = 2 − 27 ω satisfies χ π ( 2 ) = ω , therefore χ π ¯ ( 2 ) = χ 29 + 27 ω = ω 2 .

The lines where χ π ( 2 ) = 1 , corresponding to the case where A , B are even (or equivalently a odd, b even), give the decomposition p = x 2 + 27 y 2 , ( x = A ∕ 2 , y = B ∕ 2 ) . For instance 997 = 5 2 + 27 × 6 2 . If p is prime,

∃ ⁡ x ∈ ℤ , ∃ ⁡ y ∈ ℤ , p = x 2 + 27 y 2 ⟺ p ≡ 1 ( mod 3 )  and  ∃ ⁡ a ∈ ℤ , 2 ≡ a 3 ( mod p ) .

User profile picture
2022-07-19 00:00
Comments