The question asked:
Find the remainder when $19^{273}$ is divided by $12$.
My textbook shows an alternative method to complete this question, using modular arithmetic.
If we let n be any number, such that:
$ 19^{273}$ ≡ $ n^{273}$ (mod 12)
$ 19^3 $ ≡ $n^3$ (mod 12)
$ 6859$ ≡ $7$ (mod 12)
Remainder is $7$
Another example:
$ 3^{2001} $ ≡ $ n^{2001} $ (mod 7)
$($3^3 $)^{667}$ ≡ $($n^3 $)^{667}$ (mod 7)
$ 3^3 $ ≡ 6(mod7) Therefore remainder is 6
Why does this method work ? What is the purpose of n ?
The method I was familiar with was this:
19 ≡ 7 (mod 12)
$ 19^2$ ≡ 1(mod 12)
$ 361^{136} $ ≡ $1^{136}$ ≡ 1(mod 12)
Therefore 1 x 7 ≡ 7 (mod 12) Hence remainder is 7
$($3^3 $)^{667}$ ≡ $($n^3 $)^{667}$ (mod 7)
$ 3^3 $ ≡ 6(mod7) Therefore remainder is 6
– Permutron May 25 '21 at 12:40