This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A027869 #58 Jul 22 2025 14:46:03 %S A027869 0,0,0,0,0,1,1,2,2,1,2,2,4,4,2,4,4,4,5,6,7,7,8,5,6,9,8,9,10,7,9,7,10, %T A027869 8,11,9,10,12,16,12,9,15,13,13,12,13,16,11,14,14,19,18,18,17,18,18,17, %U A027869 20,17,19,19,26,20,21,20,20,23,22,25,21,20,25,23,35 %N A027869 Number of 0's in n!. %H A027869 Alois P. Heinz, <a href="/A027869/b027869.txt">Table of n, a(n) for n = 0..10000</a> (first 1001 terms from T. D. Noe) %H A027869 <a href="/index/Fa#factorial">Index entries for sequences related to factorial numbers</a>. %F A027869 a(n) = A034886(n) - (A079680(n) + A079714(n) + A079684(n) + A079688(n) + A079690(n) + A079691(n) + A079692(n) + A079693(n) + A079694(n)). - _Reinhard Zumkeller_, Jan 27 2008 %F A027869 A027868(n) <= a(n). - _Reinhard Zumkeller_, Jan 27 2008 %F A027869 Conjecture: a(n) ~ (9*A027868(n) + A034886(n))/10. This formula is based on the assumption that the digits other than trailing zeros are uniformly randomly distributed. - _Nicolas Bělohoubek_, Jan 11 2022 %t A027869 Table[Count[IntegerDigits[n!], 0], {n, 0, 100}] (* _T. D. Noe_, Apr 10 2012 *) %t A027869 DigitCount[Range[0,80]!,10,0] (* _Harvey P. Dale_, Jul 08 2020 *) %o A027869 (PARI) a(n)=my(d=digits(n!)); sum(i=1,#d,d[i]==0) \\ _Charles R Greathouse IV_, Jul 06 2017 %o A027869 (Python) %o A027869 from math import factorial %o A027869 def a(n): return str(factorial(n)).count('0') %o A027869 print([a(n) for n in range(74)]) # _Michael S. Branicky_, Jan 11 2022 %Y A027869 Cf. A000142, A137579, A137580, A034886. %K A027869 nonn,base %O A027869 0,8 %A A027869 _N. J. A. Sloane_