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
KEYWORD
nonn
AUTHOR
T. D. Noe, Nov 17 2007
EXTENSIONS
More terms from Charles R Greathouse IV, Mar 18 2010
STATUS
approved