Properties of Integers: Practice Problems and Methods
Integer problems start with prime factorization. Learn the ideas specific to integers: the Euclidean algorithm, Diophantine equations and classification by remainders.
Basic, Standard: Grade 10 · Term 3 / Advanced: Grade 12 · Exam prep
Math problem generator
Prime factorization, divisors and multiples
If , it has positive divisors, with sum .
Example: has divisors with sum . The GCD uses the common primes with the smaller exponents; the LCM uses all primes with the larger exponents. For two numbers, .
The Euclidean algorithm and linear Diophantine equations
If , then . Repeating this until the remainder is 0 is the Euclidean algorithm.
For with , coprime, find one solution and subtract to get . Since and are coprime, is a multiple of :
Remainders and base-n numbers
Every integer has the form , or . This classification proves facts such as " leaves remainder 0 or 1 when divided by 3". Congruences make calculations like the remainder of divided by 7 easy.
. To convert from base 10 to base , divide by repeatedly and read the remainders from bottom to top.
Worked examples
Find the smallest natural number for which is a natural number.
Hint
The number under the root must be a perfect square: factor it and make every exponent even.
Answer
Solution
The prime factorization is
Multiply by each prime with an odd exponent once:
Find the units digit of .
Hint
The units digits of powers repeat periodically.
Answer
Solution
The units digits of are
They repeat with period 2. Since , take the term in position 1:
Consider the natural-number solutions of .
- (1)How many pairs are there?
- (2)Find the pair with the largest .
Hint
Rewrite as and consider factor pairs.
Answer
- (1)
- (2)
Solution
Rearranging,
Since and , only positive factor pairs of 4 work.
Practice problems
Find the greatest common divisor and the least common multiple of and .
- (1)GCD
- (2)LCM
Hint
Factor both numbers. The GCD uses the common primes with the smaller exponents; the LCM uses all primes with the larger exponents.
Answer
- (1)
- (2)
Solution
Factoring,
Hence
Find the units digit of .
Hint
The units digits of powers repeat periodically.
Answer
Solution
The units digits of are
They repeat with period 4. Since , take the term in position 4:
Prove that leaves remainder 0 or 1 when divided by 3, for every integer .
Hint
Split into cases by the remainder of mod 3.
Answer
Let be an integer. [1] If , then , remainder 0. [2] If , then , remainder 1. [3] If , then , remainder 1. So the remainder is 0 or 1.
Solution
Let be an integer. [1] If , then , remainder 0. [2] If , then , remainder 1. [3] If , then , remainder 1. So the remainder is 0 or 1.