Sieve of Eratosthenes prime numbers perfect number modulo modulo arithmetic Fermat’s Little Theorem cryptography Collatz conjecture