A079113 Number of 3's in n# (n primorial) = 3's in A002110(n).
0, 0, 0, 1, 0, 1, 2, 0, 0, 1, 2, 1, 2, 2, 4, 0, 2, 2, 3, 1, 2, 2, 3, 1, 5, 5, 8, 4, 3, 3, 3, 7, 2, 6, 9, 8, 9, 4, 9, 6, 5, 4, 6, 7, 6, 11, 8, 7, 16, 11, 6, 8, 12, 8, 12, 8, 12, 4, 16, 11, 4, 15, 14, 15, 11, 15, 14, 8, 13, 20, 10, 8, 18, 14, 15, 14, 16, 14, 16, 12, 22, 17, 17, 15, 17, 17, 20, 14, 16, 21, 25
Offset: 0
Links
- Alois P. Heinz, Table of n, a(n) for n = 0..10000 (999 terms from Vincenzo Librandi)
Programs
-
Mathematica
DigitCount[#, 10, 3]&/@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