Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Competitions › IOQM › unit 10 of 14

Digits and number bases

IOQM · All sections · about 6 minutes

Digit sums, counting digits, last digits and numbers in other bases.

Write the number with place values: abc = 100a + 10b + c.

In this lesson

  1. Place value algebra
  2. Other bases
  3. Worked examples
  4. Where marks are lost
  5. Check yourself

1Place value algebra

Write a 3-digit number as 100a + 10b + c. Reversing gives 100c + 10b + a; the difference is 99(a − c), always a multiple of 99.

2Other bases

(234)₅ = 2 × 25 + 3 × 5 + 4 = 69. To convert to base b, divide by b repeatedly and read the remainders upwards.

Worked examples

  1. Example 1Sum of the digits of 10¹⁰ − 1?

    1. It is ten 9s.

    Answer: 90

Where marks are lost

  • Off-by-one when counting pages.
  • Reading base-b remainders top to bottom.

Exam tips

  • A number ≡ its digit sum (mod 9).
  • Digits used to number pages 1–n: 9 + 2 × 90 + 3 × (n − 99) for 100 ≤ n ≤ 999.
  • In base b, the places are 1, b, b², …

Practice questions

  1. How many digits are used to number pages 1 to 150?

  2. (1011)₂ + (12)₃ = ? in base 10

  3. A 2-digit number is 4 times its digit sum. How many such numbers?

More worked examples

Try each one first, then open the working.

  1. Digital root of 9,69,959: add the digits, and keep adding until one digit is left.

    Show the working

    Start: Add the digits, then add again.

    47 → … → 2. It equals the remainder when divided by 9 (9 if the remainder is 0).

    Answer: 2

  2. Which number is divisible by 9?

    1. A5,917
    2. B2,690
    3. C7,526
    4. D37,953
    Show the working

    Start: A number divides by 9 when its digits add up to a multiple of 9.

    37,953 works because its digits add up to a multiple of 9.

    Answer: 37,953

  3. In 9,64,203, what is the digit in the thousands place?

    Show the working

    Start: Divide by the place value and look at the last digit.

    Count places from the right: ones, tens, hundreds…

    Answer: 4

  4. The digits of a two-digit number add up to 7. When the digits are reversed, the number increases by 45. Find the number.

    Show the working

    Start: Write the number as 10a + b.

    10b + a − (10a + b) = 9(b − a) = 45, so b − a = 5; with a + b = 7: a = 1, b = 6. Number 16.

    Answer: 16

Practise more

New questions every time, at exam level

Digital root of 5,712: add the digits, and keep adding until one digit is left.

Learn it properly

Full chapters with animations, each with an “Explained simply” version.

  • Knowing our numbersClass 6

Sit a timed IOQM mock test

Diophantine equationsNext: Triangles and similarity