login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Total number of 6's digits in primes less than 10^n.
0

%I #12 Jun 16 2019 14:00:00

%S 0,2,33,369,3741,38714,395621,4007705,40484195,408035120,4105718243,

%T 41266320918,414416274953,4159068898063

%N Total number of 6's digits in primes less than 10^n.

%e a(2)=2, since there are 2 6's in primes less than 100. Namely: 61, 67.

%t Table[Count[IntegerDigits[Prime[Range[PrimePi[10^n - 1]]]], 6, 2], {n, 7}] (* _Robert Price_, Jun 16 2019 *)

%Y Cf. A231411, A231590-A231598, A119290, A119291-A119300.

%K more,nonn,base

%O 1,2

%A _Robert Price_, Nov 11 2013

%E a(14) from _Giovanni Resta_, Jul 20 2015