Professional Documents
Culture Documents
1
Divisibility and Modular Arithmetic
Division of an int by a pos int -> quotient and remainder
-working with these remainders = modular arithmetic
Division
Definition 1:
Primes
Every Int > 1 is divisible by at least two ints. Positive ints that have exactly two different positive
Primality Testing
Sieve of Eratosthenes