True or false?
$$24 \equiv 77 \mod 16 $$
$1.$ $77/16 = 4.8125 $
$2.$ $4.8125 - 4 = .8125$
$3.$ $0.8125 \times 16 = 13$
$4.$ $24 != 13$
So the answer is false? Am I right?
True or false?
$$24 \equiv 77 \mod 16 $$
$1.$ $77/16 = 4.8125 $
$2.$ $4.8125 - 4 = .8125$
$3.$ $0.8125 \times 16 = 13$
$4.$ $24 != 13$
So the answer is false? Am I right?
A simpler approach: $a\equiv b\pmod{n}$ if and only if $n$ divides $(b-a)$.
In this problem, $77-24=53$, which is not a multiple of $16$ ($53/16=3.3125$), so $77\not \equiv 24\pmod{16}$.
Yes, you are right. Although we tend to avoid using decimals and fractions with modular arithmetic, and thus you just have to keep your integers as integers. This would've been a cleaner way of writing what you just did (the math is basically the same): $$ 77 = 64 + 13 = 4\cdot 16 + 13 \equiv 13 \not\equiv24 \mod{16} $$
Please, stop using fractions when evaluation of modulus...
$$24 \equiv 8 \mod 16$$
$$77 \equiv 13 \mod 16$$
thus your equation is not valid.
Hint: $\ \rm mod\,\ 2n\!:\ 24\equiv 77\,\Rightarrow\, mod\,\ 2\!:\ 24\equiv 77\,\Rightarrow\, 0\equiv 1$