A091128 Number of primes of the form 8k+5 less than 10^n.
1, 6, 43, 314, 2399, 19623, 166204, 1440534, 12712271, 113764516, 1029517296, 9401972490, 86516425996, 801235712049
Offset: 1
Links
- Bernhard Helmes, Distribution of Primes
- Eric Weisstein's World of Mathematics, Modular Prime Counting Function
Programs
-
Mathematica
p = Select[Table[8 i + 5, {i, 0, 10^7}], PrimeQ[#] &]; Table[Count[p, x_ /; x < 10^n], {n, 7}] (* Robert Price, May 28 2019 *)
Extensions
a(10) from Robert G. Wilson v, Dec 22 2003
a(11)-a(14) from Bernhard Helmes (pi(AT)devalco.de), Apr 21 2010
Comments