Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Fermat number
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Equivalent conditions=== {{Main|Pépin's test}} Let <math>F_n=2^{2^n}+1</math> be the ''n''th Fermat number. Pépin's test states that for {{nowrap|''n'' > 0}}, :<math>F_n</math> is prime if and only if <math>3^{(F_n-1)/2}\equiv-1\pmod{F_n}.</math> The expression <math>3^{(F_n-1)/2}</math> can be evaluated modulo <math>F_n</math> by [[exponentiation by squaring|repeated squaring]]. This makes the test a fast [[polynomial-time]] algorithm. But Fermat numbers grow so rapidly that only a handful of them can be tested in a reasonable amount of time and space. There are some tests for numbers of the form {{nowrap|''k''{{space|hair}}2<sup>''m''</sup> + 1}}, such as factors of Fermat numbers, for primality. :'''[[Proth's theorem]]''' (1878). Let {{nowrap|1=''N'' = ''k''{{space|hair}}2<sup>''m''</sup> + 1}} with odd {{nowrap|''k'' < 2<sup>''m''</sup>}}. If there is an integer ''a'' such that :: <math>a^{(N-1)/2} \equiv -1\pmod{N}</math> :then <math>N</math> is prime. Conversely, if the above congruence does not hold, and in addition :: <math>\left(\frac{a}{N}\right)=-1</math> (See [[Jacobi symbol]]) :then <math>N</math> is composite. If {{nowrap|1=''N'' = ''F''<sub>''n''</sub> > 3}}, then the above Jacobi symbol is always equal to −1 for {{nowrap|1=''a'' = 3}}, and this special case of Proth's theorem is known as [[Pépin's test]]. Although Pépin's test and Proth's theorem have been implemented on computers to prove the compositeness of some Fermat numbers, neither test gives a specific nontrivial factor. In fact, no specific prime factors are known for {{nowrap|1=''n'' = 20}} and 24.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Fermat number
(section)
Add topic