15 wks to JAMB

L.O.E.P · MathematicsNo. 35

Explainer · Number bases · about 18 min

Counting in any base: place value, converting to and from base ten and between bases, finding an unknown base, adding, subtracting and multiplying in a base, and modular (clock) arithmetic.

Watch the lecture

Ash and Kay teach this lesson, start to finish.

⬇ Save for offline

Keeps it on this phone, so it plays with no signal and no data, at this same address.

In short

The key words in this lesson, in plain English:

Number base:
How many different digits a counting system uses, and so how much each place is worth. In base b the digits are 0 to b − 1 and the place values from the right are 1, b, b², …. Base ten is everyday counting; base two (binary) uses only 0 and 1.
Place value:
What a digit is worth because of where it sits. In 234₅ the 2 is worth 2 × 25 = 50, the 3 is worth 3 × 5 = 15 and the 4 is worth 4.
Modular arithmetic:
Arithmetic that keeps only the remainder on dividing by a fixed number m, the modulus: 17 ≡ 2 (mod 5) because 17 = 3 × 5 + 2. Like a clock with m hours, the answers run from 0 to m − 1.

Free this month: 1 of 1 lessons. A free account gives you 3 a month.

We count in tens because we have ten fingers. Nothing else about numbers needs ten: a computer counts in twos, a clock face goes round in twelves, and the week in sevens. Learn how place value works in any base and every one of these becomes the same idea.

Kay:So 10 only means ten because we agreed to count in tens?
1

Play · read the places

Place value in any base

Press Next

Right0 / 5

Each place is b times the one to its right

Where you see it: every photo on a phone is stored as a MathematicsNumber baseHow many different digits a counting system uses, and so how much each place is worth. In base b the digits are 0 to b − 1 and the place values from the right are 1, b, b², …. Base ten is everyday counting; base two (binary) uses only 0 and 1.Science dictionary ▶, a long string of 0s and 1s in base two. In a number base b, the MathematicsPlace valueWhat a digit is worth because of where it sits. In 234₅ the 2 is worth 2 × 25 = 50, the 3 is worth 3 × 5 = 15 and the 4 is worth 4.Science dictionary ▶ from the right are 1, b, b × b and so on, and the digits run from 0 to b − 1. To change to base ten, multiply each digit by its place value and add:2253541234₅ = 50 + 15 + 4Each place is b times the one to its right0123410five is written 10₅Base b uses the digits 0 to b − 1180412111011₂ = 8 + 2 + 1 = 11Base two: 8, 4, 2, 1234₅: place values 25, 5, 11, b, b²2 × 25 + 3 × 5 + 4 × 1each digit × its place value= 50 + 15 + 4 = 691011₂ = 8 + 0 + 2 + 1 = 11base two: 8, 4, 2, 1101.1₂ = 5 + ½ = 5.5after the point: ½, ¼, ⅛

Try one · to base ten

