Waste less time on Facebook — follow Brilliant.
×

Finding number of digits in \(n!\)

Hi!

I have encountered a number of questions asking for the number of digits in \(n!\). If you know varied methods of solving the same, please do share here.

Terms and conditions:

  • No use of Computer Science is allowed.

Note by Swapnil Das
11 months, 2 weeks ago

No vote yet
1 vote

Comments

Sort by:

Top Newest

The first two terms of Stirling's approximation to n! are

\(\ln (n!) = n \ln (n) - n\)

So the number of digits in \(n!\) can be estimated as \(\lfloor n \ln(10) (\ln (n) - 1) \rfloor + 1\) Thomas Jones · 11 months, 2 weeks ago

Log in to reply

One of the ways : Stirling's Formula. Swapnil Das · 11 months, 2 weeks ago

Log in to reply

×

Problem Loading...

Note Loading...

Set Loading...