Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Concept  





2 Algorithm  





3 See also  





4 References  














Quadratic Frobenius test






Русский
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


The quadratic Frobenius test (QFT) is a probabilistic primality test to determine whether a number is a probable prime. It is named after Ferdinand Georg Frobenius. The test uses the concepts of quadratic polynomials and the Frobenius automorphism. It should not be confused with the more general Frobenius test using a quadratic polynomial – the QFT restricts the polynomials allowed based on the input, and also has other conditions that must be met. A composite passing this test is a Frobenius pseudoprime, but the converse is not necessarily true.

Concept[edit]

Grantham's stated goal when developing the algorithm was to provide a test that primes would always pass and composites would pass with a probability of less than 1/7710.[1]: 33 

The test was later extended by Damgård and Frandsen to a test called extended quadratic Frobenius test (EQFT).[2]

Algorithm[edit]

Let n be a positive integer such that n is odd, and let b and c be integers such that and , where denotes the Jacobi symbol. Set . Then a QFTonn with parameters (b, c) works as follows:

(1) Test whether one of the primes less than or equal to the lower of the two values and divides n. If yes, then stop: n is composite.
(2) Test whether . If yes, then stop: n is composite.
(3) Compute . If , then stop: n is composite.
(4) Compute . If , then stop: n is composite.
(5) Let with s odd. If , and for all , then stop: n is composite.

If the QFT does not stop in steps (1)–(5), then n is a probable prime.

(The notation means that , where H and K are polynomials.)

See also[edit]

References[edit]

  1. ^ Grantham, J. (1998). "A Probable Prime Test With High Confidence". Journal of Number Theory. 72 (1): 32–47. CiteSeerX 10.1.1.56.8827. doi:10.1006/jnth.1998.2247. S2CID 119640473.
  • ^ Damgård, Ivan Bjerre; Frandsen, Gudmund Skovbjerg (2003). "An Extended Quadratic Frobenius Primality Test with Average and Worst Case Error Estimates". Fundamentals of Computation Theory (PDF). Lecture Notes in Computer Science. Vol. 2751. Springer Berlin Heidelberg. pp. 118–131. doi:10.1007/978-3-540-45077-1_12. ISBN 978-3-540-45077-1. ISSN 1611-3349.

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=Quadratic_Frobenius_test&oldid=1214572989"

    Category: 
    Primality tests
     



    This page was last edited on 19 March 2024, at 19:49 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki