A079684 Number of 3's in n!.
0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 2, 0, 1, 2, 1, 1, 0, 0, 1, 5, 3, 2, 1, 3, 3, 2, 1, 7, 2, 3, 7, 4, 5, 1, 5, 3, 5, 3, 9, 3, 5, 1, 5, 7, 6, 6, 6, 4, 9, 8, 5, 3, 4, 5, 8, 8, 4, 8, 5, 9, 7, 7, 6, 9, 10, 5, 7, 8, 6, 10, 7, 11, 7, 9, 10, 8, 8, 15, 10, 13, 8, 10, 13, 8, 12, 10, 6, 18, 12, 12, 15, 9, 12
Offset: 0
Links
Programs
-
Mathematica
DigitCount[Range[0,100]!,10,3] (* Harvey P. Dale, Jul 04 2014 *)
Formula
Extensions
Corrected by Jason Earls, Jul 06 2003