✔ 最佳答案
12000+10
2011-07-24 00:40:54 補充:
(1)
將N! 展開,最後含幾個0,即1,2,3,...,N分解(decomposition)後共有幾個5
so, N!展開最後含0的個數
=[N/5]+[N/5^2]+[N/5^3]+... ( where [x] is the greatest integer function)
In this problem, we should the smalltest integer N, such that
[N/5]+[N/5^2]+... =3000
[N/5]+[N/5^2]+[N/5^3}+.... approaches a geometric series with ratio r= 1/5
so we guess (N/5)/( 1- 1/5 ) = 3000, N=12000
When N=12000, [N/5]+[N/5^2]+[N/5^3]+...= 2400+ 480 + 96+ 19+ 3=2998
3000- 2998= 2,
so the smallest N=1200+10= 1210
(2)
1!=1 is a multiple of 10^0
so, the smallest positive integer N is 1.
2011-07-24 14:13:10 補充:
Sorry! corr.
(1) N=12000+10= 12010