Implementations of Two Improved Versions of the AKS Primality Testing Algorithm
- Author
- JinZhengPing
- Advisor
- ZhangZhenXiang
- School
- Anhui Normal University
- Major
- Applied Mathematics
- Classification
- O156 Number Theory
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 115
- Citations
- 1
- primality testing
- AKS algorithm
- AKS - Bernstein algorithm
- AKS - Berrizbeitia algorithm
- The AKS - Bernstein algorithm
- Rabin - Miller test
Abstract
Primality Testing is one of the central subject of computational number theory In August 2002, the Indian computer scientists Agrawal, Kayal and Saxena announced on their website on the world's first polynomial time strict primality prove algorithm (AKS algorithm), which is an international a major theoretical achievements of mathematics and computer science community due to polynomial time times higher, the the AKS algorithm not practical and could be improved. Bernstein first of all give a good improvement algorithm (referred to as the AKS-Bernstein algorithm) Zhu Yu in the computer with the Jubilee 3206c/850 with C language AKS algorithm and the improved the previous algorithms 3,640,471 test takes about 2478.94 hours, while the latter 4295884871 The test takes about 28.35 hours, which pointed out that in practice direct use AKS algorithm Primality Testing is almost impossible, the AKS-Bernstein algorithm than the AKS algorithm has some improvements, but still useful, almost at the same time, Berrizbeitia the Primality Testing qualification integer AKS the algorithm improved version of this article (referred to as the the AKS-Berrizbeitia algorithm). Later, Bernstein proposed an than AKS-Berrizbeitia algorithm more general basically four random polynomial time primality proof the AKS algorithm improved version (referred to as the AKS-Bernstein algorithm). first describe the Delphi-Pascal language the PC Pentium IV/1.8G the AKS-Berriz-beitia algorithm implementation, pursuant to which only five integer test takes about two hours, which pointed out that the the AKS-Berrizbeitia algorithm remains practical then considered from the perspective of realization AKS-Bernstein second algorithm only very interested in a case, its concrete realization. For all tested integer algorithm are only a few seconds to complete the primality Reference , even for some 15-bit and 41-bit prime number, the algorithm also can be in 3 minutes and 10 hours to complete the test. recombination compare the amount of calculation for the above algorithm, we noted that the AKS-Bernstein second algorithm indeed than AKS algorithm previous three versions have greatly improved. Finally, by analyzing the AKS-Bernstein algorithm and its number of deficiencies, and through horizontal comparison the AKS-Bernstein algorithm and by several Miller test combinations into deterministic primality the operating efficiency of the test, draw thousands of times faster dozen integer within the scope of the latter than the former, which pointed out that the AKS-Bernstein algorithm and its implementation work remains to be further improved, also pointed out by several Miller test combined into deterministic primality test has a very important practical significance.
Table of contents
Abstract 6-7
Abstract 7-8
Chapter 1 Introduction 8-19
1.1 Primality Testing common method outlined 8 -16
1.1.1 trial division 8
1.1.2 Fermat fit test 8-9
1.1.3 n - 1 test 9 -10
1.1.4 n 1 test 10
1.1.5 Rabin-Miller probabilistic test 10-11
1.1.6 consists of several test combinations Miller into a deterministic primality test 11-12
1.1.7 Baillie-PSW probabilistic primality test 12-13
1.1.8 secondary base single-parameter test (OPQBT ) 13-15
1.1.9 Jacobi Sum test (APRCL test ) 15
1.1.10 elliptic curve test (ECPP) 15-16 <br / > 1.2 AKS algorithm and its improved version 16-17
1.3 the main work 17-19
Chapter 2 Preliminaries 19-23 <br / > 2.1 multiple -precision arithmetic package 19-21
2.2 residue class ring modulo n polynomials 21-23
Chapter 3 AKS-Berrizbeitia algorithm 23-30
3.1 algorithm Description 23-25 ??
3.2 algorithm and data results 25-30
Chapter 4 AKS-Bernstein second algorithm achieve 30-40
4.1 algorithm theory 30-32
4.2 algorithm processes and implementation 32-34
4.3 data analysis and Comparison 34-40
References 40-44
attachments: has published Home 44