OFFSET
1,1
COMMENTS
Primes 1 + b^8 are a form of generalized Fermat primes. It is conjectured that a(n) is asymptotic to 0.261599*li(10^n).
LINKS
Yves Gallot, How many prime numbers appear in a sequence ?
FORMULA
a(n) = A214454(8*n) - 1.
EXAMPLE
a(1) = 2 because the only Fermat primes F_3(b) where b<10^1 are the primes: 257, 65537.
MATHEMATICA
Table[Length[Select[Range[2, 10^n-1]^8 + 1, PrimeQ]], {n, 5}] (* T. D. Noe, Aug 01 2012 *)
PROG
(PARI) a(n) = sum(b=1, 10^n/2-1, isprime((2*b)^8+1))
CROSSREFS
KEYWORD
nonn
AUTHOR
Henryk Dabrowski, Aug 01 2012
STATUS
approved