A091126 Number of primes of the form 8k+1 less than 10^n.
0, 5, 37, 295, 2384, 19552, 165976, 1439970, 12711220, 113758759, 1029502984, 9401951850, 86516283187, 801235071623
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 + 1, {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