soandos
- 166
- 0
is there a way to determine (does not need to be exact) the number of digits in x! ?
sorry if this is kind of pointless
sorry if this is kind of pointless
soandos said:is there a way to determine (does not need to be exact) the number of digits in x! ?
Gib Z said:Don't forget to then apply
D = 1 + \lfloor \log_{10} \lfloor n! \rfloor \rfloor
after that for the number of digits.
Jarle said:If n! is hard to calculate, the series
D = 1 + \lfloor \sum^n_{i=1} \log_{10}i \rfloor
should be easier to calculate - for integer n.