The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A114250 Number of Fermat pseudoprimes to bases 2, 3, 5 and 7 less than 10^n. 0
0, 0, 0, 0, 3, 19, 63, 175, 501, 1230, 3086, 7469, 18402, 44748, 109787, 269289, 668521, 1675317, 4236270 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
Eric Weisstein's World of Mathematics, Fermat Pseudoprime.
FORMULA
a(n) = card{ m in A083739, m<10^n}. - R. J. Mathar, Feb 07 2008
MATHEMATICA
Table[Count[Select[Range[2, 10^6], ! PrimeQ[#] && PowerMod[2, # - 1, #] == 1 && PowerMod[3, # - 1, #] == 1 && PowerMod[5, # - 1, #] == 1 && PowerMod[7, # - 1, #] == 1 &], x_ /; x < 10^n], {n, 6}] (* Robert Price, Jun 09 2019 *)
CROSSREFS
Cf. A083739.
Sequence in context: A370434 A041015 A185448 * A249994 A339401 A316601
KEYWORD
nonn,more
AUTHOR
Eric W. Weisstein, Nov 18 2005
EXTENSIONS
a(9)-a(12) from Amiram Eldar, Sep 18 2021
a(13)-a(19) from Amiram Eldar, Apr 22 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 7 00:43 EDT 2024. Contains 373140 sequences. (Running on oeis4.)