A255924 Bases b for which exactly three Wieferich primes p with p < b exist such that p is a base-b Wieferich prime.
19, 28, 53, 68, 80, 89, 107, 129, 137, 143, 145, 146, 147, 148, 170, 177, 181, 197, 215, 224, 253, 263, 268, 299, 307, 324, 332, 333, 334, 339, 341, 349, 350, 354, 357, 359, 360, 362, 368, 373, 377, 389, 393, 399, 402, 403, 410, 413, 437, 440, 449, 451, 457
Offset: 1
Keywords
Links
- Felix Fröhlich, Table of n, a(n) for n = 1..10000
- Eric Weisstein's World of Mathematics, Wieferich Prime
Crossrefs
Programs
-
PARI
is(n) = my(i=0); forprime(p=1, n-1, if(Mod(n, p^2)^(p-1)==1, i++); if(i > 3, return(0))); i==3
-
Sage
[b for b in range(3, 458) if len([p for p in range(2, b) if is_prime(p) and mod(b, p^2)^(p-1)==1])==3] # Danny Rorabaugh, Mar 31 2015
Comments