A079133 Number of 6's in n# (n primorial) = 6's in A002110(n).
0, 0, 1, 0, 0, 0, 0, 0, 2, 0, 3, 1, 0, 1, 2, 1, 0, 2, 1, 1, 4, 2, 3, 4, 4, 3, 6, 4, 4, 6, 8, 5, 5, 4, 8, 6, 5, 5, 13, 7, 9, 6, 7, 6, 6, 6, 9, 6, 9, 8, 6, 7, 8, 7, 10, 9, 12, 10, 12, 6, 11, 9, 6, 12, 7, 16, 21, 17, 10, 21, 12, 21, 14, 11, 15, 17, 26, 14, 14, 18, 18, 19, 12, 18, 16, 17, 25, 17, 15, 11, 15
Offset: 0
Links
- Alois P. Heinz, Table of n, a(n) for n = 0..10000 (999 terms from Vincenzo Librandi)
Programs
-
Mathematica
DigitCount[#, 10, 6]&/@Rest[FoldList[Times, 1, Prime[Range[100]]]] (* Vincenzo Librandi, Apr 07 2014 *)
-
PARI
\\ See program in A079099.
Extensions
Offset corrected by Alois P. Heinz, Jul 21 2025