login
A231597
Total number of 8's digits in primes less than 10^n.
0
0, 2, 30, 351, 3690, 38541, 394398, 3998411, 40399778, 407316676, 4099892369, 41217744252, 414006129652, 4155543234392
OFFSET
1,2
EXAMPLE
a(2)=2, since there are 2 8's in primes less than 100. Namely: 83, 89.
MATHEMATICA
Table[Count[IntegerDigits[Prime[Range[PrimePi[10^n - 1]]]], 8, 2], {n, 7}] (* Robert Price, Jun 16 2019 *)
KEYWORD
more,nonn,base
AUTHOR
Robert Price, Nov 11 2013
EXTENSIONS
a(14) from Giovanni Resta, Jul 20 2015
STATUS
approved