Problem:
The number obtained from the last two nonzero digits of 90! is equal to n. What is n?
Answer Choices:
A. 12
B. 32
C. 48
D. 52
E. 68
Solution:
There are 18 factors of 90! that are multiples of 5,3 factors that are multiples of 25, and no factors that are multiples of higher powers of 5. Also, there are more than 45 factors of 2 in 90!. Thus 90!=1021N where N is an integer not divisible by 10, and if Nβ‘n(mod100) with 0<nβ€99, then n is a multiple of 4.
Let 90!=AB where A consists of the factors that are relatively prime to 5 and B consists of the factors that are divisible by 5. Note that βj=14β(5k+j)β‘ 5k(1+2+3+4)+1β
2β
3β
4β‘24(mod25), thus
A=(1β
2β
3β
4)β
(6β
7β
8β
9)β―β―(86β
87β
88β
89)β‘2418β‘(β1)18β‘1(mod25)β
Similarly,
B=(5β
10β
15β
20)β
(30β
35β
40β
45)β
(55β
60β
65β
70)β
(80β
85β
90)β
(25β
50β
75), thus
521Bβ=(1β
2β
3β
4)β
(6β
7β
8β
9)β
(11β
12β
13β
14)β
(16β
17β
18)β
(1β
2β
3)β‘243β
(β9)β
(β8)β
(β7)β
6β‘(β1)3β
1β‘β1(mod25)β
Finally, 221=2β
(210)2=2β
(1024)2β‘2β
(β1)2β‘2(mod25), so 13β
221β‘ 13β
2β‘1(mod25). Therefore
Nβ‘(13β
221)N=13β
52190!β=13β
Aβ
521Bββ‘13β
1β
(β1)(mod25)β‘β13β‘12(mod25)β
Thus n is equal to 12,37,62, or 87, and because n is a multiple of 4, it follows that n=12β.
The problems on this page are the property of the MAA's American Mathematics Competitions