Let $a$ be an integer such that $a \equiv 5 \pmod{7}$. Find the value of $a + 1 \pmod{7}$. Express your answer as a residue between $0$ and the modulus.
The answer is a≡5(mod7), and we have
a+1≡5+1(mod7)
So 6 is our answer.