Exercise 848Number theory › CongruencesL1Added 3 Nov 2026
Halving in modular arithmetic
#halving#modular arithmetic#odd modulus
Statement
In with odd, show that the congruence has a unique solution for every .
Hint
is invertible mod iff is odd.
Show solutionHide solution
Solution
Inverse of 2. odd means , so is invertible mod . The inverse is (since ).
Solution. .
Conclusion. Halving is well defined mod when is odd; it is not when is even.