2

I have been recently using the book introduction to Number Theory from Art of Problem Solving as I am preparing for the upcoming AMC 10 (I'm an 8th grader).

In section 12.3 problem 12.3.3 it says

Determine the residue of each of the following within the given modulus.

It says $71\pmod{3}$ and that the answer is $71 = 23 \cdot 3 +2$, hence $71 \equiv 2 \pmod{3}$.

Can someone explain why it has to be $71 = 23 \cdot 3 +2$? I'm re-reading the passage but I don't get the fundamental concept of a residue.

egreg
  • 238,574
QuantumPi
  • 323

1 Answers1

1

The residue of $a$ in the modulus $n$ is the remainder of the division of $a$ by $b$, hence it must be a number $r$ such that $0\le r<b$.

The “division with remainder” can be written as $a=bq+r$, where $q$ is the quotient and $r$ is the remainder.

In your case, the quotient of the division of $71$ by $3$ is $23$, and $$ 71=3\cdot23+2 $$ Since $m\equiv n\pmod{b}$ means that $m-n$ is divisible by $b$, you surely have $$ 71-2=3\cdot23 $$ and therefore $71\equiv2\pmod{3}$.

It's nothing else than primary school division, written in a slightly different way.

egreg
  • 238,574