Lucas-Lehmer test: Difference between revisions

m
typo
m (foundation page)
 
m (typo)
Line 3:
and only if 2**p-1 divides S(p-1) where S(n+1)=S(n)**2-2, and S(1)=4.
 
The following programprograms calculate the first 45 Mersenne primes.
 
=={{header|ALGOL 68}}==