A long Factorial!

Find the sum of all positive integers n n such that n ! n! has exactly n n digits in decimal representation.

Notation : ! ! denotes the factorial notation. For example, 8 ! = 1 × 2 × 3 × × 8 8! = 1\times2\times3\times\cdots\times8 .


The answer is 70.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

There are 4 4 such numbers 1 , 22 , 23 1,22,23 and 24 24 . Hence, the sum is 70 \boxed{70} .

It is trivial that 1 1 is a valid solution. However, for 2 n 21 2 \le n \le 21 , it may be seen that log 10 ( n ! ) < n 1 \log_{10} (n!) < n-1 which means that it has less than n n digits.

Further, log 10 25 ! 25.19 \log_{10} 25! \approx 25.19 hence 25 ! 25! has 26 26 digits and every subsequent factorial will add at least one digit. Hence for n > 24 n>24 , n ! n! has more than n n digits.

I am interest in how you got in that it may be seen

Mr Yovan - 4 years, 11 months ago

If you want to find number of digits in any number just take its log base 10 and find the ceiling function of that number. You will see from 1 to 21 number of digits are are less except for n=1. After 24 the number of digits start exceeding the number which obviously is going to continue forever as n is increasing by 1 but number will increase in more amount.

Kushagra Sahni - 4 years, 11 months ago

how do you find these numbers ???

can you tell me a method ????

Kushal Bose - 4 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...