2010 AMC 10A Problems/Problem 24: Difference between revisions
| Line 26: | Line 26: | ||
== Solution 2(bash) == | == Solution 2(bash) == | ||
First, we list out all the numbers<br \> | First, we list out all the numbers<br \> | ||
<math>90!=2^{65}3^{44}5^{21}7^{13}11^813^617^519^423^329^331^237^241^243^2\cdot47\cdot53\cdot\cdot\cdot89</math> | <math>90!=2^{65}3^{44}5^{21}7^{13}11^813^617^519^423^329^331^237^241^243^2\cdot47\cdot53\cdot\cdot\cdot89</math><br \> | ||
Since we must get rid of ending <math>0</math>s, we get rid of <math>5^21</math> and the corresponding <math>2^21</math> | Since we must get rid of ending <math>0</math>s, we get rid of <math>5^{21}</math> and the corresponding <math>2^{21}</math><br \> | ||
Next, we note that <math>2^22\equiv2^2</math>,<math>3^20\equiv3</math>, and <math>7^4\equiv7</math>, so it can be simplified to | Next, we note that <math>2^22\equiv2^2</math>,<math>3^20\equiv3</math>, and <math>7^4\equiv7</math>, so it can be simplified to<br \> | ||
<math>2^43^47\cdot11^813^617^5\cdot\cdot\cdot89</math> | <math>2^43^47\cdot11^813^617^5\cdot\cdot\cdot89</math><br \> | ||
Then, we bash using these following <math>4</math> difference of squares tricks and multiplication<br \> | |||
1. <math>(10k-1)(10k+1)\equiv-1</math><br \> | |||
2. <math>(10k+3)(10k+7)\equiv21=3\cdot7</math><br \> | |||
3. <math>(10k+1)(10k+9)\equiv9=3^2</math><br \> | |||
4. <math>(10k-3)(10k+3)\equiv-9\equiv7\cdot13</math><br \> | |||
Handling of powers of <math>3</math> and <math>7</math> are especially critical<br \> | |||
In the end, we get | |||
== See also == | == See also == | ||
Revision as of 20:11, 1 February 2020
Problem
The number obtained from the last two nonzero digits of
is equal to
. What is
?
Solution 1(Bigbrain)
We will use the fact that for any integer
,
First, we find that the number of factors of
in
is equal to
. Let
. The
we want is therefore the last two digits of
, or
. Since there is clearly an excess of factors of 2, we know that
, so it remains to find
.
We can write
as
where
where every number in the form
is replaced by
.
The number
can be grouped as follows:
Hence, we can reduce
to
Using the fact that
,we can deduce that
. Therefore
.
Finally, combining with the fact that
yields
.
Solution 2(bash)
First, we list out all the numbers
![]()
Since we must get rid of ending
s, we get rid of
and the corresponding ![]()
Next, we note that
,
, and
, so it can be simplified to
![]()
Then, we bash using these following
difference of squares tricks and multiplication
1. ![]()
2. ![]()
3. ![]()
4. ![]()
Handling of powers of
and
are especially critical
In the end, we get
See also
| 2010 AMC 10A (Problems • Answer Key • Resources) | ||
| Preceded by Problem 23 |
Followed by Problem 25 | |
| 1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | ||
| All AMC 10 Problems and Solutions | ||
These problems are copyrighted © by the Mathematical Association of America.