Suppose $a\equiv 7 \pmod 9 $, $b\equiv 1\pmod 6$. What is remainder when $a^2+2b$ is divided by 3 ?----- So, since $a=9m+7$, $b=6n+1$, $m,n\in \mathbb{Z}$, $a^2+2b=(9m+7)^2+2(6n+1)$,=$81m^2+12n+177$=$3(27m^2+4n+59)$....I am not sure what I am getting here.. Can I say the remainder is $0$?
2026-04-01 15:51:58.1775058718
On
Congruence-What is remainder when $a^2+2b$ is divided 3?
81 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
There are 2 best solutions below
2
On
Another solution using the properties of modular arithmetic.
$a \equiv 7 \pmod 9 \Rightarrow a^2 \equiv 49 \equiv 4 \pmod 9$
$b \equiv 1 \pmod 6 \Rightarrow 2b \equiv 2 \pmod 6$
So $a^2 = 9n + 4$ and $2b = 6m + 2$, thus $a^2 + 2b = 9n + 6m + 6 = 3(3n + 2m + 2)$ which is definitely divisible by 3.
Yes, the remainder is $0$, since clearly $3 \mid 3(27m^2 + 4n + 59)$, and given $m, n \in \mathbb Z$, the quotient $27m^2 + 4n + 59$ is thereby integer