Skip to main content

A primality test using cyclotomic extensions

  • Full Papers
  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 357))

Abstract

The cyclotomic polynomial Φs(x) (where s is an integer >1) is the irreducible polynomial over ℚ, having the primitive s-th roots of unity as zeroes. If \(\mathbb{K}\) is the field ℚ or \(\mathbb{F}_p\), with p a prime, an s-th cyclotomic extension of \(\mathbb{K}\) is the splitting field of Φs(x) over \(\mathbb{K}\). Every cyclic (actually: every abelian) extension of \(\mathbb{K}\) is included in some cyclotomic one. We present in §2 a procedure for constructing cyclic and cyclotomic extensions of fields. Cyclic fields are used in [BS] in the context of a factoring algorithm. For \(\mathbb{K} = \mathbb{F}_p\), this procedure can be used to produce irreducible polynomials of given degree over \(\mathbb{F}_p\).

H.W.Lenstra, Jr. has extended in [Le2] the concept of cyclotomic extensions to rings ℤ/(n ℤ), with n>1 an integer, and showed that existence of such extensions of degree s>√n implies a drastical constraint upon possible prime factors of n. He proposes a primality test based upon factoring Φs(x) over ℤ/(n ℤ), using the Berlekamp algorithm. Using our algorithm for constructing cyclotomic extensions over a finite field and some pseudoprime test involving Jacobi sums, we improve in §5,6 Lentra's approach to proving existence of an s-th cyclotomic extension of ℤ/(n ℤ) in polynomial time, when s>√n and ords(n) = O(log(n)c.logloglog(n)). This leads to a new primality test, which is an algorithmical realisation of the sketches in [Le2]. The intimate connection with the Adleman test ([APR],[Le1],[CoLe]) becomes evident by the very similar algebraic techniques used in that test and in ours. The new algorithm is comparable to [CoLe] in assymptotic runtime and capacity to prove primality of a test number; it is slightly superior by the fact that, (a) in the most time consuming steps of both algorithms, the set of operations required by CE is a subset of the set of operations required by Jacobi-sum test as described in [CoLe] and (b) the new algorithm provides a proof of primality in all cases the test [CoLe] does so, and also in some further cases.

This is a preview of subscription content, log in via an institution.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. L.M. Adleman, C. Pomerance, R.S. Rumely: "On Distinguishing Prime Numbers from Composite Numbers" Ann. of. Math. v. 117, 1983, pp. 173–206

    Google Scholar 

  2. L.M.Adleman, M.A.Huang:"Recognizing Primes in Random Polynomial Time", STOC 1987, pp. 462–469

    Google Scholar 

  3. E.Bach, J.Shallit: "Factoring with Cyclotomic Polynomials", FOCS, 1985, pp. 443–450

    Google Scholar 

  4. H. Cohn: "A Classical Invitation to Algebraic Numbers and Class Fields", Springer Universitext,1978

    Google Scholar 

  5. H. Cohen: "Atkin's Primality Test", lecture in Bonn Workshop of Foundation of Computing, Bonn, June 28-July 3, 1987

    Google Scholar 

  6. H. Cohen, H.W. Lenstra,Jr.: "Primality Testing and Jacobi Sums", Math of Comp., vol 42, 1984, pp. 297–330

    Google Scholar 

  7. S.Goldwasser, J.Killian: "Almost all Primes Can Be Quickly Certified", STOC 1986, pp. 316–329

    Google Scholar 

  8. M.A.Huang: " Riemann Hypothesis and Finding Roots over Finite Fields", STOC 1984, pp. 121–130

    Google Scholar 

  9. S.Lang: "Algebra", Addison & Wesley

    Google Scholar 

  10. H.W.Lenstra,Jr.: "Primality Testing Algorithms", in Lecture Notes in Mathematics vol 901, pp. 243–258

    Google Scholar 

  11. H.W.Lenstra,Jr.: "Galois Theory and Primality Testing", in Lecture Notes in Mathematics vol 1142, pp. 243–258

    Google Scholar 

  12. H.W.Lenstra,Jr.: "Elliptic Curves and Number Theoretic Algorithms", Report nr. 86-19, University of Amsterdam, Dept. of mathematics

    Google Scholar 

  13. A.K.Lenstra, H.W.Lenstra,Jr.: "Algorithms in Number Theory", University of Chicago, Technical Report 87-008, May 1987

    Google Scholar 

  14. H.W. Lenstra,Jr. and R. Tijdeman (eds), "Computaional Methods in Number Theory', Mathematical Centre Tracts, 154/155, Mathematisch Centrum, Amsterdam 1986

    Google Scholar 

  15. M.O. Rabin: "Probabilistic Algorithms for Testing Primality", J. of Number Theory vol. 12, 1980, pp. 128–138

    Google Scholar 

  16. H.Riesel: "Prime Numbers and Computer Methods for Factorization", Birkhäuser Progr. Math. vol. 57/85

    Google Scholar 

  17. R. Solovay, V. Strassen: "A fast Monte-Carlo Test for Primarlity" SIAM J. of Comput. vol. 6, 1977, pp. 84–85. erratum, ibid., vol. 7,1978, p. 118

    Google Scholar 

  18. H.C. Williams: "Primality Testing on a Computer", Ars Combin. 5 (1978) pp.127–185

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Teo Mora

Rights and permissions

Reprints and permissions

Copyright information

© 1989 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Mihailescu, P. (1989). A primality test using cyclotomic extensions. In: Mora, T. (eds) Applied Algebra, Algebraic Algorithms and Error-Correcting Codes. AAECC 1988. Lecture Notes in Computer Science, vol 357. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-51083-4_68

Download citation

  • DOI: https://doi.org/10.1007/3-540-51083-4_68

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-51083-3

  • Online ISBN: 978-3-540-46152-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics