login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A114247
Number of Fermat pseudoprimes to base 5 less than 10^n.
6
1, 1, 5, 20, 73, 248, 745, 1954, 5239, 13837, 36042, 92893
OFFSET
1,3
MATHEMATICA
Table[Count[Select[Range[2, 10^6], ! PrimeQ[#] && 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(12) from Hiroaki Yamanouchi, Sep 25 2015
STATUS
approved