Difference between revisions of "1992 OIM Problems/Problem 1"
(→See also) |
|||
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
<math>a_{20k+p}=\frac{(20k+p)(20k+p+1)}{2}\text{ mod } 10</math> | <math>a_{20k+p}=\frac{(20k+p)(20k+p+1)}{2}\text{ mod } 10</math> | ||
− | <math>a_{20k+p}=\frac{ | + | <math>a_{20k+p}=\frac{400k^2+20k(p+1)+20kp+p(p+1)}{2}\text{ mod } 10</math> |
− | <math>a_{20k+p}=\ | + | <math>a_{20k+p}=\left(10(20k^2+k(p+1)+kp)+ \frac{p(p+1)}{2} \right)\text{ mod } 10</math> |
− | + | Since <math>10(20k^2+k(p+1)+kp)\text{ mod } 10=0</math>, then | |
− | |||
− | Since <math>10( | ||
<math>a_{20k+p}=\frac{p(p+1)}{2} \text{ mod } 10 = a_p</math> | <math>a_{20k+p}=\frac{p(p+1)}{2} \text{ mod } 10 = a_p</math> | ||
Line 71: | Line 69: | ||
{{alternate solutions}} | {{alternate solutions}} | ||
== See also == | == See also == | ||
+ | [[OIM Problems and Solutions]] | ||
+ | |||
https://www.oma.org.ar/enunciados/ibe7.htm | https://www.oma.org.ar/enunciados/ibe7.htm |
Latest revision as of 08:43, 23 December 2023
Problem
For each positive integer , let be the last digit of the number. . Calculate .
~translated into English by Tomas Diaz. ~orders@tomasdiaz.com
Solution
Let and be integers with , and
Since , then
Let
Since
then,
Now we calculate through :
Using the table above we calculate: ,
Hence,
Using the table above we calculate:
Therefore,
Hence,
- Note. I actually competed at this event in Venezuela when I was in High School representing Puerto Rico. Although I did get the correct answer, I was only given 8 out of 10 points because I didn't prove that the pattern repeats every 20 numbers. I simply listed the calculations for the first 23 to 26 's and realized that the pattern repeated. Without proof I proceeded to calculate 20 times 99 plus the summation from through and despite getting the correct numerical answer, I was not awarded the full points for not sufficient proof. At the competition showing that the pattern repeats every 20 by induction was not sufficient proof. Whatever you claim, even if it is obvious, it needs to be proven. I submitted such proof on this page.
~Tomas Diaz. orders@tomasdiaz.com
Alternate solutions are always welcome. If you have a different, elegant solution to this problem, please add it to this page.