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 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 > k ! > 2 π k ( e k ) k > ln 2 π + ln k + k ln k − k ln e > ( 2 1 + k ) ln k − k > ( 2 1 + k ) ln k − k Stirling’s formula Take the natural log of both sides
Eyeballing the equation above with ln k , we note that e 4 < k < e 5 :
k = e 4 ⟹ ( 2 1 + e 4 ) ⋅ 4 − e 4 = 1 6 5 . 7 9 < 2 2 9 . 3 4 k = e 5 ⟹ ( 2 1 + e 5 ) ⋅ 5 − e 5 = 5 9 6 . 1 5 > 2 2 9 . 3 4
Clearly, k must be closer to e 4 than to e 5 , so we make further approximations for k . 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 k :
k = 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 k is an integer, we test the integers k ≤ 7 0 :
k 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, k = 6 9 .
Alternate solution
We could also find the number of digits in k ! :
d ( k ! ) = ⌊ lo g 1 0 k ! ⌋ + 1
We see that k must be quite large for ⌊ k ! ⌋ = 1 0 1 0 0 , so we can reason that ( k + 1 ) ! must have more digits than k ! . 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 ( k ! ) < 1 0 1 ≤ d ( ( k + 1 ) ! ) ( 1 )
Stirling's formula says that for any positive integer k , we have the bounds 2 π k ( k + 2 1 ) e − k ≤ k ! ≤ e k ( k + 2 1 ) e − k
so for ⌊ lo g 1 0 k ! ⌋ + 1 ,
⌊ lo g 1 0 2 π + ( k + 2 1 ) lo g 1 0 k − k lo g 1 0 e ⌋ + 1 ≤ ⌊ lo g 1 0 k ! ⌋ + 1 ≤ ⌊ lo g 1 0 e + ( k + 2 1 ) lo g 1 0 k − k 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, k = 6 9 .