All MicroEvals
If $n \equiv 2 \pmod{7}$, then find the remainder when $(n +...
Create MicroEval
Header image for If $n \equiv 2 \pmod{7}$, then find the remainder when $(n +...

If $n \equiv 2 \pmod{7}$, then find the remainder when $(n +...

Prompt

If $n \equiv 2 \pmod{7}$, then find the remainder when $(n + 2)(n + 4)(n + 6)$ is divided by 7.

Answer guidance

Correct answer: 3 Solution: If $n \equiv 2 \pmod{7}$, then $(n + 2)(n + 4)(n + 6) \equiv 4 \cdot 6 \cdot 8 \equiv 4 \cdot 6 \cdot 1 \equiv 24 \equiv \boxed{3} \pmod{7}$.