My calculator cannot handle numbers larger than .
Find the largest such that my calculator can handle
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.
9 . 9 9 9 9 9 9 9 9 × 1 0 9 9 1 0 1 0 0 1 0 1 0 0 1 0 0 ln 1 0 1 0 0 ln 1 0 − ln 2 π 2 2 9 . 3 4 ≥ n ! > n ! > 2 π n ( e n ) n > ln 2 π + ln n + n ln n − n ln e > ( 2 1 + n ) ln n − n > ( 2 1 + n ) ln n − n Assuming the calculator has ≤ 9 significant digits Stirling’s formula Take the natural log of both sides
The LHS now contains more manageable numbers, so we can do some checking with Kalpok's calculator (:
Note that e 4 < n < e 5 :
n = e 4 ⟹ ( 2 1 + e 4 ) ⋅ 4 − e 4 = 1 6 5 . 7 9 < 2 2 9 . 3 4 n = e 5 ⟹ ( 2 1 + e 5 ) ⋅ 5 − e 5 = 5 9 6 . 1 5 > 2 2 9 . 3 4
Clearly, n must be closer to e 4 than to e 5 , so we make further approximations for n . By testing some rational exponents of e between 4 and 5 , we might find that e 4 . 2 5 = 7 0 . 1 sets a very precise upper bound for n :
n = e 4 . 2 5 ⟹ ( 2 1 + e 4 . 2 5 ) ⋅ 4 . 2 5 − e 4 . 2 5 = 2 2 9 . 9 7 > 2 2 9 . 3 4
Since n is an integer, we test the integers n ≤ 7 0 :
n n = 7 0 ⟹ ( 2 1 + 7 0 ) ln 7 0 − 7 0 = 2 2 9 . 5 1 < 2 2 9 . 3 4 = 6 9 ⟹ ( 2 1 + 6 9 ) ln 6 9 − 6 9 = 2 2 5 . 2 7 < 2 2 9 . 3 4
Hence, n = 6 9 .
−
An alternate solution would be to find the number of digits in n ! :
d ( n ! ) = ⌊ lo g 1 0 n ! ⌋ + 1
We see that n must be quite large for ⌊ n ! ⌋ = 1 0 1 0 0 , so ( n + 1 ) ! must have more digits than n ! . Since d ( 1 0 1 0 0 ) = 1 0 1 and 1 0 1 0 0 is the smallest number with 1 0 1 digits, we have
d ( n ! ) < 1 0 1 ≤ d ( ( n + 1 ) ! ) ( 1 )
Stirling's formula says that for any positive integer n , we have the bounds 2 π n n + 1 / 2 e − n ≤ n ! ≤ e n n + 1 / 2 e − n
so for ⌊ lo g 1 0 n ! ⌋ + 1 ,
⌊ lo g 1 0 2 π + ( n + 2 1 ) lo g 1 0 n − n lo g 1 0 e ⌋ + 1 ≤ ⌊ lo g 1 0 n ! ⌋ + 1 ≤ ⌊ lo g 1 0 e + ( n + 2 1 ) lo g 1 0 n − n lo g 1 0 e ⌋ + 1
Combining this result with our previous inequality, ( 1 ) , and doing some checking, we find that 6 9 ! has 9 9 < 1 0 1 digits and 7 0 ! has 1 0 1 ≤ 1 0 1 digits.
Hence, n = 6 9 .