A178871 2nd Wieferich prime base prime(n).
3511, 1006003, 20771, 491531
Offset: 1
Examples
a(1) = 3511 is the 2nd Wieferich prime A001220(2). a(2) = 1006003 is the 2nd Mirimanoff prime A014127(2).
Links
- Wikipedia, Generalized Wieferich primes
Crossrefs
Programs
-
PARI
{default(primelimit, 10^7); for(n=1, 9, a=prime(n); c=0; forprime(p=2, 10^7, if(Mod(a, p^2)^(p-1)==1, c++; if(c==2, print1(p, ", "); next(2)))); print1(">10^7, "))} \\ Jens Kruse Andersen, Jun 18 2014
Comments