Pepin-Test

Pepin-Test

Unter dem Pepin-Test versteht man einen Primzahltest. Der Pepin-Test überprüft Fermatsche Zahlen, das sind natürliche Zahlen der Form

F_k:=2^{2^k}+1,

darauf, ob sie eine Primzahl sind oder nicht. Grundlage für den Pepin-Test sind Arbeiten, die auf Édouard Lucas zurückgehen.

Der Pepin-Test lautet: Sei k\geq 1.

F_k=2^{2^k}+1 ist genau dann eine Primzahl, wenn gilt 3^{(F_k -1)/2} \equiv -1 \ \textrm{mod} \  F_k.

Zur schnelleren und einfacheren Berechnung verwendet man den modulo-Befehl schon in den Zwischenschritten, dies ändert nichts am Ergebnis. Zum Potenzieren der 3 wird im Allgemeinen das Verfahren des schnellen Potenzierens verwendet.

Als Beispiel soll hier der Beweis dafür, dass F3 = 28 + 1 = 257 eine Primzahl ist, mithilfe des Pepin-Tests geführt werden. Wir berechnen 3^{128} \ \textrm{mod} \ 257 schrittweise:

3^8=6561\equiv -121 \ \textrm{mod} \ 257

3^{16}\equiv (-121)^2 \equiv -8 \ \textrm{mod} \ 257

3^{32}\equiv (-8)^2 = 64 \ \textrm{mod} \ 257

3^{64}\equiv 64^2 \equiv -16 \ \textrm{mod} \ 257

3^{128}\equiv (-16)^2 = 256\equiv -1 \ \textrm{mod} \ 257


Wikimedia Foundation.

Игры ⚽ Поможем сделать НИР

Schlagen Sie auch in anderen Wörterbüchern nach:

  • Pépin-Test — Der Pépin Test ist ein Primzahltest für Fermat Zahlen. Er prüft, ob natürliche Zahlen der Form prim sind oder nicht. Grundlage für den Pépin Test sind Arbeiten von Théophile Pépin (1826 – 1904), François Proth (1852 – 1879) und Édouard Lucas.… …   Deutsch Wikipedia

  • Test de Pépin — En matemáticas, el test de Pépin (por el matemático francés P. Pépin) es un test de primalidad que se puede emplear para determinar si un número de Fermat es primo. Es una variante del test de Proth. Contenido 1 Descripción del test 2… …   Wikipedia Español

  • Pépin's test — In mathematics, Pépin s test is a primality test, which can be used to determine whether a Fermat number is prime. It is a variant of Proth s test. The test is named for a French mathematician, P. Pépin.Description of the testLet F n=2^{2^n}+1 be …   Wikipedia

  • Test de primalidad — El 39º número primo de Mersenne era el mayor conocido hasta la fecha de creación de este artículo. La cuestión de la determinación de si un número n …   Wikipedia Español

  • Lucas-Test (Mathematik) — Der Lucas Test ist eine Weiterentwicklung des Fermatschen Primzahltests durch den Mathematiker Édouard Lucas. Der Test wurde in den 50er Jahren von Derrick Lehmer und später nochmals von John Brillhart und John L. Selfridge verbessert. Er sollte… …   Deutsch Wikipedia

  • Prix Pépin — Pour les articles homonymes, voir Pépin. Le prix Pépin est un prix littéraire français, créé par Pierre Gévart et décerné depuis 2005, qui récompense de courtes nouvelles de science fiction d une taille maximale de 300 signes, espaces comprises.… …   Wikipédia en Français

  • Prix Pepin — Prix Pépin Pour les articles homonymes, voir Pépin. Cet article fait partie de l …   Wikipédia en Français

  • AKS primality test — The AKS primality test (also known as Agrawal–Kayal–Saxena primality test and cyclotomic AKS test) is a deterministic primality proving algorithm created and published by three Indian Institute of Technology Kanpur computer scientists, Manindra… …   Wikipedia

  • Primality test — A primality test is an algorithm for determining whether an input number is prime. Amongst other fields of mathematics, it is used for cryptography. Unlike integer factorization, primality tests do not generally give prime factors, only stating… …   Wikipedia

  • Miller–Rabin primality test — The Miller–Rabin primality test or Rabin–Miller primality test is a primality test: an algorithm which determines whether a given number is prime, similar to the Fermat primality test and the Solovay–Strassen primality test. Its original version …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”