• Foundation
  • About 15 min
  • 5 practice questions

Remainders and consecutive numbers in algebra

Describe all numbers that leave a given remainder with an algebraic expression, write consecutive numbers in terms of one letter, and find remainders of sums and differences without dividing.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Write an expression such as 5k + 3 for all numbers that leave a given remainder.
  • Express consecutive numbers with one letter-number and solve problems about their sums.
  • Find the remainder of a sum or difference from the remainders of its parts, and solve remainder puzzles.

Which numbers leave a remainder of 3 when divided by 5? 3, 8, 13, 18, 23, ... Each is 3 more than a multiple of 5. Algebra lets us describe the whole infinite list with one short expression.

Expressions for remainders

Multiples of 5 are 5k (k = 0, 1, 2, ...). Numbers 3 more than these are 5k + 3. The same list can be described as 2 less than a multiple of 5: 5k − 2 with k = 1, 2, 3, ... In general, numbers that leave remainder r on division by d are dk + r (with 0 ≤ r < d).

Numbers with a given remainder
k01234
5k + 338131823
7k + 229162330

Consecutive numbers with one letter

If the smallest of four consecutive numbers is n, they are n, n + 1, n + 2, n + 3, with sum 4n + 6. If the middle of five consecutive numbers is m, they are m − 2, m − 1, m, m + 1, m + 2, with sum 5m. Consecutive even numbers go up in steps of 2: x, x + 2, x + 4, ...

Worked example 1: finding the numbers

  • Four consecutive numbers add up to 50. Then 4n + 6 = 50, so 4n = 44 and n = 11. The numbers are 11, 12, 13, 14. Check: 11 + 12 + 13 + 14 = 50.
  • Three consecutive numbers add up to 57. With middle m the sum is 3m = 57, so m = 19 and the numbers are 18, 19, 20.

Remainders of sums and differences

Suppose A leaves remainder 4 when divided by 7 and B leaves remainder 5. Write A = 7p + 4 and B = 7q + 5. Then A + B = 7(p + q) + 9 = 7(p + q + 1) + 2, so A + B leaves remainder 2 (the remainders 4 + 5 = 9, and 9 leaves 2). Also A − B = 7(p − q) − 1 = 7(p − q − 1) + 6, so A − B leaves remainder 6 (4 − 5 = −1, which is one short of a multiple of 7).

Numbers leaving remainder r on division by d are dk + r. The remainder of a sum (or difference) equals the sum (or difference) of the remainders, adjusted by adding or subtracting d.

Worked example 2: checking with real numbers

100 = 7 × 14 + 2 leaves remainder 2, and 75 = 7 × 10 + 5 leaves remainder 5. Predict: 100 + 75 leaves 2 + 5 = 7, which is a multiple of 7, so remainder 0; indeed 175 = 7 × 25. And 100 − 75 leaves 2 − 5 = −3, which is the same as remainder −3 + 7 = 4; indeed 25 = 7 × 3 + 4.

Finding a remainder without dividing

  1. Write each number as dk + r Note each remainder.
  2. Add or subtract the remainders Do the same operation as in the question.
  3. Adjust into range Subtract d if the result is d or more; add d if it is negative.
  4. Read the remainder It is between 0 and d − 1.

Remainder puzzles

Worked example 3: a basket of mangoes

A basket has fewer than 50 mangoes. Counted in 2s, 3s or 4s, one mango is always left over, but counted in 5s none is left. How many? "One left over for 2, 3 and 4" means the number is 1 more than a common multiple of 2, 3 and 4, that is 1 more than a multiple of LCM = 12: 1, 13, 25, 37, 49. The only one that is a multiple of 5 is 25. Check: 25 = 2 × 12 + 1 = 3 × 8 + 1 = 4 × 6 + 1 = 5 × 5.

A neat trick: a number leaving remainder 1 when divided by 2, 2 when divided by 3 and 3 when divided by 4 is always 1 short of a multiple of 2, 3 and 4. So it is one less than a multiple of 12, and the smallest such number is 11.

Key takeaways: all numbers with remainder r on division by d are described by dk + r. Write consecutive numbers with one letter (n, n + 1, ... or around a middle m) to solve sum problems. Remainders add and subtract like the numbers, then get adjusted into the range 0 to d − 1. Puzzles with remainders often reduce to an LCM.

Check your understanding

  1. 1. Which expression describes all numbers that leave remainder 4 when divided by 6 (k = 0, 1, 2, ...)?

    1. 4k + 6
    2. 6k + 4
    3. 6k + 2
    4. 10k
    Show answer

    Answer: B. Such numbers are 4 more than a multiple of 6: 4, 10, 16, 22, ..., which is 6k + 4. 4k + 6 gives 6, 10, 14, ... and 14 leaves remainder 2, so it is wrong.

  2. 2. The sum of four consecutive numbers is 50. What is the smallest of them?

    1. 11
    2. 12
    3. 12.5
    4. 10
    Show answer

    Answer: A. Let them be n, n + 1, n + 2, n + 3. Their sum is 4n + 6 = 50, so 4n = 44 and n = 11. Check: 11 + 12 + 13 + 14 = 50.

  3. 3. A leaves remainder 4 when divided by 7, and B leaves remainder 5. What remainder does A + B leave when divided by 7?

    1. 9
    2. 1
    3. 2
    4. 6
    Show answer

    Answer: C. A = 7p + 4 and B = 7q + 5, so A + B = 7(p + q) + 9 = 7(p + q + 1) + 2. The remainder is 2. (9 cannot be a remainder on division by 7.)

  4. 4. A leaves remainder 4 when divided by 7, and B leaves remainder 5. What remainder does A − B leave (assume A is larger than B)?

    1. 1
    2. 2
    3. 3
    4. 6
    Show answer

    Answer: D. A − B = 7(p − q) + 4 − 5 = 7(p − q) − 1. Being 1 short of a multiple of 7 means remainder 7 − 1 = 6. For example 11 − 5 = 6 and 18 − 12 = 6.

  5. 5. What is the smallest number greater than 1 that leaves remainder 1 when divided by each of 2, 3, 4 and 5?

    1. 31
    2. 61
    3. 121
    4. 21
    Show answer

    Answer: B. The number must be 1 more than a common multiple of 2, 3, 4 and 5. Their LCM is 60, so the smallest such number above 1 is 60 + 1 = 61. Check: 31 leaves 3 on division by 4, and 21 leaves 0 on division by 3.

Privacy · Terms · Refunds · Delivery