Prime Numbers
Prime Numbers Prime Numbers
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
- Page 338 and 339: 7.2 Elliptic arithmetic 329 Before
- Page 340 and 341: 7.2 Elliptic arithmetic 331 the “
- Page 342 and 343: 7.3 The theorems of Hasse, Deuring,
- Page 344 and 345: 7.4 Elliptic curve method 335 a ran
- Page 346 and 347: 7.4 Elliptic curve method 337 B1 =
- Page 348 and 349: 7.4 Elliptic curve method 339 facto
- Page 350 and 351: 7.4 Elliptic curve method 341 propa
- Page 352 and 353: 7.4 Elliptic curve method 343 As fo
- Page 354 and 355: 7.4 Elliptic curve method 345 if(1
- Page 356 and 357: 7.5 Counting points on elliptic cur
- Page 358 and 359: 7.5 Counting points on elliptic cur
- Page 360 and 361: 7.5 Counting points on elliptic cur
- Page 362 and 363: 7.5 Counting points on elliptic cur
- Page 364 and 365: 7.5 Counting points on elliptic cur
- Page 366 and 367: 7.5 Counting points on elliptic cur
- Page 368 and 369: 7.5 Counting points on elliptic cur
- Page 370 and 371: 7.5 Counting points on elliptic cur
- Page 372 and 373: 7.5 Counting points on elliptic cur
- Page 374 and 375: 7.5 Counting points on elliptic cur
- Page 376 and 377: 7.5 Counting points on elliptic cur
- Page 378 and 379: 7.6 Elliptic curve primality provin
- Page 380 and 381: 7.6 Elliptic curve primality provin
- Page 382 and 383: 7.6 Elliptic curve primality provin
- Page 384 and 385: 7.7 Exercises 375 7.4. As in Exerci
- Page 386 and 387: 7.7 Exercises 377 (some Bj equals A
- Page 390 and 391: 7.8 Research problems 381 multiply-
- Page 392 and 393: 7.8 Research problems 383 highly ef
- Page 394 and 395: 7.8 Research problems 385 is prime.
- Page 396 and 397: Chapter 8 THE UBIQUITY OF PRIME NUM
- Page 398 and 399: 8.1 Cryptography 389 is, if an orac
- Page 400 and 401: 8.1 Cryptography 391 Algorithm 8.1.
- Page 402 and 403: 8.1 Cryptography 393 just to genera
- Page 404 and 405: 8.1 Cryptography 395 where in the l
- Page 406 and 407: 8.2 Random-number generation 397 ar
- Page 408 and 409: 8.2 Random-number generation 399 Al
- Page 410 and 411: 8.2 Random-number generation 401 }
- Page 412 and 413: 8.2 Random-number generation 403 is
- Page 414 and 415: 8.3 Quasi-Monte Carlo (qMC) methods
- Page 416 and 417: 8.3 Quasi-Monte Carlo (qMC) methods
- Page 418 and 419: 8.3 Quasi-Monte Carlo (qMC) methods
- Page 420 and 421: 8.3 Quasi-Monte Carlo (qMC) methods
- Page 422 and 423: 8.3 Quasi-Monte Carlo (qMC) methods
- Page 424 and 425: 8.4 Diophantine analysis 415 [Tezuk
- Page 426 and 427: 8.4 Diophantine analysis 417 9262 3
- Page 428 and 429: 8.5 Quantum computation 419 We spea
- Page 430 and 431: 8.5 Quantum computation 421 three H
- Page 432 and 433: 8.5 Quantum computation 423 for a n
- Page 434 and 435: 8.6 Curious, anecdotal, and interdi
- Page 436 and 437: 8.6 Curious, anecdotal, and interdi
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)?