OFFSET
1,9
COMMENTS
In the first 10^m (m=3,4,5) primes there are 339, 4070, 55213 2's, among all 3803, 48982, 610484 digits, which gives the frequencies {0.08914, 0.08309, 0.09044}.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
ListTools:-PartialSums([seq(numboccur(2, convert(ithprime(i), base, 10)), i=1..100)]); # Robert Israel, Jun 13 2018
MATHEMATICA
Accumulate[DigitCount[Prime[Range[90]], 10, 2]] (* Harvey P. Dale, Nov 09 2013 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Zak Seidov, Aug 22 2006
STATUS
approved