login
A152281
Number of 9's among the digits of all n-digit primes.
9
0, 6, 61, 579, 5484, 52015, 500811, 4873234, 47639648, 467715626, 4606264916, 45472773167, 449751152190, 4454948367909
OFFSET
1,2
MATHEMATICA
Table[Count[Flatten[IntegerDigits/@Prime[Range[PrimePi[10^i]+1, PrimePi[10^(i+1)]]]], 9], {i, 0, 10}] (* Harvey P. Dale, Dec 08 2010 *)
KEYWORD
base,nonn
AUTHOR
Jon E. Schoenfield, Dec 01 2008
EXTENSIONS
a(12)-a(14) from Giovanni Resta, Jul 20 2015
STATUS
approved