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!)
A134876 Number of Proth primes: number of primes of the form 1 + k*2^n with k odd and k < 2^n. 3
1, 2, 1, 3, 4, 8, 18, 23, 44, 73, 142, 277, 484, 871, 1644, 3060, 5851, 10917, 20776, 39263, 74752, 142521, 271223, 520242, 996486, 1916486, 3686628, 7103236, 13702428, 26469008, 51193351, 99099882, 192044541, 372559804, 723389144 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The ratio a(n+1)/a(n) is about 2 * n /(n+1). - Corrected by Thomas Ordowski, Oct 17 2014
Conjecture: a(n) ~ C * 2^n / n, where C = 1/(2 log 2) = 0.7213475... - Thomas Ordowski, Oct 17 2014
LINKS
Eric Weisstein's World of Mathematics, Proth's Theorem
EXAMPLE
a(1)=1 because 3 is the only Proth prime for n=1.
a(2)=2 because 5 and 13 are the only primes for n=2.
a(3)=1 because 41 is the only prime for n=3.
MATHEMATICA
Table[cnt=0; Do[If[PrimeQ[1+k*2^n], cnt++ ], {k, 1, 2^n, 2}]; cnt, {n, 20}]]
PROG
(PARI) a(n) = my(s=0); forstep(k=1, 2^n-1, 2, s+=ispseudoprime(k<<n+1)); s \\ Jeppe Stig Nielsen, Jan 19 2020
CROSSREFS
Sequence in context: A055391 A177940 A304590 * A019612 A007444 A332309
KEYWORD
nonn
AUTHOR
T. D. Noe, Nov 17 2007
EXTENSIONS
More terms from Charles R Greathouse IV, Mar 18 2010
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 August 29 19:34 EDT 2024. Contains 375518 sequences. (Running on oeis4.)