The OEIS is supported by the many generous donors to the OEIS Foundation.

 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 60th year, we have over 367,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”). Other ways to Give
 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A185084 Number of Fermat pseudoprimes to base 3 less than 2^n. 0
 0, 0, 0, 0, 0, 0, 2, 2, 3, 6, 10, 17, 21, 30, 44, 61, 87, 124, 175, 254, 362, 511, 696, 955, 1313, 1802, 2462, 3321, 4422, 5969, 8089, 10785, 14513, 19333, 25774, 34259, 45522 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,7 LINKS Table of n, a(n) for n=1..37. EXAMPLE a(1) = a(2) = ... = a(6) = 0 because A005935(1) = 91 > 2^6. a(7) = 2 since A005935(1) = 91, A005935(2) = 121, A005935(3) = 286, and 121 < 2^7 < 286. MATHEMATICA cnt = 0; Table[Do[If[! PrimeQ[i] && PowerMod[3, i-1, i] == 1, cnt++], {i, 2^(n-1) + 1, 2^n}]; cnt, {n, 20}] (* T. D. Noe, Mar 02 2012 *) CROSSREFS Cf. A005935, A114245. Sequence in context: A137216 A070550 A298179 * A145778 A102762 A320783 Adjacent sequences: A185081 A185082 A185083 * A185085 A185086 A185087 KEYWORD nonn,more AUTHOR Washington Bomfim, Mar 02 2012 EXTENSIONS a(35)-a(37) from Amiram Eldar, Jul 18 2021 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.

Last modified December 2 21:06 EST 2023. Contains 367526 sequences. (Running on oeis4.)