Distribution of 0 digits in factorial series: Difference between revisions
Distribution of 0 digits in factorial series (view source)
Revision as of 09:56, 21 June 2021
, 2 years ago→Base 1000 version
Line 746:
zc = zinit()
rfs = [1]
total, trail, first
for f in range(2, 50000):
carry, d999, zeroes = 0, 0, (trail - 1) * 3
Line 778:
print("The mean proportion of zero digits in factorials to {} is {}".format(f, ratio))
if ratio
got_first = True▼
first = f▼
first = 0
print("The mean proportion dips permanently below 0.16 at {}.".format(first))
|