login
A231593
Total number of 4's digits in primes less than 10^n.
0
0, 3, 34, 360, 3772, 39006, 397474, 4022501, 40604951, 408986159, 4113511677, 41331763006, 414971464358, 4163826451096
OFFSET
1,2
EXAMPLE
a(2)=3, since there are 3 4's in primes less than 100. Namely: 41, 43, 47.
MATHEMATICA
Table[Count[IntegerDigits[Prime[Range[PrimePi[10^n - 1]]]], 4, 2], {n, 7}] (* Robert Price, Jun 16 2019 *)
KEYWORD
nonn,base,more
AUTHOR
Robert Price, Nov 11 2013
EXTENSIONS
a(14) from Giovanni Resta, Jul 20 2015
STATUS
approved