Math / Number Theory
Apply modular arithmetic, GCD, prime factorisation, or number-theoretic properties to derive efficient solutions directly.
Apply modular arithmetic, GCD, prime factorisation, or number-theoretic properties to derive efficient solutions directly.