login
A231596
Total number of 7's digits in primes less than 10^n.
0
1, 9, 78, 652, 6172, 58327, 560506, 5443074, 53152746, 521422184, 5132090751, 50642752951, 500714890907, 4958432528817
OFFSET
1,2
EXAMPLE
a(2)=9, since there are 9 7's in primes less than 100. Namely: 7, 17, 37, 47, 67, 71, 73, 79, 97.
MATHEMATICA
Table[Count[IntegerDigits[Prime[Range[PrimePi[10^n - 1]]]], 7, 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