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