Problems on Numbers: formulas & methods

Keep the method clear, then put it into practice.

Translate verbal conditions into equations, then check that the solutions satisfy integer and digit restrictions.

x
Unknown numbers; use integers when the question requires them.
y
Unknown numbers; use integers when the question requires them.
a
Tens digit.
b
units digit of a two-digit number.

Consecutive integers

n, n + 1, n + 2, …

Consecutive even or odd integers differ by 2.

Sum and difference

Larger = (S + D)/2; smaller = (S − D)/2

For integer answers, S and D must have the same parity.

Two-digit number

N = 10a + b

1 ≤ a ≤ 9 and 0 ≤ b ≤ 9.

Reverse the digits

Reverse = 10b + a; N − reverse = 9(a − b)

If the reverse must be two-digit, require b ≥ 1.

Sum and product

If x + y = S and xy = P: z² − Sz + P = 0

The roots are x and y; check allowed values.

Remainder condition

N = kq + r

q is an integer; combine conditions and test their allowed range.

Explanations and worked examples

Open a method when you need more detail.

Full notation guide
x
Unknown numbers; use integers when the question requires them.
y
Unknown numbers; use integers when the question requires them.
a
Tens digit.
b
units digit of a two-digit number.
n
An integer starting value or count, as specified.
S
Sum.
D
nonnegative difference of two numbers.
k
Positive divisor.
r
remainder with 0 ≤ r < k.
1. Model consecutive numbers with one unknown

Use spacing 1 for consecutive integers and spacing 2 for consecutive odd or even integers. The starting value must have the required parity.

Three consecutive integers: n, n + 1, n + 2
Three consecutive odd integers: n, n + 2, n + 4 with n odd
Worked example

Three consecutive odd integers have sum 75. Find them.

  1. n + (n + 2) + (n + 4) = 75.
  2. 3n + 6 = 75, so n = 23.

23, 25 and 27.

Remember

  • Solving the linear equation is not enough: verify parity and any positivity requirement.
2. Recover two numbers from their sum and difference

Add and subtract x+y=S and x−y=D. Dividing by 2 yields the two numbers.

x = (S + D)/2
y = (S − D)/2
Worked example

Two positive integers have sum 74 and difference 18. Find them.

  1. Larger = (74 + 18)/2 = 46.
  2. Smaller = (74 − 18)/2 = 28.

46 and 28.

Remember

  • If integer solutions are required, odd/even mismatch between S and D makes the data inconsistent.
3. Use place value for digit problems

The digits are not the whole number. Write 10a+b for a two-digit number and 100a+10b+c for a three-digit number. Reversal changes the place values, not the digits themselves.

N = 10a + b
N − reversed N = 9(a − b)
Worked example

A two-digit number has digit sum 11 and exceeds its reverse by 27. Find it.

  1. a + b = 11 and 9(a − b) = 27, so a − b = 3.
  2. Thus a = 7 and b = 4.
  3. The number is 74; its reverse is 47.

74.

Remember

  • Every digit must be an integer from 0 to 9, and a leading digit cannot be zero.
4. Translate operations in their stated order

Build an equation one operation at a time. Parentheses distinguish “three times the sum of a number and 4” from “4 more than three times a number”.

Three times (x + 4) = 3(x + 4)
Four more than three times x = 3x + 4
Worked example

Three times the sum of a number and 4 is 54. Find the number.

  1. 3(x + 4) = 54.
  2. x + 4 = 18, so x = 14.

14.

Remember

  • Do not distribute a multiplier to only one term inside parentheses.
5. Use sum and product to form a quadratic

Expanding (z−x)(z−y) produces z²−(x+y)z+xy. Substitute the known sum and product and factor or solve the quadratic.

z² − Sz + P = 0
Worked example

Two numbers have sum 17 and product 60. Find them.

  1. z² − 17z + 60 = 0.
  2. Factor: (z − 5)(z − 12) = 0.

5 and 12.

Remember

  • The discriminant S²−4P must be nonnegative for real solutions; integer restrictions need a further check.
6. Combine remainder conditions systematically

Express one condition as N=kq+r, substitute into the next, and solve for integer q. A least-positive requirement selects one member of a repeating family.

N ≡ r (mod k) means k divides N − r
Worked example

Find the least positive integer that leaves remainder 2 when divided by 5 and remainder 1 when divided by 3.

  1. Write N = 5q + 2.
  2. Modulo 3, 2q + 2 leaves remainder 1, so q leaves remainder 1.
  3. The smallest nonnegative such q is 1; N = 7.

7.

Remember

  • A remainder must be smaller than its positive divisor. Combined conditions need not always be consistent.
Practise problems on numbers questions