login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A114246 Number of Fermat pseudoprimes to bases 2 and 3 less than 10^n. 4
0, 0, 0, 7, 23, 66, 187, 485, 1272 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,4

LINKS

Table of n, a(n) for n=1..9.

Eric Weisstein's World of Mathematics, FermatPseudoprime

Index entries for sequences related to pseudoprimes

PROG

(PARI) my(n=1, i=0); forcomposite(k=1, 1e20, if(Mod(2, k)^(k-1)==1 && Mod(3, k)^(k-1)==1, i++); if(k==10^n, print1(i, ", "); n++)) \\ Felix Fröhlich, Oct 11 2015

CROSSREFS

Sequence in context: A266801 A066187 A259214 * A297315 A048457 A048458

Adjacent sequences:  A114243 A114244 A114245 * A114247 A114248 A114249

KEYWORD

nonn,more

AUTHOR

Eric W. Weisstein, Nov 18 2005

EXTENSIONS

a(9) from Felix Fröhlich, Oct 11 2015

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 27 02:54 EDT 2019. Contains 323597 sequences. (Running on oeis4.)