divisibility
if α|β and α|ε, then α|(mβ + nε)
4n2+4n is divisible by 8 for all n
smallest positive linear combination of α and β = gcd(α, β)
every linear combination of α and β is a multiple of gcd(α, β), and vice versa
gcd(α, β) = gcd(β, α mod β); why the euclidean algorithm works
if α1|b, α2|b and gcd(α1, α2) = 1 ⇒ α1α2|b
if ε|αβ and gcd(ε, α) = 1, then ε|β
prime numbers
if ρ is prime and ρ|αβ, then ρ|α or ρ|β
if n is composite then there is a prime divisor ≤ √n
there are infinite number of primes
all primes are of the form 4k+1 or 4k+3
there are infinite primes of the form 4k+3
there are infinite primes of the form 3k+2
no prime can be expressed as a4 - b4
for any positive integer n, there are at least n consecutive composite integers
if 2p - 1 is prime, then p is prime
if n > 1 and an - 1 is prime, then a=2
if an + 1 is an odd prime, then a is even and n is a power of 2
if n2+1 is prime, then n2 = 4k
lower bound for Legendre's formula
a powerful number is a product of a square number and a cube number
any integer greater than 6 can be represented as a sum of two relatively prime integers
more gcd
if gcd(α, ε) = 1 and gcd(β, ε) = 1, then gcd(αβ, ε) = 1
if gcd(α, β) = 1, then gcd(αβ, ε) = gcd(α, ε) * gcd(β, ε)
δ = gcd(α, β) ⇒ gcd(α/δ, β/δ) = 1
gcd(α1, α2, α3, ..., αn) ⇒ gcd(gcd(α1, α2), α3, ..., αn)
if gcd(x, y) divides (x + y), then there are infinite values of x and y
if gcd(α, β) = 1, then gcd(α+β, α-β) is either 1 or 2
if gcd(α, β) = δ and gcd(α, ε) = δ, then gcd(α, β, ε) = δ
lcm
modular arithmetic
(α ≡ β mod M and ε ≡ δ mod M) ⇒ α + ε ≡ β + δ mod Μ
(α ≡ β mod M and ε ≡ δ mod M) ⇒ αε ≡ βδ mod Μ
(εα ≡ εβ mod M) ⟺ (α ≡ β mod Μ/(ε, M))
ax ≡ b mod m has a solution if and only if gcd(a, m)|b
existence and uniqueness of modular inverse if gcd(a, m) = 1
x2 ≡ 1 mod p ⇒ x ≡ +1 or -1 mod p
x2 ≡ -1 mod p is solvable if and only if p = 2 or p ≡ 1 mod 4
factorials, permutations and combinations
using combinations to find a number in the Pascal's triangle
number of ways of arranging n objects with k identical objects
sequence and series
finding a term in an arithmetic sequence
finding a term in a geometric sequence
the sum of an arithmetic series
the sum of a geometric series with finite terms
the sum to infinity of a geometric series
sum of the first n positive integers
sum of the squares of the first n positive integers