Prime Numbers

Prime Numbers Prime Numbers

thales.doa.fmph.uniba.sk
from thales.doa.fmph.uniba.sk More from this publisher
10.12.2012 Views

7.7 Exercises 379 This reduction ignites a chain of exact results for the Frobenius relation, as we shall see. (3) Show that x p can now be given the closed form x p ≡ (−4b) ⌊p/3⌋ x p mod 3 (mod Ψ3), where our usual mod notation is in force, so p mod 3 = 1 or 2. (4) Show that xp2 canalsobewrittendownexactlyas x p2 ≡ (−4b) (p2 −1)/3 x (mod Ψ3), and argue that for p ≡ 2 (mod 3) the congruence here boils down to x p2 ≡ x, independent of b. (5) By way of binomial series and the reduction relation from (2) above, establish the following general identity for positive integer d and γ ≡ 0 (mod p): (x 3 + γ) d ≡ γ d 1 − x3 d (1 − 4b/γ) − 1 4b (mod Ψ3). (6) Starting with the notion that y p ≡ y(x 3 + b) (p−1)/2 , resolve the power y p as y p ≡ yb (p−1)/2 q(x) (modΨ3), where q(x) =1or(1+x 3 /(2b)) as p ≡ 1, 2 (mod 3), respectively. (7) Show that we always have, then, y p2 ≡ y (mod Ψ3). Now, given the above preparation, argue from Theorem 7.5.5 that for p ≡ 2 (mod 3) we have, independent of b, #E ≡ p +1≡ 0(mod3). Finally, for p ≡ 1 (mod 3) argue, on the basis of the remaining possibilities for the Frobenius (c1x, y) + [1](x, y) =t(c2x, yc3) for b-dependent parameters ci, that the curve order (mod 3) depends on the quadratic character of b (mod p) in the following way: #E ≡ p +1+ b ≡ 2+ p b (mod 3). p An interesting research question is: How far can this “symbolic Schoof” algorithm be pushed (see Exercise 7.30)?

380 Chapter 7 ELLIPTIC CURVE ARITHMETIC 7.22. For the example prime p = 2 31 +1 /3 and its curve orders displayed after Algorithm 7.5.10, which is the best order to use to effect an ECPP proof that p is prime? 7.23. Use some variant of ECPP to prove primality of every one of the ten consecutive primes claimed in Exercise 1.87. 7.24. Here we apply ECPP ideas to primality testing of Fermat numbers Fm =2 2m + 1. By considering representations 4Fm = u 2 +4v 2 , prove that if Fm is prime, then there are four curves (mod Fm) y 2 = x 3 − 3 k x; k =0, 1, 2, 3, having, in some ordering, the curve orders 2 2m +2 m/2+1 +1, 2 2m − 2 m/2+1 +1, 2 2m − 1, 2 2m +3. Prove by computer that F7 (or some even larger Fermat number) is composite, by exhibiting on one of the four curves a point P that is not annihilated by any of the four orders. One should perhaps use the Montgomery representation in Algorithm 7.2.7, so that initial points need have only their x-coordinates checked for validity (see explanation following Algorithm 7.2.1). Otherwise, the whole exercise is doomed because one usually cannot even perform squarerooting for composite Fm, to obtain y coordinates. Of course, the celebrated Pepin primality test (Theorem 4.1.2) is much more efficient in the matter of weeding out composites, but the notion of CM curves is instructive here. In fact, when the above procedure is invoked for F4 = 65537, one finds that indeed, every one of the four curves has an initial point that is annihilated by one of the four orders. Thus we might regard 65537 as a “probable” prime in the present sense. Just a little more work, along the lines of the ECPP Algorithm 7.5.9, will complete a primality proof for this largest known Fermat prime. 7.8 Research problems 7.25. With a view to the complexity tradeoffs between Algorithms 7.2.2, 7.2.3, 7.2.7, analyze the complexity of field inversion. One looks longingly at expressions x3 = m 2 − x1 − x2, y3 = m(x1 − x3) − y1, in the realization that if only inversion were “free,” the affine approach would surely be superior. However, known inversion methods are quite expensive. One finds in practice that inversion times tend to be one or two orders of magnitude greater than

7.7 Exercises 379<br />

This reduction ignites a chain of exact results for the Frobenius relation,<br />

as we shall see.<br />

(3) Show that x p can now be given the closed form<br />

x p ≡ (−4b) ⌊p/3⌋ x p mod 3 (mod Ψ3),<br />

where our usual mod notation is in force, so p mod 3 = 1 or 2.<br />

(4) Show that xp2 canalsobewrittendownexactlyas<br />

x p2<br />

≡ (−4b) (p2 −1)/3 x (mod Ψ3),<br />

and argue that for p ≡ 2 (mod 3) the congruence here boils down to<br />

x p2<br />

≡ x, independent of b.<br />

(5) By way of binomial series and the reduction relation from (2) above,<br />

establish the following general identity for positive integer d and γ ≡ 0<br />

(mod p):<br />

(x 3 + γ) d ≡ γ d<br />

<br />

1 − x3 d<br />

(1 − 4b/γ) − 1<br />

4b<br />

<br />

(mod Ψ3).<br />

(6) Starting with the notion that y p ≡ y(x 3 + b) (p−1)/2 , resolve the power y p<br />

as<br />

y p ≡ yb (p−1)/2 q(x) (modΨ3),<br />

where q(x) =1or(1+x 3 /(2b)) as p ≡ 1, 2 (mod 3), respectively.<br />

(7) Show that we always have, then,<br />

y p2<br />

≡ y (mod Ψ3).<br />

Now, given the above preparation, argue from Theorem 7.5.5 that for p ≡ 2<br />

(mod 3) we have, independent of b,<br />

#E ≡ p +1≡ 0(mod3).<br />

Finally, for p ≡ 1 (mod 3) argue, on the basis of the remaining possibilities<br />

for the Frobenius<br />

(c1x, y) + [1](x, y) =t(c2x, yc3)<br />

for b-dependent parameters ci, that the curve order (mod 3) depends on the<br />

quadratic character of b (mod p) in the following way:<br />

#E ≡ p +1+<br />

<br />

b<br />

≡ 2+<br />

p<br />

<br />

b<br />

(mod 3).<br />

p<br />

An interesting research question is: How far can this “symbolic Schoof”<br />

algorithm be pushed (see Exercise 7.30)?

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!