NumberTheoryBasic MOD Intermediate

Problem - 2617
For every integer $n$, let $m$ denote the integer made up of the last four digit of $n^{2015}$. Consider all positive integer $n < 10000$, let $A$ be the number of cases when $n > m$, and $B$ be the number of cases when $n < m$. Compute $A-B$.

The solution for this problem is available for $0.99. You can also purchase a pass for all available solutions for $99.

report an error