package
Version:
v0.33.0
Opens a new window with list of versions in this module.
Published: Oct 29, 2025
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Factorial returns the low-order log10(Mod) non-zero digits of n!
FactorialEven returns k where 2^k*m*5^? = n!
func Fix(f, twos, fives int) int
Fix returns (f*2^(twos-fives))%Mod if twos > fives else (f*2^(fives-twos))%Mod (i.e., it puts back the excess 2's or 5's that multiply removed)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.