10.12.2012 Views

Prime Numbers

Prime Numbers

Prime Numbers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

532 Chapter 9 FAST ALGORITHMS FOR LARGE-INTEGER ARITHMETIC<br />

9.63. If the Mersenne prime p = 2 89 − 1 is used in the DGT integer<br />

convolution Algorithm 9.5.22 for zero-padded, large-integer multiply, and<br />

the elements of signals x, y are interpreted as digits in base B =2 16 ,how<br />

large can x, y be? What if balanced digit representation (with each digit in<br />

[−2 15 , 2 15 − 1]) is used?<br />

9.64. Describe how to use Algorithm 9.5.22 with a set of Mersenne primes<br />

to effect integer convolution via CRT reconstruction, including the precise<br />

manner of reconstruction. (Incidentally, CRT reconstruction for a Mersenne<br />

prime set is especially straightforward.)<br />

9.65. Analyze the complexity of Algorithm 9.5.22, with a view to the type<br />

of recursion seen in the Schönhage Algorithm 9.5.23, and explain how this<br />

compares to the entries of Table 9.1.<br />

9.66. Describe how DWT ideas can be used to obviate the need for zeropadding<br />

in Algorithm 9.5.25. Specifically, show how to use not a length-(2m)<br />

cyclic, rather a length-m cyclic and a length-m negacyclic. This is possible<br />

becausewehaveaprimitivem-th root of −1, so a DWT can be used for the<br />

negacyclic. Note that this does not significantly change the complexity, but<br />

in practice it reduces memory requirements.<br />

9.67. Prove the complexity claim following the Nussbaumer Algorithm<br />

9.5.25 for the O(D ln D) operation bound. Then analyze the somewhat<br />

intricate problem of bit-complexity for the algorithm. One way to start on such<br />

bit-complexity analysis is to decide upon the optimal base B, as intimated in<br />

the complexity table of Section 9.5.8.<br />

9.68. For odd primes p, the Nussbaumer Algorithm 9.5.25 will serve to<br />

evaluate cyclic or negacyclic convolutions (mod p); that is, for ring R identified<br />

with Fp. All that is required is to perform all R-element operations (mod p),<br />

so the structure of the algorithm as given does not change. Use such a<br />

Nussbaumer implementation to establish Fermat’s last theorem for some large<br />

exponents p, by invoking a convolution to effect the Shokrollahi DFT. There<br />

are various means for converting DFTs into convolutions. One method is to<br />

invoke the Bluestein reindexing trick, another is to consider the DFT to be<br />

a polynomial evaluation problem, and yet another is Rader’s trick (in the<br />

case that signal length is a prime power). Furthermore, convolutions of notpower-of-two<br />

length can be embedded in larger, more convenient convolutions<br />

(see [Crandall 1996a] for a discussion of such interplay between transforms<br />

and convolutions). You would use Theorem 9.5.14, noting first that the DFT<br />

length can be brought down to (p − 1)/2. Then evaluate the DFT via a<br />

cyclic convolution of power-of-two length by invoking the Nussbaumer method<br />

(mod p). Aside from the recent and spectacular theoretical success of A. Wiles<br />

in proving the “last theorem,” numerical studies have settled all exponents<br />

p

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

Saved successfully!

Ooh no, something went wrong!