Currently there may be errors shown on top of a page, because of a missing Wiki update (PHP version and extension DPL3).
Navigation
Topics Help • Register • News • History • How to • Sequences statistics • Template prototypes

Difference between revisions of "Proth's theorem"

From Prime-Wiki
Jump to: navigation, search
m (Karbon moved page Proth's Theorem to Proth's theorem without leaving a redirect: name)
(Adding to new subcategory)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This article is about '''Proth's theorem'''.
+
Proth's theorem (1878) states:
  
The Proth's theorem (1878) states:
+
Let <math>p = k*2^n+1</math> and <math>k < 2^n</math>; then <math>p</math> is prime if there is an integer <math>a</math> such that
 +
:<math>a^{(p-1)/2} \equiv -1\pmod{p}</math>.
  
Let <math>n = h*2^k+1</math> and <math>h<2^k</math>; then <math>n</math> is prime if (and only if) there is an integer <math>a</math> such that
+
Furthermore, if <math>a</math> is a [[quadratic residue|quadratic non-residue]] modulo <math>p</math>, then the converse is also true.
:<math>a^{(n-1)/2} \equiv -1 (mod\,n)</math>.
 
  
A prime of this form is known as [[Proth prime]].
+
A prime <math>p</math> of this form is known as a [[Proth prime]].
  
==See also==
+
==External links==
*[[Wikipedia:Proth's theorem|Proth's theorem]]
+
*[[Wikipedia:Proth's theorem|Wikipedia]]
[[Category:Primality tests]]
+
 
 +
[[Category:Deterministic primality tests]]

Latest revision as of 01:16, 11 August 2024

Proth's theorem (1878) states:

Let [math]\displaystyle{ p = k*2^n+1 }[/math] and [math]\displaystyle{ k \lt 2^n }[/math]; then [math]\displaystyle{ p }[/math] is prime if there is an integer [math]\displaystyle{ a }[/math] such that

[math]\displaystyle{ a^{(p-1)/2} \equiv -1\pmod{p} }[/math].

Furthermore, if [math]\displaystyle{ a }[/math] is a quadratic non-residue modulo [math]\displaystyle{ p }[/math], then the converse is also true.

A prime [math]\displaystyle{ p }[/math] of this form is known as a Proth prime.

External links