How to evaluate the least positive residue using brute force, Fermat’s Little Theorem and Chinese Remainder Theorem.

# Discrete Mathematics

Counting, modular arithmetic, number theory and other discrete things.

Counting, modular arithmetic, number theory and other discrete things.