📄 primes.tex
字号:
Almost all known huge prime numbers are special candidates, called
\index{Mersenne, Marin} {\em Mersenne numbers}\footnote{%
Marin Mersenne, French priest and mathematician, Sep 08, 1588 $-$ Sep 01, 1648.
\index{Mersenne, Marin}
}
of the form $2^p -1,$ where $p$ is
a prime. Not all Mersenne numbers are prime:
$$
\begin{array}{cl}
2^2 - 1 = 3 & \Rightarrow {\rm prime} \\
2^3 - 1 = 7 & \Rightarrow {\rm prime} \\
2^5 - 1 = 31 & \Rightarrow {\rm prime} \\
2^7 - 1 = 127 & \Rightarrow {\rm prime} \\
2^{11} - 1 = 2,047 = 23 \cdot 89 & \Rightarrow {\rm NOT~prime} !
\end{array}
$$
\index{Number!Mersenne}\index{Mersenne!number}
\index{Mersenne!theorem}
Even Mersenne knew that not all Mersenne numbers
are prime (see exponent $p = 11$).
A prime Mersenne number \index{Mersenne!prime number} is called
Mersenne prime number. \\
However, he is to be thanked for the interesting conclusion that a number
of the form $2^n-1$ cannot be a prime number if $n$ is a composite number:
\begin{theorem}[Mersenne]\label{thm-pz-mersenne}
If $2^n - 1$ is a prime number, then $n$ is also a prime number.
\end{theorem}
\begin{Proof}{}
The theorem of Mersenne can be proved by contradiction%
\index{Proof by contradiction}. We therefore assume that
there exists a composite natural number $ n $ (with real factorisation)
$ n=n_1 \cdot n_2 $
, with the property that $ 2^n -1 $ is a prime number.
From \begin{eqnarray*} (x^r-1)((x^r)^{s-1} + (x^r)^{s-2} + \cdots + x^r +1) & =
& ((x^r)^s + (x^r)^{s-1} + (x^r)^{s-2} + \cdots + x^r) \\ & & -((x^r)^{s-1} +
(x^r)^{s-2} + \cdots + x^r +1) \\ & = & (x^r)^s -1 = x^{rs } -1,
\end{eqnarray*} we conclude \[ 2^{n_1 n_2} - 1 = (2^{n_1} -1)((2^{n_1})^{n_2 -1}
+ (2^{n_1})^{n_2 -2} + \cdots + 2^{n_1} + 1). \]
Because $ 2^n - 1 $ is a prime number, one of the above two factors on the
right-hand side must be equal to 1. This is the case if and only if $ n_1 =1 $
or $ n_2 =1$. But this contradicts our assumption. Therefore the assumption is
false. This means that there exists no composite number $ n, $ such that $ 2^n -
1 $ is a prime.
\end{Proof}
\vskip + 5pt
\hypertarget{Mer-nums-not-always-prim}{}
Unfortunately this theorem only applies in one direction (the inverse
statement does not apply, no equivalence): that means that there exist
prime exponent for which the Mersenne number is {\bf not} prime (see the
above example $2^{11}-1, $ where $11$ is prime, but $2^{11}-1$ not).
Mersenne claimed that $2^{67}-1$ is a prime number. There is also a mathematical
history behind this claim: it first took over 200 years before
\index{Lucas, Edouard} Edouard Lucas (1842-1891) proved that this number
is composite.
However, he argued indirectly and did not name any of the factors. Then Frank
Nelson Cole\index{Cole, Frank Nelson}\footnote{%
Frank Nelson Cole, American mathematician, Sep. 20, 1861 $-$ May 26, 1926.}
showed in 1903 which factors make up this composite number:
$$ 2^{67} -1
=147, 573, 952, 589, 676, 412, 927 = 193, 707, 721 \cdot 761, 838, 257, 287. $$
He admitted to having worked 20 years on the factorisation
\index{Factorisation} (expression as a product of prime factors)\footnote{%
Using CrypTool\index{CrypTool} you can factorize numbers in the
following way: menu {\bf Indiv. Procedures \textbackslash{} RSA Cryptosystem
\textbackslash{} Factorisation of a Number}. \\
CrypTool can factorize in a reasonable time numbers no longer than 250 bit.
Numbers bigger than 1024 bits are currently not accepted by CrypTool. \\
The current factorization records are listed in chapter \ref{NoteFactorisation}.
\index{Factorisation!factorisation records}
}
of this 21-digit decimal number!
Due to the fact that the exponents of the Mersenne numbers
\index{Mersenne!number} do not use all
natural numbers, but only the primes, the {\em experimental space} is limited
considerably. The currently known Mersenne prime numbers
\index{Mersenne!prime number} have the exponents\footnote{%
The following page from Landon Curt Noll\index{Noll, Landon Curt} contains
all Mersenne primes including its date of discovery and its value as number
and as word:
\href{http://www.isthe.com/chongo/tech/math/prime/mersenne.html}
{\texttt{http://www.isthe.com/chongo/tech/math/prime/mersenne.html}}. \\
Also see:
\href{http://www.utm.edu/}
{\texttt{http://www.utm.edu/}}.
}
$$
\begin{array}{c}
2; ~ 3; ~ 5; ~ 7; ~ 13; ~ 17; ~ 19; ~ 31; ~ 61; ~ 89; ~ 107; ~ 127;
~ 521; ~ 607; ~ 1,279; ~ 2,203; ~ 2,281; ~ 3,217; ~ 4,253;\\
4,423; ~ 9,689; ~ 9,941, ~ 11,213; ~ 19,937; ~ 21,701; ~ 23,207; ~ 44,497; ~
86,243; ~ 110,503; ~ 132,049; \\
216,091; ~ 756,839; ~ 859,433; ~ 1,257,787; ~ 1,398,269; ~ 2,976,221;
~ 3,021,377; ~ 6,972,593; \\
~ 13,466,917; ~ 20,996,011; ~ 24,036,583; ~ 25,964,951.
% be_2005_UPDATEN_if-new-mersenne-prime-appears ~ xxx,xxx,xxx.
\end{array}
$$
Thus
$42$ % be_2005_UPDATEN_if-new-mersenne-prime-appears
Mersenne prime numbers are currently known%
\index{Prime number!Mersenne}\index{Mersenne!prime number}.
For the first 39 % be_2005_UPDATEN_if-new-mersenne-prime-appears
Mersenne prime numbers we know that this list is complete.
The exponents until the 40th % be_2005_UPDATEN_if-new-mersenne-prime-appears
Mersenne prime number have not yet been checked completely\footnote{%
The current status of the check can be found at:
\href{http://www.mersenne.org/status.htm}
{\texttt{http://www.mersenne.org/status.htm}}.\\
Hints, how the primality of a number can be checked, are in chapter
\ref{primality_tests}, prime number tests\index{Prime number!test}.
}.
The $19$th number with the exponent $4,253$ was the first with at least $1,000$ digits in decimal system
(the mathematician Samual \index{Yates, Samual} Yates coined the expression {\em
titanic} \index{Prime number!titanic} prime for this; it was discovered by
Hurwitz in 1961); the $27$th number with the exponent $44,497$ was the first
with at least $10,000$ digits in the decimal system (Yates coined the expression
\index{Prime number!gigantic} {\em gigantic} prime for this. These names are
now long outdated).
\vskip +25 pt
\paragraph{M-37 -- January 1998}\index{Mersenne!prime number!M-37}\mbox{}
The 37th Mersenne prime, $$ 2^{3,021,377} - 1 $$
was found in January 1998 and has 909,526
digits in the decimal system, which corresponds to 33 pages in the newspaper!
\vskip +25 pt
\paragraph{M-38 -- June 1999}\index{Mersenne!prime number!M-38}\mbox{}
The 38th Mersenne prime, called M-38, $$ 2^{6,972,593} - 1 $$
was discovered in June 1999 and has $2,098,960$ digits in the decimal system
(that corresponds to around 77 pages in the newspaper).
\vskip +25 pt
\paragraph{M-39 -- December 2001}%
\index{Mersenne!prime number!M-39}\mbox{}
The 39th Mersenne prime, called M-39, $$2^{13,466,917}-1,$$ was
published at December 6, 2001 -- more exactly, the verification of this number,
found at November 14, 2001 by the Canadian student Michael Cameron, was
successfully completed.
This number has about 4 million decimal digits (exactly 4,053,946 digits).
Trying only to print this number
$$(924947738006701322247758 \cdots 1130073855470256259071)$$
would require around 200 pages in the Financial Times.
Right now (May 2005) all prime exponents smaller than $ 13.466.917 $ have been
tested and double-checked (see home page of the GIMPS project:
{\href{http://www.mersenne.org} {\tt http://www.mersenne.org}}): so we can
be certain, that this is really the 39th Mersenne prime number and that
there are no smaller undiscovered Mersenne primes.
%\vskip +15 pt
%\paragraph{Mxxxxxxxxxx -- June 2003 -- M-40 ?}%
%\index{Mersenne!prime number!M-40}\mbox{}
%\vskip +10 pt
%This number was discovered as 40th Mersenne prime (and already called M-40,
%despite it has not been proven yet, whether no further Mersenne prime
%numbers between M-39 und Mxxxxxxxxx do indeed exist), $$2^{xx,xxx,xxx}-1,$$
%at June xx, 2003 -- more exactly, the verification of this number,
%found at June 02, 2003 by xxxxxxxxxx, was
%successfully completed.
%The initiator and project leader George Woltman only announces a found
%Mersenne number, after another double-check confirms that it is prime.
%This number has about xx million decimal digits
%(exactly xx,xxx,xxx digits).
Right now (as of May 2005) already 42 Mersenne primes are known.
\vskip +25 pt
\paragraph{GIMPS}\index{GIMPS}\mbox{}
\hypertarget{GIMPS-project}{}
The GIMPS project (Great Internet Mersenne Prime Search)\index{GIMPS} was founded
in 1996 by George Woltman\index{Woltman, George} to search for new largest
Mersenne primes
({\href{http://www.mersenne.org} {\tt http://www.mersenne.org}}).
Further explanations about this number type can be found under
\hyperlink{MersenneNumbers02}{Mersenne numbers} and
\hyperlink{MersenneNumbers01}{Mersenne primes}.
Right now the GIMPS project has discovered eight
% be_2005_UPDATEN_if-new-mersenne-prime-appears
largest Mersenne primes so far, including the largest known prime number at all.
The following table contains these Mersenne record primes\footnote{%
An up-to-date version can be found in the internet at
\href{http://www.mersenne.org/history.htm}
{\texttt{http://www.mersenne.org/history.htm}}.
}:
% be_2005_UPDATEN_if-new-mersenne-prime-appears
\begin{table}[h]
\begin{center}
\begin{tabular}{|cccc|}
\hline
{\bf Definition} & {\bf Decimal Digits} & {\bf When} & {\bf Who} \\
\hline
$2^{25,964,951}-1$ & 7,816,230 & February 18, 2005 & Dr. Martin Nowak \\
$2^{24,036,583}-1$ & 7,235,733 & May 15, 2004 & Josh Findley \\
$2^{20,996,011}-1$ & 6,320,430 & November 17, 2003 & Michael Shafer \\
$2^{13,466,917}-1$ & 4,053,946 & November 14, 2001 & Michael Cameron \\
$2^{ 6,972,593}-1$ & 2,098,960 & June 1, 1999 & Nayan Hajratwala \\
$2^{ 3,021,377}-1$ & 909,526 & January 27, 1998 & Roland Clarkson \\
$2^{ 2,976,221}-1$ & 895,932 & August 24, 1997 & Gordon Spence \\
$2^{ 1,398,269}-1$ & 420,921 & November 1996 & Joel Armengaud \\
\hline
\end{tabular}
\caption{The largest primes found by the GIMPS project (as of May 2005)}
\end{center}
\end{table}
%be_2005: Erzwingen, dass die Abb. noch in diesem Kapitel !
Dr. Richard Crandall\index{Crandall, Richard} discovered the advanced
transform algorithm used by the GIMPS program. George Woltman implemented
Crandall's algorithm in machine language, thereby producing a prime-search
program of unprecedented efficiency,
and that work led to the successful GIMPS project.
On June 1st, 2003 a possible Mersenne prime was reported to the GIMPS server,
which was checked afterwards as usual, before it was to be published.
Unfortunately mid June the initiator and GIMPS project leader George Woltman
had to tell, that two independent verification runs proved the number
was composite. This was the first false positive report of a client in 7 years.
Now more than 130,000 volunteers, amateurs and experts, participate in the
GIMPS project. They connect their computers into the so called ``primenet'',
organized by the company entropia.
% --------------------------------------------------------------------------
\vskip +25 pt
\subsubsection{Challenge of the Electronic Frontier Foundation (EFF)}\index{EFF}
This search is also spurred on by a competition started by the non-profit
organisation EFF (Electronic Frontier Foundation) using the means of an
unknown donator. The participants are rewarded with a total of 500,000 USD if
they find the longest prime number. In promoting this project, the unknown
donator is not looking for the quickest computer, but rather wants to draw
people's attention to the opportunities offered by {\em cooperative networking} \\
{\href{http://www.eff.org/coopawards/prime-release1.html}{\tt http://www.eff.org/coopawards/prime-release1.html}}
The discoverer of M-38 received 50,000 USD from the EFF for discovering
the first prime with more than 1 million decimal digits.
The next prize of 100,000 USD offered by EFF is for a proven prime with more
than 10 million decimal digits.
%{\href{http://www.octocad.demon.co.uk/mersenne/prime.htm }{\tt http://www.octocad.demon.co.uk/mersenne/prime.htm}}.
According to the EFF rules for their prizes they offer in the next stage
150,000 USD for a proven prime with more than 100 million decimal digits.
Edouard Lucas\index{Lucas, Edouard} (1842-1891) held the record for the
longest prime number for over 70 years by proving that $2^{127}-1$ is prime.
No new record is likely to last that long.
% --------------------------------------------------------------------------
\subsection{Prime number tests}
\label{primality_tests} % chap. 3.5
\index{Prime number!test}
In order to implement secure encryption procedures we need extremely large prime
numbers (in the region of $2^{2,048}$, i.e. numbers with $600$ digits in the
decimal system!).
If we look for the prime factors in order to decide whether a number is prime,
then the search takes too long, if even the smallest prime factor is enormous.
Factorising numbers using systematic computational
division or using the \hyperlink{SieveEratosthenes01}{sieve of Eratosthenes}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -