Fooling around with factorials -- part 2 -- with thanks to Alisa Meier

Let S ( n ) S(n) denote the number of digits of n n . Then find the sum of all n n 's that satisfy the following equation:

S ( n ! ) + 1 = n \large S(n!) + 1 = n


Inspiration .


The answer is 62.

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

Andrey Bessonov
Aug 23, 2015

S(n!)+1 = log10(n!)

So, it`s grow slower then n, for n<10, and faster for n>10. We need to find two sequences of right numbers (for n<10 and n>10)..

For n<10 answer is {2}

For n>10 answer is {19...21}

Final answer: 2 + 19 + 20 + 21 = 62

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...