login
A231594
Total number of 5's digits in primes less than 10^n.
0
1, 3, 33, 360, 3816, 38911, 396016, 4015732, 40543671, 408462140, 4109293287, 41296082801, 414669334188, 4161237526152
OFFSET
1,2
EXAMPLE
a(2)=3, since there are 3 5's in primes less than 100. Namely: 5, 53, 59.
MATHEMATICA
Table[Count[IntegerDigits[Prime[Range[PrimePi[10^n - 1]]]], 5, 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