A215049 Number of primes of the form 1 + b^8 for 1 < b < 10^n.
2, 2, 40, 335, 2498, 20886, 174368, 1507722, 13300713
Offset: 1
Keywords
Examples
a(1) = 2 because the only Fermat primes F_3(b) where b<10^1 are the primes: 257, 65537.
Links
Crossrefs
Cf. A214454.
Programs
-
Mathematica
Table[Length[Select[Range[2,10^n-1]^8 + 1, PrimeQ]], {n, 5}] (* T. D. Noe, Aug 01 2012 *)
-
PARI
a(n) = sum(b=1, 10^n/2-1, isprime((2*b)^8+1))
Formula
a(n) = A214454(8*n) - 1.
Comments