Definition
Number theory is the study of systems and properties of numbers, particularly
A-Level Further Pure 2
Divisibility
Given two integers
Divisibility rules
Division Algorithm
The division algorithm is a more rigorous way of defining division in the integers and is as follows:
Given that
- Begin with values
and - Set
equal to the greatest integer that is - Set
( is called the dividend, the divisor, the quotient, and the remainder)
Greatest Common Divisor and Bézout’s Identity
The greatest common divisor of
You can find
- Apply the division algorithm to
, to get . If , then and - If
, then repeat the algorithm with and to get . If , then - If
, then keep repeating the algorithm until you get where , then
Bezout’s Identity
The identity states that given
You can figure out
Coprime
Two integers
Modular Arithmetic
Modular arithmetic is a system of arithmetic restricted to the remainders.
Congruence
Definition
Properties
Let
Number Bases
You can represent a number with digits
Divisibility Tests
In base 10 a number is divisible by
- 3
sum of digits is divisible by 3 - 4
last 2 digits are divisible by 4 - 9
sum of digits is divisible by 9 - 11
alternating sum of digits (starts with )
Solving Congruence Equations
Equations with modular arithmetic are given in terms called congruence equations and their answers are usually given in terms of least residues.
The set of least residues
Since a solution
Congruence Equation Properties
Let
the equation has no solutions the equation has solutions in the set of least residues
Multiplicative Inverses
A multiplicative inverse of
Fermat’s Little Theorem
Congruence equations with prime modulo can be solved with Fermat’s Little Theorem
Combinatorics
If a set
The number of permutations of
The number of possible combinations of