A339534 Numbers b > 1 such that the smallest five primes, i.e., 2, 3, 5, 7 and 11 are base-b Wieferich primes.
19601, 22049, 48149, 52057, 67357, 84457, 85193, 93493, 104057, 113257, 115757, 132857, 160849, 171793, 186101, 198449, 206749, 209249, 224549, 228457, 235493, 261593, 265501, 280801, 297901, 317501, 326701, 329201, 329849, 346301, 359857, 374293, 374849
Offset: 1
Keywords
Crossrefs
Programs
-
Mathematica
Select[Range[2, 375000], Function[b, AllTrue[{2, 3, 5, 7, 11}, PowerMod[b, (# - 1), #^2] == 1 &]]] (* Michael De Vlieger, Dec 10 2020 *)
-
PARI
is(n) = forprime(p=1, 11, if(Mod(n, p^2)^(p-1)!=1, return(0))); 1