Distribution of 0 digits in factorial series: Difference between revisions

m
no edit summary
(→‎{{header|REXX}}: added the computer programming language REXX.)
mNo edit summary
Line 21:
as the factorials become larger, the proportion of 0 digits in the factorial products shifts slowly
from around 1/5 toward 1/10, since the number of terminating zeros in n! increases only in proportion
to n, whereas the number of digits of n! in base 10 increases exponentially.
 
; The task:
Line 39:
 
Find the N in 10000 < N < 50000 where the mean of the proportions of 0 digits in the factorial products from 1 to N
permanently falls below 0.16. This task took many hours in the Python example, though I wonder if there is a faster
algorithm out there.
 
=={{header|Python}}==
4,103

edits