OFFSET
1,4
LINKS
Eric Weisstein's World of Mathematics, Fermat Pseudoprime.
MATHEMATICA
Table[Count[Select[Range[2, 10^6], ! PrimeQ[#] && PowerMod[2, # - 1, #] == 1 && PowerMod[3, # - 1, #] == 1 && PowerMod[5, # - 1, #] == 1 &], x_ /; x < 10^n], {n, 6}] (* Robert Price, Jun 09 2019 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Eric W. Weisstein, Nov 18 2005
EXTENSIONS
a(9)-a(19) from Amiram Eldar, Apr 16 2022
STATUS
approved