Work it on paper first, then press Next step to check yourself a line at a time.

    Line0 / 0Worked0
    2

    Play · build the number

    Counters on the rods

    Add counters to the rods until they show the number

    Numeral0Base ten0Goals0 / 3

    Fill the biggest place first

    Where you see it: a market trader counting cowries in bundles of five, and bundles of five bundles, is counting in base five. A rod holds at most b − 1 counters; b of them make 1 on the next rod. To show a number, see how many of the biggest place fit, then move right with what is left:23 in base 4: places 16, 4, 1one 16 fits; 23 − 16 = 7 leftone 4 fits; 7 − 4 = 3 leftthree 1s: 23 = 113₄1 × 16 + 1 × 4 + 3 × 1
    3

    Play · divide and read up

    From base ten, and between bases

    Press Next

    Right0 / 5

    Divide, keep the remainders, read up

    Where you see it: a web designer writes a colour as #FF8800, three numbers in base sixteen, converted from the MathematicsNumber baseHow many different digits a counting system uses, and so how much each place is worth. In base b the digits are 0 to b − 1 and the place values from the right are 1, b, b², …. Base ten is everyday counting; base two (binary) uses only 0 and 1.Science dictionary ▶ amounts of red, green and blue. Repeated division does the fill-the-biggest-place-first work for you. To go between two bases that aren't ten, pass through base ten:5 | 43r 35 | 8r 35 | 1r 143 ÷ 5, then 8 ÷ 5 …Divide by the base, keep each remainderr 3r 3r 1133₅Read the remainders from the bottom up43 ÷ 5 = 8 r 3keep dividing the answer8 ÷ 5 = 1 r 31 ÷ 5 = 0 r 1stop at 0read up: 43 = 133₅the last remainder is the first digit32 in base b is 17: 3b + 2 = 17, b = 5an unknown base: make an equation

    Try one · from base ten

    Work it on paper first, then press Next step to check yourself a line at a time.

      Line0 / 0Worked0
      4

      Play · work in the base

      Adding, subtracting and multiplying

      Press Next

      Right0 / 5

      Carry and borrow the base, not 10

      Where you see it: adding times is base sixty: 40 minutes + 35 minutes = 75 minutes = 1 hour 15 minutes, a carry of 1 for every 60. Line up the columns as usual. When a column reaches b, carry 1; when you borrow, the borrowed 1 is worth b:3 4+ 2 31 1 24 + 3 = 7 = 5 + 2Adding: carry 1 for every b4 2− 1 42 3base 5: 2 + 5 − 4 = 3Subtracting: a borrowed 1 is worth b34₅ + 23₅: units 4 + 3 = 7 = 1 × 5 + 2write 2, carry 13 + 2 + 1 = 6 = 1 × 5 + 1write 1, carry 134₅ + 23₅ = 112₅42₅ − 14₅: units 2 + 5 − 4 = 3borrow 5then 3 − 1 = 2: 23₅

      Try one · adding in a base

      Work it on paper first, then press Next step to check yourself a line at a time.

        Line0 / 0Worked0
        5

        Play · round the clock

        Modular arithmetic

        Press Next

        Right0 / 5

        Keep only the remainder

        Where you see it: if your exam is 30 days after a Tuesday, you don't need a calendar: 30 days is 4 weeks and 2 days, so it falls on a Thursday. MathematicsModular arithmeticArithmetic that keeps only the remainder on dividing by a fixed number m, the modulus: 17 ≡ 2 (mod 5) because 17 = 3 × 5 + 2. Like a clock with m hours, the answers run from 0 to m − 1.Science dictionary ▶, or clock arithmetic, keeps only the remainder on dividing by the modulus m:01234mod 5Mod m: a clock with m hours, 0 to m − 117 = 3 × 5 + 217 ≡ 2 (mod 5)a (mod m) is the remainder on dividing by m17 (mod 5): 17 = 3 × 5 + 217 ≡ 26 + 5 (mod 7) = 11 (mod 7) = 4work it out, then divide4 × 5 (mod 6) = 20 (mod 6) = 23x ≡ 4 (mod 5): try x = 0 to 43 × 3 = 9 ≡ 4, so x = 3days: N (mod 7) steps on from todaywhole weeks change nothing

        Try one · modular arithmetic

        Work it on paper first, then press Next step to check yourself a line at a time.

          Line0 / 0Worked0
          6

          Play · quick rounds

          Bases: quick rounds

          Press Next

          Right0 / 5

          The slips the wrong options are made of

          Where you see it: a cashier counting naira notes in bundles of 100 checks each bundle before banking it; check each column of a base sum the same way. Watch for:remaindersread from the bottom up, not the top downadding in base bcarry at b, not at 10any answer in base bevery digit must be less than ba (mod m)an answer from 0 to m − 1

          Try one · any kind

          Work it on paper first, then press Next step to check yourself a line at a time.

            Line0 / 0Worked0
            7

            Exam corner

            How the exam asks it

            Three questions the exam loves, one line at a time. Press Next step and say the next line before it appears.

            Convert 312₄ to base 6.

            1. 312₄ = 3 × 16 + 1 × 4 + 2 = 54first into base ten
            2. 54 ÷ 6 = 9 r 0; 9 ÷ 6 = 1 r 3; 1 ÷ 6 = 0 r 1then divide by 6
            3. read up: 130₆
            Line1 / 3

            Work out 1011₂ + 111₂, giving the answer in base two.

            1. units: 1 + 1 = 2 = 1 × 2 + 0write 0, carry 1
            2. twos: 1 + 1 + 1 = 3 = 1 × 2 + 1write 1, carry 1
            3. fours: 0 + 1 + 1 = 2: write 0, carry 1; eights: 1 + 1 = 2: write 0, carry 1
            4. 10010₂check: 11 + 7 = 18 = 16 + 2
            Line1 / 4

            In some base b, 25 + 34 = 103. Find b.

            1. (2b + 5) + (3b + 4) = b² + 3each numeral in base ten
            2. b² − 5b − 6 = 0, so (b − 6)(b + 1) = 0
            3. b = 6a base can't be negative
            Line1 / 3

            Now try the real ones

            Real JAMB, WAEC and NECO past questions on this lesson (the JAMB and WAEC ones in LOEP's words). Answer them one at a time: each is marked, with the worked answer.

            Start the 10 real questions ▶
            1. JAMB 2023Divide 110110₂ by 110₂, giving the answer in base two.
            2. WAEC 2018Find the least positive whole number x for which 4x ≡ 3 (mod 7).
            3. JAMB 2023The number 302 in base y equals 50 in base ten. Find y.
            4. WAEC 2016If 29 (mod 8) is equivalent to y (mod 7), where 0 ≤ y < 7, find y.
            5. JAMB 2022Work out (11₂)³, giving your answer in base two.
            6. WAEC 2014In which modulus does 8 + 7 = 4?
            7. JAMB 2022Convert 11011.101₂ to a base ten number.
            8. WAEC 2017In a certain number base, the sum nnn + 1 = 1000 is correct, where n is a single non-zero digit. In which base is the sum worked?
            9. JAMB 2018Work out 37₈ + 56₈, giving the answer in base eight.
            10. JAMB 2018Given that y = 32₄ + 112₃, write y in base two.
            8

            The League's test

            Pass the League's test

            Six exam-style questions from the League. Get all six right to earn your stamp. Three wrong and you resit.

            The League's badge

            League test · Number bases

            You: ♥♥♥

            Press Start when you're ready.

            Remember it

            Tap a card to flip it. Say the answer before you flip.

            Ash:In any base question, write the place values above the digits first. Every conversion, every carry and every unknown base comes from that one row.
            Number bases: Mathematics explained, with games · L.O.E.P