Difference between revisions of "1992 OIM Problems/Problem 1"
Line 28: | Line 28: | ||
then, <math>S_{20k+p}=k\sum_{i=1}^{20}a_i+\sum_{i=1}^{p}a_i</math> | then, <math>S_{20k+p}=k\sum_{i=1}^{20}a_i+\sum_{i=1}^{p}a_i</math> | ||
− | + | <math>\begin{cases} | |
a_1=\frac{(1)(2)}{2}\text{ mod }10=1\text{ mod }10=1\\ | a_1=\frac{(1)(2)}{2}\text{ mod }10=1\text{ mod }10=1\\ | ||
a_2=\frac{(2)(3)}{2}\text{ mod }10=3\text{ mod }10=3\\ | a_2=\frac{(2)(3)}{2}\text{ mod }10=3\text{ mod }10=3\\ | ||
Line 49: | Line 49: | ||
a_19=\frac{(19)(20)}{2}\text{ mod }10=190\text{ mod }10=0\\ | a_19=\frac{(19)(20)}{2}\text{ mod }10=190\text{ mod }10=0\\ | ||
a_20=\frac{(20)(21)}{2}\text{ mod }10=210\text{ mod }10=0 | a_20=\frac{(20)(21)}{2}\text{ mod }10=210\text{ mod }10=0 | ||
− | \end{cases} | + | \end{cases}</math> |
Revision as of 23:39, 13 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,
Alternate solutions are always welcome. If you have a different, elegant solution to this problem, please add it to this page.