All concepts

9. Number properties

Primes, divisibility, remainders, units-digit cycles. Remainders cycle with a period.

Units digit of powers of 77931cycle = 47^n repeats every 4: use the remainder of n / 4

Core ideas

- A prime has exactly two factors; 2 is the only even prime, and 1 is not prime.
- Remainders behave under arithmetic: if n leaves remainder r when divided by d, then kn leaves the same remainder as kr, and n + m leaves the same remainder as r + (m's remainder).
- Units digits cycle with short periods (7 cycles 7, 9, 3, 1 with period 4); reduce the exponent mod the cycle length, and remainder 0 means the LAST digit in the cycle.
- Divisibility questions are prime-factorization questions: n is divisible by k when n's prime factorization contains k's.

Worked example 1

When positive integer n is divided by 7, the remainder is 5. What is the remainder when 3n + 4 is divided by 7?

Show solution

Work with the remainder directly: 3n behaves like 3 * 5 = 15, and 15 divided by 7 leaves remainder 1. Then 3n + 4 behaves like 1 + 4 = 5. Check with n = 5: 3(5) + 4 = 19 = 2 * 7 + 5. Remainder 5.

Worked example 2

What is the units digit of 7^43?

Show solution

Powers of 7 have units digits cycling 7, 9, 3, 1 with period 4. Divide the exponent by 4: 43 = 4 * 10 + 3, remainder 3. Remainder 3 means the third digit in the cycle, which is 3. So the units digit of 7^43 is 3.

Practice set

Question 1

What is the units digit of 7^25?






Question 2

What is the remainder when 3^100 is divided by 5?






Question 3

How many multiples of 3 are there from 100 to 300 inclusive?






Question 4

If n is a positive integer and n^2 is divisible by 72, what is the largest positive integer that must divide n?