🦘 Math Kangaroo Grade All Felix 1-2 Ecolier 3-4 Benjamin 5-6 Kadett 7-8 Junior 9-10 Student 11-12 ⇄ switch contest
Topic

Number Theory

Digits, divisibility, factors and primes.

359 problems 📖 Read the lesson
Practice
Problem 1 · 2025 Math Kangaroo Easy
Number Theory place-value

Lisa can make the number 2025 out of four wooden digits. Which of these is the largest number she can make using those same four digits?

Show answer
Answer: C — 5220
Show hints
Hint 1 of 2
You have the four digits 2, 0, 2, 5 — think about where the biggest digit should go.
Still stuck? Show hint 2 →
Hint 2 of 2
To make the largest number, put the digits in decreasing order from left to right.
Show solution
Approach: order the digits from largest to smallest
  1. The available digits are 2, 0, 2, 5.
  2. A number is largest when its biggest digits sit in the highest place values.
  3. Sorted from greatest to least: 5, 2, 2, 0, giving 5220, which is (C).
Mark: · log in to save
Problem 1 · 2025 Math Kangaroo Easy
Number Theory perfect-square

The number 2025 is a perfect square, because \(2025 = 45^2\). How many years will pass until the next year whose number is a perfect square?

Show answer
Answer: B — 91
Show hints
Hint 1 of 2
The current year is 45 squared—what is the very next whole number you would square?
Still stuck? Show hint 2 →
Hint 2 of 2
The gap to the next perfect square is 46² minus 45², which you can get without multiplying out either square.
Show solution
Approach: difference of consecutive squares
  1. The next perfect square after 45² is 46².
  2. The gap equals 46² − 45² = 46 + 45 = 91.
  3. So 91 years pass.
Mark: · log in to save
Problem 7 · 2025 Math Kangaroo Easy
Number Theory primescasework

Sarah has a bag of 18 balls numbered from 1 to 18. What is the smallest number of balls Sarah must remove from the bag to be sure that she has removed at least three prime numbers?

Show answer
Answer: D — 14
Show hints
Hint 1 of 2
Ask how many balls are NOT prime — those could all come out before any prime.
Still stuck? Show hint 2 →
Hint 2 of 2
After removing every non-prime, the next few must be primes; worst case removes all non-primes first.
Show solution
Approach: worst-case (pigeonhole) counting
  1. Primes from 1–18: 2,3,5,7,11,13,17 — seven of them; the other 11 numbers are non-prime.
  2. Worst case she draws all 11 non-primes first, then needs 3 more to guarantee three primes.
  3. Smallest guaranteed count = 11 + 3 = 14.
Mark: · log in to save
Problem 8 · 2024 Math Kangaroo Easy
Number Theory place-valuecareful-counting

213, 214 and 215 are three numbers in a row, each one more than the one before. Mohammad writes three numbers like that, but with four digits each. His sister erases some digits from each number, leaving:

???7,  ?898,  48??

Which digits (from left to right) are missing?

Show answer
Answer: D — 4 8 9, 4, 9 9
Show hints
Hint 1 of 2
The three numbers are consecutive, and the middle one looks like _898.
Still stuck? Show hint 2 →
Hint 2 of 2
Pick the four-digit number ending 898, then write the one before and the one after it.
Show solution
Approach: identify three consecutive numbers from the visible digits
  1. The middle number is 4898 (form _898, and it sits between numbers ending 7 and starting 48).
  2. So the three are 4897, 4898, 4899.
  3. Filling the gaps: 4897 needs 489, 4898 needs 4, 4899 needs 99.
  4. Missing digits left to right: 4 8 9, 4, 9 9 — option D.
Mark: · log in to save
Problem 6 · 2023 Math Kangaroo Easy
Number Theory divisibilityperfect-squareprimes

We call a positive integer n twoprime if it has exactly three different positive factors, namely 1, 2 and the number n itself. How many twoprime numbers are there?

Show answer
Answer: B — 1
Show hints
Hint 1 of 2
A number with exactly three divisors must be the square of a prime.
Still stuck? Show hint 2 →
Hint 2 of 2
Here the three divisors have to be exactly 1, 2 and n — so 2 must be the prime.
Show solution
Approach: a number with exactly three factors is a prime squared
  1. Exactly three positive factors means n = p2 for a prime p, with factors 1, p, p2.
  2. The factors must be 1, 2 and n, so p = 2 and n = 4 (factors 1, 2, 4).
  3. That is the only such number, so there is 1.
Mark: · log in to save
Problem 3 · 2022 Math Kangaroo Easy
Number Theory place-value

Beate arranges five cards — 4, 8, 31, 59 and 107 — side by side to make the smallest possible nine-digit number. Which card ends up furthest to the right?

Show answer
Answer: B — 8
Show hints
Hint 1 of 2
To make the joined number smallest, the cards with the smallest leading digit should sit furthest to the left.
Still stuck? Show hint 2 →
Hint 2 of 2
Order the five cards by the digit they start with, and see which card ends up last on the right.
Show solution
Approach: order the cards by their leading digit
  1. The five cards start with the digits 1 (107), 3 (31), 4 (4), 5 (59) and 8 (8).
  2. For the smallest number these leading digits must read in increasing order from left to right, so the cards go 107, 31, 4, 59, 8, giving 107314598.
  3. The card furthest to the right is 8, so the answer is B.
Mark: · log in to save
Problem 4 · 2022 Math Kangaroo Easy
Number Theory place-value

In the 13th century, monks wrote numbers in a special way: for the numbers 1 to 99 they used the signs shown here, or a combination of two of these signs. For example, the number 24 was written one way, 81 another, and 93 another. What did the number 45 look like?

Figure for Math Kangaroo 2022 Problem 4
Show answer
Answer: D
Show hints
Hint 1 of 2
Split 45 into a tens part and a units part: 40 and 5.
Still stuck? Show hint 2 →
Hint 2 of 2
Combine the sign for 40 with the sign for 5, just as 24 combined the signs for 20 and 4.
Show solution
Approach: combine the tens-sign and units-sign for 45
  1. The system writes a two-digit number by combining one tens sign and one units sign.
  2. For 45 take the sign for 40 and the sign for 5.
  3. Putting them together gives the figure shown in D.
  4. So 45 looks like D.
Mark: · log in to save
Problem 4 · 2022 Math Kangaroo Easy
Number Theory factorization

The numbers 3, 4, 5, 6 and 7 are written in the five circles of the shape shown. The product of the numbers in the four outer circles is 360. Which number is in the inner circle?

Figure for Math Kangaroo 2022 Problem 4
Show answer
Answer: E — 7
Show hints
Hint 1 of 2
The five numbers are fixed: 3, 4, 5, 6, 7. Find their total product first.
Still stuck? Show hint 2 →
Hint 2 of 2
Divide the product of all five by the product of the four outer ones to isolate the inner number.
Show solution
Approach: divide the full product by the outer product
  1. The product of all five numbers 3,4,5,6,7 is 2520.
  2. The four outer numbers multiply to 360.
  3. The inner number is 2520 / 360 = 7, so the answer is E.
Mark: · log in to save
Problem 6 · 2021 Math Kangaroo Easy
Number Theory place-valuecareful-counting

A measuring tape is wrapped around a cylinder. Which number should be at the place shown by the question mark?

Figure for Math Kangaroo 2021 Problem 6
Show answer
Answer: C — 48
Show hints
Hint 1 of 2
The tape is one long strip wrapped around, so the numbers keep counting up as you go round and round.
Still stuck? Show hint 2 →
Hint 2 of 2
Line up the marks directly below the ? with the row beneath it to see how far past the visible numbers it sits.
Show solution
Approach: continue the running count around the cylinder to the ? mark
  1. Each time the tape wraps once around, the number jumps by the same amount: the band 1…10 sits below the band 22…31, so one wrap adds 21.
  2. The ? sits one wrap above the 27 on the band below it.
  3. 27 + 21 = 48.
  4. So the number is 48 (C).
Mark: · log in to save
Problem 7 · 2021 Math Kangaroo Easy
Algebra & Patterns Number Theory place-valuesubstitution

A student correctly added the two two-digit numbers on the left of the board (AB + CD) and got the answer 137. What answer will he get if he adds the two four-digit numbers on the right of the board (ADCB + CBAD)?

Figure for Math Kangaroo 2021 Problem 7
Show answer
Answer: B — 13 837
Show hints
Hint 1 of 2
Write the right-hand sum ADCB + CBAD in terms of the totals A+C and B+D.
Still stuck? Show hint 2 →
Hint 2 of 2
The left-hand fact AB + CD = 137 already pins down 10(A+C) + (B+D).
Show solution
Approach: express the big sum using A+C and B+D
  1. From AB + CD = 137 we get 10(A+C) + (B+D) = 137, so A+C = 13 and B+D = 7.
  2. ADCB + CBAD = 1010(A+C) + 101(B+D).
  3. = 1010·13 + 101·7 = 13130 + 707 = 13837.
  4. So the answer is B.
Mark: · log in to save
Problem 1 · 2020 Math Kangaroo Easy
Number Theory primesprime-test

Which of the following additions does not give a prime number?

Show answer
Answer: E — 5 + 7
Show hints
Hint 1 of 2
Work out each sum first, then ask which total has a factor other than 1 and itself.
Still stuck? Show hint 2 →
Hint 2 of 2
A number is prime only if nothing besides 1 and itself divides it — check the five totals.
Show solution
Approach: add each pair, then test the five sums for primality
  1. The sums are 13, 11, 17, 7 and 12.
  2. 13, 11, 17 and 7 are all prime (no smaller divisor works).
  3. 5 + 7 = 12 = 2 × 6, which is composite.
  4. So the sum that is not prime is choice E.
Mark: · log in to save
Problem 7 · 2020 Math Kangaroo Easy
Arithmetic & Operations Number Theory casework

Carlos wants to square the sum of three numbers chosen from the list −5, −3, −1, 0, 2, 7. What is the smallest result he can get?

Show answer
Answer: B — 1
Show hints
Hint 1 of 2
A square is never negative, so you want the sum of the three numbers to be as close to 0 as possible.
Still stuck? Show hint 2 →
Hint 2 of 2
Can three of the listed numbers add to exactly 0? If not, the next best is a sum of ±1.
Show solution
Approach: make the sum nearest to zero
  1. Squaring makes any sum non-negative, so aim for a sum near 0.
  2. No three of −5, −3, −1, 0, 2, 7 add to exactly 0.
  3. But −3 + 0 + 2 = −1 gives a sum of magnitude 1.
  4. Then the square is 1² = 1, the smallest result, choice B.
Mark: · log in to save
Problem 16 · 2020 Math Kangaroo Easy
Number Theory division

Grandma has just baked 23 cupcakes and wants to give the same number of them to each of her six grandchildren, eating what is left over. At least how many cupcakes will she have left to eat?

Show answer
Answer: E — 5
Show hints
Hint 1 of 2
Give each of the 6 children the same number of cupcakes, as many as you can.
Still stuck? Show hint 2 →
Hint 2 of 2
Whatever does not fit into an equal share is what Grandma eats.
Show solution
Approach: share equally, then see what is left over
  1. Give each child 3 cupcakes: that uses 6 × 3 = 18 cupcakes.
  2. Giving each a 4th would need 24, but there are only 23, so 3 each is the most that shares evenly.
  3. That leaves 23 − 18 = 5 cupcakes for Grandma to eat.
Mark: · log in to save
Problem 1 · 2019 Math Kangaroo Easy
Number Theory
Figure for Math Kangaroo 2019 Problem 1
Show answer
Answer: E — Cloud E.
Show hints
Hint 1 of 2
A number is even when its last digit is 0, 2, 4, 6 or 8.
Still stuck? Show hint 2 →
Hint 2 of 2
Scan each cloud and reject it the moment you spot a single odd number.
Show solution
Approach: check each option for an odd number
  1. Go cloud by cloud and look for any odd value.
  2. Clouds A through D each contain at least one odd number (for example a 3, 5, 9 or 27).
  3. Only cloud E (10, 2, 34, 58) has every number ending in an even digit.
  4. So the answer is E.
Mark: · log in to save
Problem 2 · 2019 Math Kangaroo Easy
Number Theory place-value

The Mayas used points and lines to write numbers. A point stands for 1 and a line stands for 5. Which of the following Maya-numbers stands for 17?

Figure for Math Kangaroo 2019 Problem 2
Show answer
Answer: D
Show hints
Hint 1 of 3
A line is worth 5 and a point is worth 1, so build 17 from those.
Still stuck? Show hint 2 →
Hint 2 of 3
Use as many 5s (lines) as you can first, then make up the rest with 1s (points).
Still stuck? Show hint 3 →
Hint 3 of 3
Three lines give 15, so you only need 2 more points on top.
Show solution
Approach: break 17 into 5s and 1s
  1. A bar is 5 and a dot is 1, so write 17 with the most bars: 17 = 5 + 5 + 5 + 2.
  2. That is three bars (15) plus two dots (2).
  3. The symbol with two dots above three bars is D.
Mark: · log in to save
Problem 4 · 2018 Math Kangaroo Easy
Number Theory divisibility

Thor has seven stones and a hammer. With his hammer he hits a stone and it breaks into five small stones. He does that a few times. Which of these numbers could be the number of stones he ends up with?

Show answer
Answer: D — 23
Show hints
Hint 1 of 2
Each hammer blow replaces one stone with five, so the count changes by a fixed amount.
Still stuck? Show hint 2 →
Hint 2 of 2
Track the total as a starting value plus a multiple of that step.
Show solution
Approach: find the invariant: each hit adds a constant number of stones
  1. Breaking one stone into five removes 1 and adds 5, a net gain of +4 stones per hit.
  2. Starting at 7, after k hits the total is 7+4k: 11, 15, 19, 23, ...
  3. Among the options only 23 has the form 7+4k (k=4).
  4. So he can end with 23 stones.
Mark: · log in to save
Problem 1 · 2016 Math Kangaroo Easy
Number Theory careful-countingoff-by-one

How many natural numbers are there strictly between 3.17 and 20.16?

Show answer
Answer: C — 17
Show hints
Hint 1 of 2
The natural numbers strictly between two values are the whole numbers larger than the smaller and smaller than the larger.
Still stuck? Show hint 2 →
Hint 2 of 2
Count the integers from 4 up to 20.
Show solution
Approach: count the integers in a range
  1. Natural numbers strictly between 3.17 and 20.16 are the whole numbers 4, 5, 6, ..., 20.
  2. That is 20 − 4 + 1 = 17 numbers.
Mark: · log in to save
Problem 9 · 2016 Math Kangaroo Easy
Number Theory digit-sum

If you add up the digits of the year 2016 (2 + 0 + 1 + 6), the result is 9. What is the next year after 2016 for which the sum of the digits is 9 again?

Show answer
Answer: B — 2025
Show hints
Hint 1 of 2
The next year must be after 2016 and have digits adding to 9.
Still stuck? Show hint 2 →
Hint 2 of 2
Try years just after 2016 and add their digits.
Show solution
Approach: check years after 2016 for digit sum 9
  1. Add the digits of each year right after 2016: 2017 gives 10, 2018 gives 11, and they keep climbing, so none of 2017–2024 lands back on 9.
  2. Keep going to 2025: 2 + 0 + 2 + 5 = 9.
  3. So the next such year is 2025, choice B.
Mark: · log in to save
Problem 9 · 2016 Math Kangaroo Easy
Number Theory divisibility

Alex has one rope 1 m long and another 2 m long. He cuts up both ropes so that all the pieces are of equal length. Which of the following numbers of pieces can he not obtain this way?

Show answer
Answer: B — 8
Show hints
Hint 1 of 2
Every piece must fit a whole number of times into the 1 m rope and into the 2 m rope.
Still stuck? Show hint 2 →
Hint 2 of 2
If each piece is 1/n of a metre, the short rope gives n pieces and the long rope gives 2n, so the total is always a multiple of 3.
Show solution
Approach: the total number of pieces is always a multiple of 3
  1. Equal pieces must divide both ropes exactly, so each piece is 1/n of a metre for some whole number n.
  2. Then the 1 m rope makes n pieces and the 2 m rope makes 2n pieces, for 3n pieces in all — always a multiple of 3.
  3. Among the options 6, 9, 12 and 15 are multiples of 3, but 8 is not, so 8 pieces cannot be obtained.
Mark: · log in to save
Problem 4 · 2015 Math Kangaroo Easy
Number Theory place-valuedigit-sum

If you multiply both digits of the number 35, you get 15. How big is the sum of both digits?

Show answer
Answer: E — 8
Show hints
Hint 1 of 2
The two digits of 35 are 3 and 5; the problem already multiplies them.
Still stuck? Show hint 2 →
Hint 2 of 2
The question asks for the sum of those same two digits, not the product.
Show solution
Approach: read off the digits, then add them
  1. The digits of 35 are 3 and 5 (and indeed 3 × 5 = 15).
  2. Their sum is 3 + 5 = 8.
  3. So the answer is 8.
Mark: · log in to save
Problem 5 · 2015 Math Kangaroo Easy
Number Theory divisibility

Which of the following fractions is not a whole number?

Show answer
Answer: D20144
Show hints
Hint 1 of 2
A fraction is a whole number exactly when the bottom divides the top.
Still stuck? Show hint 2 →
Hint 2 of 2
Check each numerator for divisibility by its denominator; the one that fails is the answer.
Show solution
Approach: test divisibility of numerator by denominator
  1. 2011/1 = 2011 and 2013/3 = 671 are whole numbers, and 2015/5 = 403 is too.
  2. But 2014 = 4*503 + 2 is not a multiple of 4.
  3. So 2014/4 is not a whole number.
  4. The answer is 2014/4 (D).
Mark: · log in to save
Problem 6 · 2015 Math Kangaroo Easy
Number Theory last-digit

What is the unit digit of \(2015^2 + 2015^0 + 2015^1 + 2015^5\)?

Show answer
Answer: C — 6
Show hints
Hint 1 of 2
Only the final digit of each power matters — and the base ends in 5.
Still stuck? Show hint 2 →
Hint 2 of 2
Any positive power of a number ending in 5 ends in 5; remember 2015⁰ = 1.
Show solution
Approach: track only the units digit
  1. 2015², 2015¹, 2015⁵ all end in 5 (any power of a ...5 number ends in 5).
  2. 2015⁰ = 1.
  3. Units sum: 5 + 1 + 5 + 5 = 16, which ends in 6.
Mark: · log in to save
Problem 8 · 2015 Math Kangaroo Easy
Number Theory perfect-squarefactorization

Which of the following numbers is neither a square nor a cubic number?

Show answer
Answer: A — \(6^{13}\)
Show hints
Hint 1 of 2
A power is a perfect square when its exponent is even, and a perfect cube when the exponent is a multiple of 3.
Still stuck? Show hint 2 →
Hint 2 of 2
Check each exponent for divisibility by 2 or by 3; the odd-and-not-multiple-of-3 one is neither.
Show solution
Approach: test the exponent's divisibility
  1. 6¹³: exponent 13 is neither even nor a multiple of 3 → neither a square nor a cube.
  2. 5¹² (12), 4¹¹ = 2²² (22), 3¹⁰ (10) are all squares; 2⁹ (9) is a cube.
  3. So the odd one out is 6¹³.
Mark: · log in to save
Problem 2 · 2014 Math Kangaroo Easy
Number Theory place-value

Marie wants to put the digit 3 somewhere into the number 2014. Where must she put the 3 so that the new number (with all 5 digits) is as small as possible?

Show answer
Answer: D — between 1 and 4
Show hints
Hint 1 of 3
A number is smaller when its first (left-most) digits are smaller.
Still stuck? Show hint 2 →
Hint 2 of 3
Putting the big digit 3 near the front pushes the number up, so push the 3 as far right as you can.
Still stuck? Show hint 3 →
Hint 3 of 3
Write out each new number and read them like words to see which comes first.
Show solution
Approach: keep the small left-hand digits and push the 3 to the right
  1. Try the 3 in each gap: 32014, 23014, 20314, 20134, 20143.
  2. Reading them like a race, the one that stays smallest the longest at the front is 20134.
  3. So the 3 should go between the 1 and the 4.
  4. Answer: between 1 and 4.
Mark: · log in to save
Problem 4 · 2014 Math Kangaroo Easy
Number Theory place-valuedigit-sum

In the addition on the right, three digits have been replaced with a ? (see picture). What is the sum of the three missing digits?

Figure for Math Kangaroo 2014 Problem 4
Show answer
Answer: A — 0
Show hints
Hint 1 of 2
Check the columns of the addition one at a time, starting from the units.
Still stuck? Show hint 2 →
Hint 2 of 2
The hundreds total is just 1+1+1, so the tens column must add up with no carry into it — that pins down the three hidden digits.
Show solution
Approach: read off each column of the column-addition
  1. Units column: the two known units add to 9 with the third, and the result ends in 9, so no carry leaves the units column.
  2. Hundreds column: 1+1+1 already makes the 3 in the answer, so nothing can carry into it from the tens.
  3. That means the three hidden tens digits must add to 0, so each of them is 0.
  4. The sum of the three missing digits is therefore 0.
Mark: · log in to save
Problem 5 · 2014 Math Kangaroo Easy
Number Theory place-value

What is the difference between the smallest five-digit number and the biggest four-digit number?

Show answer
Answer: A — 1
Show hints
Hint 1 of 2
Write down the smallest five-digit number and the largest four-digit number.
Still stuck? Show hint 2 →
Hint 2 of 2
Those two numbers are right next to each other on the number line.
Show solution
Approach: name the two numbers and subtract
  1. The smallest five-digit number is 10000 and the largest four-digit number is 9999.
  2. These are consecutive whole numbers, so their difference is 1.
Mark: · log in to save
Problem 5 · 2014 Math Kangaroo Easy
Number Theory digit-sumplace-value

In the year 2014, the last digit is bigger than the sum of the other three digits. How many years ago did this last happen?

Show answer
Answer: C — 5
Show hints
Hint 1 of 2
You need the most recent earlier year where the last digit beats the sum of the first three.
Still stuck? Show hint 2 →
Hint 2 of 2
Step back year by year and check the digit condition.
Show solution
Approach: check the digit condition on recent years
  1. In 2014 the last digit 4 beats 2+0+1 = 3.
  2. Going back, years like 2013, 2012, ... fail (last digit not big enough), until 2009: 9 > 2+0+0 = 2.
  3. 2009 is 2014 − 2009 = 5 years ago.
Mark: · log in to save
Problem 5 · 2014 Math Kangaroo Easy
Number Theory factor-pairs

The product of two natural numbers is 36, and their sum is 37. What is the (positive) difference between the two numbers?

Show answer
Answer: E — 35
Show hints
Hint 1 of 2
List the factor pairs of 36 and check which pair adds to 37.
Still stuck? Show hint 2 →
Hint 2 of 2
A pair multiplying to 36 and adding to 37 must be far apart, not close together.
Show solution
Approach: find the factor pair of 36 that sums to 37
  1. The factor pairs of 36 are 1×36, 2×18, 3×12, 4×9, 6×6.
  2. Their sums are 37, 20, 15, 13, 12 — only 1 and 36 give the sum 37.
  3. The difference is 36 − 1 = 35.
Mark: · log in to save
Problem 10 · 2014 Math Kangaroo Easy
Number Theory divisibilityfactorization

The circumference of the large wheel of a bicycle measures 4·2 m, and that of the small wheel 0·9 m. To begin with, the valves on both wheels are at the lowest point; then the bicycle moves off. After a few metres both valves are again at the lowest point at the same time. After how many metres does this happen for the first time?

Show answer
Answer: C — 12·6 m
Show hints
Hint 1 of 2
Both valves return to the bottom after a whole number of turns of each wheel.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the least common multiple of the two circumferences.
Show solution
Approach: least common multiple of the wheel circumferences
  1. The distance must be a whole-number multiple of both 4.2 m and 0.9 m.
  2. Work in tenths of a metre: lcm(42, 9) = 126, so 12.6 m.
  3. Both valves are lowest again first at 12.6 m.
Mark: · log in to save
Problem 1 · 2013 Math Kangaroo Easy
Number Theory factorizationdivisibility

Which of the numbers is not a factor of \(200013 - 2013\)?

Show answer
Answer: D — 7
Show hints
Hint 1 of 2
Pull out the common piece first: both terms share a factor of 2013.
Still stuck? Show hint 2 →
Hint 2 of 2
Factor the result fully into primes, then check which listed number is missing.
Show solution
Approach: factor the difference and test each candidate divisor
  1. Factor out 2013: 200013 − 2013 = 198000.
  2. Break it down: 198000 = 198 × 1000 = (2 · 9 · 11) × (8 · 125), so the primes are 2, 3, 5, and 11.
  3. So 2, 3, 5 and 11 all divide it — but 7 does not.
  4. The number that is not a factor is 7.
Mark: · log in to save
Problem 4 · 2013 Math Kangaroo Easy
Number Theory factorizationfactor-triples

The product of three of the numbers 2, 4, 16, 25, 50, 125 is 1000. What is the sum of those three numbers?

Show answer
Answer: C — 131
Show hints
Hint 1 of 2
1000 = 2³ · 5³, so the three chosen numbers must together supply exactly three 2's and three 5's.
Still stuck? Show hint 2 →
Hint 2 of 2
Look for a triple from the list whose prime factors multiply to 1000.
Show solution
Approach: match prime factors to 1000
  1. 1000 = 2³ · 5³.
  2. From the list, 2 · 4 · 125 = 1000 (that is 2 · 2² · 5³).
  3. Their sum is 2 + 4 + 125 = 131.
Mark: · log in to save
Problem 5 · 2013 Math Kangaroo Easy
Number Theory digit-sumcareful-counting

Five children are talking about the number 325. Andreas: “It is a three-digit number.” Boris: “All the digits are different.” Sara: “The digit sum is 10.” Gerda: “The units digit is 5.” Daniela: “All the digits are odd.” Who has made a mistake?

Show answer
Answer: E — Daniela
Show hints
Hint 1 of 2
Check each child's statement against the actual number 325.
Still stuck? Show hint 2 →
Hint 2 of 2
One statement is simply false — look at whether every digit is really odd.
Show solution
Approach: test each claim about 325
  1. 325 is a three-digit number (Andreas correct), its digits 3, 2, 5 are all different (Boris correct).
  2. 3+2+5 = 10 (Sara correct) and the units digit is 5 (Gerda correct).
  3. But 2 is even, so 'all the digits are odd' is wrong — that is Daniela.
Mark: · log in to save
Problem 5 · 2013 Math Kangaroo Easy
Number Theory place-valuework-backward

The year 2013 is made up of four consecutive digits 0, 1, 2, 3 (in some order). How many years before 2013 was the most recent year also made up of four consecutive digits?

Show answer
Answer: C — 581
Show hints
Hint 1 of 2
You need the most recent earlier year whose four digits are four consecutive integers in some order.
Still stuck? Show hint 2 →
Hint 2 of 2
Try the digit sets {1,2,3,4} and {0,1,2,3} and find the largest valid year below 2013.
Show solution
Approach: search digit-consecutive years just below 2013
  1. A year of four consecutive digits uses a set like {0,1,2,3}, {1,2,3,4}, etc.
  2. Below 2013, the largest such year comes from {1,2,3,4}: arranging them as 1432.
  3. 2013 − 1432 = 581, so C.
Mark: · log in to save
Problem 8 · 2013 Math Kangaroo Easy
Fractions, Decimals & Percents Number Theory divisiontotal-then-divide

Marie works out the average number of children per family in her village. Five families live in the village. Which of these values could she not get?

Show answer
Answer: C — 1.3
Show hints
Hint 1 of 2
The average is the total number of children divided by 5.
Still stuck? Show hint 2 →
Hint 2 of 2
So the average must be a whole number of fifths — a multiple of 0.2.
Show solution
Approach: average must be a multiple of 1/5
  1. With 5 families, the average equals (total children) ÷ 5.
  2. The total is a whole number, so the average must be a multiple of 0.2.
  3. 1.0, 1.2, 1.4, 2.0 are multiples of 0.2, but 1.3 is not.
  4. So she could not get 1.3.
Mark: · log in to save
Problem 10 · 2013 Math Kangaroo Easy
Number Theory Algebra & Patterns factorization

For the positive whole numbers x, y, z the following is true: x×y = 14, y×z = 10 and z×x = 35. What is the value of x + y + z?

Show answer
Answer: C — 14
Show hints
Hint 1 of 2
Multiply all three equations together to get (xyz) squared.
Still stuck? Show hint 2 →
Hint 2 of 2
Once you know xyz, divide by each product to recover one variable at a time.
Show solution
Approach: multiply the equations
  1. (xy)(yz)(zx) = (xyz)² = 14 × 10 × 35 = 4900, so xyz = 70.
  2. x = xyz / yz = 70/10 = 7, y = 70/35 = 2, z = 70/14 = 5.
  3. x + y + z = 7 + 2 + 5 = 14.
Mark: · log in to save
Problem 3 · 2012 Math Kangaroo Easy
Number Theory factor-pairs

How many different rectangles with area 60 and whole-numbered side lengths are there?

Show answer
Answer: B — 6
Show hints
Hint 1 of 2
A rectangle is fixed by a pair of side lengths whose product is 60.
Still stuck? Show hint 2 →
Hint 2 of 2
Count the unordered factor pairs of 60.
Show solution
Approach: count factor pairs of 60
  1. A rectangle with whole sides and area 60 corresponds to a factor pair of 60.
  2. The pairs are 1×60, 2×30, 3×20, 4×15, 5×12 and 6×10.
  3. That is 6 different rectangles.
Mark: · log in to save
Problem 4 · 2012 Math Kangaroo Easy
Number Theory mod-10divisibility

The positive whole numbers are being coloured in order, in red, blue and green, i.e. 1 red, 2 blue, 3 green, 4 red, 5 blue, 6 green, and so on. Which colour could the sum of a red number and a blue number be?

Show answer
Answer: C — green only
Show hints
Hint 1 of 2
Red, blue, green repeat every three numbers — look at remainders when dividing by 3.
Still stuck? Show hint 2 →
Hint 2 of 2
Add a 'red' remainder to a 'blue' remainder and see which colour the total lands on.
Show solution
Approach: track the colour by remainder mod 3
  1. Red numbers leave remainder 1, blue leave remainder 2, green leave remainder 0 when divided by 3.
  2. A red plus a blue gives remainder 1+2 = 3, i.e. remainder 0.
  3. Remainder 0 is exactly the green colour, so the sum is always green only.
Mark: · log in to save
Problem 5 · 2012 Math Kangaroo Easy
Number Theory digit-sum

The digit sum of a six-digit number is 5. How big is the product of the digits?

Show answer
Answer: A — 0
Show hints
Hint 1 of 2
A six-digit number has six digits, but they only add up to 5.
Still stuck? Show hint 2 →
Hint 2 of 2
Six positive digits would already add to at least 6 — so what must at least one digit be?
Show solution
Approach: forced zero digit
  1. The number has six digits whose sum is only 5.
  2. If every digit were at least 1 the sum would be at least 6, which is too big.
  3. So at least one digit must be 0, and a product with a factor of 0 is 0.
Mark: · log in to save
Problem 4 · 2011 Math Kangaroo Easy
Number Theory careful-counting

In Crazytown the houses on the right-hand side of the street all have odd numbers. The Crazytowners don't use any numbers with the digit 3 in them. The first house on the right-hand side has the number 1. Which number does the fifteenth house on the right-hand side have?

Show answer
Answer: E — 47
Show hints
Hint 1 of 2
List the odd house numbers in order, but skip any that contain the digit 3.
Still stuck? Show hint 2 →
Hint 2 of 2
Count carefully until you reach the 15th allowed number.
Show solution
Approach: list allowed odd numbers and count to the 15th
  1. Odd numbers with no digit 3, in order: 1, 5, 7, 9, 11, 15, 17, 19, 21, 25, 27, 29, 41, 45, 47.
  2. (We skip 3, 13, 23, and 31–39 because they contain a 3.)
  3. The 15th number in this list is 47.
Mark: · log in to save
Problem 1 · 2009 Math Kangaroo Easy
Number Theory divisibility

Which of the following is an even number?

Show answer
Answer: D — 200 × 9
Show hints
Hint 1 of 2
An even number is a multiple of 2 - in a product, one factor of 2 is enough.
Still stuck? Show hint 2 →
Hint 2 of 2
Evaluate each choice and pick the one that comes out even.
Show solution
Approach: evaluate each option and test for even
  1. 2009 is odd; 2+0+0+9=11 is odd; 200-9=191 is odd; 200+9=209 is odd.
  2. Only 200x9=1800 is even, since 200 already carries a factor of 2.
  3. So the even number is 200 x 9.
Mark: · log in to save
Problem 2 · 2009 Math Kangaroo Easy
Number Theory last-digit

Which of the following numbers is even?

Show answer
Answer: D — 200 × 9
Show hints
Hint 1 of 2
A number is even when its value ends in an even digit — work out each option's value.
Still stuck? Show hint 2 →
Hint 2 of 2
Multiplying anything by an even number gives an even result.
Show solution
Approach: evaluate each option
  1. 2009 is odd; 2+0+0+9 = 11 is odd; 200−9 = 191 is odd; 200+9 = 209 is odd.
  2. 200 × 9 = 1800, which is even.
  3. So the even one is 200 × 9 — answer D.
Mark: · log in to save
Problem 3 · 2009 Math Kangaroo Easy
Number Theory careful-counting

How many whole numbers lie between 2.009 and 23.03?

Show answer
Answer: B — 21
Show hints
Hint 1 of 2
The two endpoints are decimals, so they are not themselves whole numbers.
Still stuck? Show hint 2 →
Hint 2 of 2
Count the whole numbers strictly between 2.009 and 23.03.
Show solution
Approach: count integers in an interval
  1. The whole numbers lying between 2.009 and 23.03 are 3, 4, 5, …, 23.
  2. That list runs from 3 up to 23.
  3. Counting them gives 23 − 3 + 1 = 21 numbers — answer B.
Mark: · log in to save
Problem 3 · 2009 Math Kangaroo Easy
Number Theory factorization

For how many positive whole numbers n is \(n^2+n\) a prime number?

Show answer
Answer: B — 1
Show hints
Hint 1 of 2
Factor n² + n before testing whether it can be prime.
Still stuck? Show hint 2 →
Hint 2 of 2
A prime has only the factors 1 and itself—so when can a product of two integers be prime?
Show solution
Approach: factor, then force one factor to be 1
  1. n² + n = n(n + 1), a product of two consecutive positive integers.
  2. For that product to be prime, one factor must be 1, so n = 1, giving 1·2 = 2 (prime).
  3. For every n ≥ 2 both factors exceed 1, so the product is composite. Exactly 1 value works.
Mark: · log in to save
Problem 4 · 2009 Math Kangaroo Easy
Number Theory careful-counting

What is the smallest number of digits that must be removed from the number 12323314 so that the number left over reads the same forwards and backwards?

Show answer
Answer: C — 3
Show hints
Hint 1 of 2
A palindrome reads the same forwards and backwards; keep the longest such block you can.
Still stuck? Show hint 2 →
Hint 2 of 2
Removing digits is fastest when you keep the longest in-order palindrome and delete the rest.
Show solution
Approach: keep longest palindrome, delete the rest
  1. The number is 1 2 3 2 3 3 1 4.
  2. The longest run of digits that stays in order and reads the same both ways has length 5 (for example 1 2 3 2 1).
  3. Eight digits minus that 5 leaves 3 to remove.
  4. Minimum removed = 3 — answer C.
Mark: · log in to save
Problem 4 · 2009 Math Kangaroo Easy
Number Theory divisibility

Mari, Ville and Ossi are going to a coffee shop. Each of them has 3 glasses of juice, 2 cups of ice cream and 5 biscuits. What value could the total bill come up to in the end?

Show answer
Answer: C — €37.20
Show hints
Hint 1 of 2
Each of the three orders the same things, so the bill is three identical orders added up.
Still stuck? Show hint 2 →
Hint 2 of 2
That makes the total a multiple of 3—check which price is divisible by 3.
Show solution
Approach: the total is three equal orders, hence a multiple of 3
  1. Three people each buy 3 + 2 + 5 items, so the bill is 3 × (one person's order).
  2. Therefore the total must be divisible by 3.
  3. Of the choices only €37.20 (3720 cents) is divisible by 3, so the bill is €37.20.
Mark: · log in to save
Problem 6 · 2009 Math Kangaroo Easy
Number Theory factorizationfactor-pairs

The product of four different natural numbers is 100. What is the sum of the four numbers?

Show answer
Answer: D — 18
Show hints
Hint 1 of 2
Write 100 as a product of four DIFFERENT whole numbers - the smallest will be 1.
Still stuck? Show hint 2 →
Hint 2 of 2
100 = 2^2 x 5^2; split those primes into four distinct factors.
Show solution
Approach: factor 100 into four distinct numbers
  1. 100 = 2^2 x 5^2. Using four different factors forces 1, 2, 5 and 10 (since 1x2x5x10 = 100).
  2. No other set of four distinct naturals multiplies to 100.
  3. Their sum is 1+2+5+10 = 18.
Mark: · log in to save
Problem 15 · 2025 Math Kangaroo Hard
Number Theory digit-sumcasework

Each card has two 3-digit numbers on it. Some of the digits are hidden (shown as ?). On one of the cards, the sum of the digits of the two numbers is the same. Which one?

Show answer
Answer: C — 982 and 1??
Show hints
Hint 1 of 2
For each card, find the digit sum of the fully shown number.
Still stuck? Show hint 2 →
Hint 2 of 2
Check whether the hidden number could ever reach that same digit sum.
Show solution
Approach: compare achievable digit sums
  1. 982 has digit sum 9 + 8 + 2 = 19.
  2. Its partner 1?? can reach a digit sum as high as 1 + 9 + 9 = 19 (the number 199).
  3. For every other card, the visible number’s digit sum is out of reach of its hidden partner.
  4. So the card with equal digit sums is ‘982 and 1??’.
Mark: · log in to save
Problem 17 · 2025 Math Kangaroo Hard
Number Theory divisibilitydigit-sum

The five-digit number \(\overline{N18NN}\) is divisible by 18. Which of the following statements is true for the digit N?

Show answer
Answer: A — There is exactly one such N.
Show hints
Hint 1 of 2
Use the rules for divisibility by 2 and by 9 separately.
Still stuck? Show hint 2 →
Hint 2 of 2
Last digit N must be even, and the digit sum 3N + 9 must be a multiple of 9, forcing N to be a multiple of 6.
Show solution
Approach: split 18 = 2×9 into two digit tests
  1. Divisible by 2: N is even. Divisible by 9: N + 1 + 8 + N + N = 3N + 9 is a multiple of 9, so N is a multiple of 3.
  2. Even and multiple of 3 means N is a multiple of 6; as a nonzero leading digit, only N = 6 works.
  3. So there is exactly one such N.
Mark: · log in to save
Problem 21 · 2025 Math Kangaroo Stretch
Number Theory digit-sumsubstitution

In the six-digit number PAPAYA, different letters stand for different digits and equal letters stand for equal digits. It is also given that Y = P + P = A + A + A. What is the value of P × A × P × A × Y × A?

Show answer
Answer: A — 432
Show hints
Hint 1 of 2
The clues say Y = 2P and Y = 3A — so 2P = 3A with single digits.
Still stuck? Show hint 2 →
Hint 2 of 2
Find digits where twice P equals three times A, then read off Y.
Show solution
Approach: solve the digit equations, then multiply
  1. Y = P + P = 2P and Y = A + A + A = 3A, so 2P = 3A.
  2. The simplest distinct digits are A = 2, P = 3, giving Y = 6.
  3. Then \(P\times A\times P\times A\times Y\times A = 3\cdot2\cdot3\cdot2\cdot6\cdot2 = 432\), which is (A).
Mark: · log in to save
Problem 23 · 2025 Math Kangaroo Hard
Number Theory primesfactorization

The product of three prime numbers is 11 times their sum. What is the maximum sum of the three numbers?

Show answer
Answer: E — 26
Show hints
Hint 1 of 2
11 times the sum being a product of three primes strongly suggests 11 is one of them.
Still stuck? Show hint 2 →
Hint 2 of 2
With one prime = 11, reduce to (p−1)(q−1) = 12 and maximize p+q.
Show solution
Approach: force 11 as a factor, then factor the rest
  1. Let the primes be 11, p, q. Then 11pq = 11(11+p+q), so pq = 11+p+q.
  2. Rearranged: (p−1)(q−1) = 12. To maximize the sum take p−1=12, q−1=1 → p=13, q=2 (both prime).
  3. Sum = 11+13+2 = 26.
Mark: · log in to save
Problem 11 · 2024 Math Kangaroo Stretch
Number Theory digit-sumcareful-counting

The rooms in a hotel are numbered in ascending order (No. 1, 2, 3, …), with no number left out. Beaver Benji counts the digits of all the room numbers and finds the digit ‘2’ fourteen times and the digit ‘5’ three times. What is the biggest possible room number in this hotel?

Show answer
Answer: C — 34
Show hints
Hint 1 of 2
Count how often each digit shows up as you list the room numbers 1, 2, 3, … and watch the running totals for the digit 2 and the digit 5.
Still stuck? Show hint 2 →
Hint 2 of 2
Three 5s are used up exactly at room 25 (from 5, 15, 25), so the hotel can't reach 35; check that fourteen 2s also work out by then.
Show solution
Approach: track the running count of the digits 2 and 5
  1. List room numbers in order and tally the digit 5: it appears in 5, 15, 25, … so the third 5 occurs at room 25 and a fourth would appear at 35.
  2. Since only three 5s are used, the hotel cannot include 35, so the largest possible number is below 35.
  3. Now tally the digit 2 up to 34: units-place 2s in 2, 12, 22, 32 give 4, and tens-place 2s in 20–29 give 10, totalling exactly 14.
  4. Both counts match at room 34, so that is the biggest possible room number.
Mark: · log in to save
Problem 11 · 2024 Math Kangaroo Hard
Number Theory place-valuedivisibilitydigit-sum

A palindrome is a number that reads the same forwards and backwards, for example 121 or 444. What is the sum of the digits of the largest three-digit palindrome that is also a multiple of 6?

Show answer
Answer: E — 24
Show hints
Hint 1 of 2
A palindrome aba is a multiple of 6 when it is even and its digit sum is divisible by 3.
Still stuck? Show hint 2 →
Hint 2 of 2
Even means the outer digit a is even; push a as high as possible, then the middle digit.
Show solution
Approach: build the largest even palindrome with digit sum divisible by 3
  1. For aba to be even, a must be even, so the largest choice is a = 8.
  2. Then 8b8 needs digit sum 16 + b divisible by 3; the largest such b is 8, giving 888.
  3. 888 is even and divisible by 3, so it is a multiple of 6, with digit sum 24.
Mark: · log in to save
Problem 15 · 2024 Math Kangaroo Hard
Number Theory factorizationsum-constraintages

The daughter of Mary’s daughter was born today. In two years’ time the product of Mary’s age, her daughter’s age and her granddaughter’s age will be exactly 2024, and each of the three ages will be an even number. How old is Mary today?

Show answer
Answer: B — 44
Show hints
Hint 1 of 2
The granddaughter is 0 today, so in two years she is 2; that 2 is a factor of 2024.
Still stuck? Show hint 2 →
Hint 2 of 2
Factor 2024/2 into two even numbers that are sensible ages for a mother and her daughter.
Show solution
Approach: factor 2024 with the granddaughter's age fixed
  1. In two years the ages are M+2, D+2 and 2, with product 2024, so (M+2)(D+2) = 1012.
  2. All three ages are even, so M+2 and D+2 are both even; 1012 = 46 x 22 fits.
  3. Then M+2 = 46 gives Mary's current age as 44.
Mark: · log in to save
Problem 17 · 2024 Math Kangaroo Stretch
Number Theory place-valuesum-constraint

Mia has 3 cards, each showing a three-digit number. When she adds the three numbers she gets 782. Sadly a worm has eaten one digit on each card, so they now read 2 ? 3, 1 ? 4 and 4 1 ?. What do you get when you add the three digits the worm ate?

Figure for Math Kangaroo 2024 Problem 17
Show answer
Answer: D — 11
Show hints
Hint 1 of 3
First add up only the digits you can still see, putting a 0 in each eaten spot.
Still stuck? Show hint 2 →
Hint 2 of 3
Compare that total with 782 to see how much the eaten digits must add back.
Still stuck? Show hint 3 →
Hint 3 of 3
Remember: an eaten digit in a tens place is worth that many tens, and an eaten digit in a ones place is worth that many ones.
Show solution
Approach: add the visible digits first, then see how much the eaten digits must add back
  1. Treat each eaten spot as 0: the cards read 203, 104 and 410, which add to 717.
  2. But the real total is 782, so the eaten digits must add back 782 − 717 = 65.
  3. Two of the eaten digits sit in tens places, so together they are worth 60 (meaning those two digits add to 6); the third sits in a ones place worth 5 (so that digit is 5).
  4. The three eaten digits therefore add to 6 + 5 = 11 (D).
Another way:
Mark: · log in to save
Problem 17 · 2024 Math Kangaroo Hard
Number Theory factorizationgrouping

A number is written in each of the twelve circles shown. The number in each square is the product of the four numbers at the corners of that square. What is the product of the numbers in the eight bold circles?

Figure for Math Kangaroo 2024 Problem 17
Show answer
Answer: B — 40
Show hints
Hint 1 of 2
Multiply the four outer squares' numbers together and watch which circles get used and how many times.
Still stuck? Show hint 2 →
Hint 2 of 2
The centre square's number is the product of the four inner circles, and each inner circle sits in exactly two outer squares.
Show solution
Approach: multiply the four outer squares and divide out the inner circles
  1. Multiplying the four outer (arm) squares \(10\times4\times6\times24=5760\) uses each of the eight bold outer circles once and each of the four inner circles twice.
  2. The four inner circles multiply to the centre square's value 12, so their squared contribution is \(12^2=144\).
  3. Therefore the product of the eight bold circles is \(5760\div144=40\), answer B.
Mark: · log in to save
Problem 17 · 2024 Math Kangaroo Hard
Number Theory factorization

A teacher writes the 7 digits 1 1 2 2 2 2 3 on the board. He asks a student to insert some multiplication signs (×) in such a way that the product of the resulting numbers (possibly with multiple digits) has the value 2024. How many multiplication signs must be inserted?

Show answer
Answer: D — 4
Show hints
Hint 1 of 2
Factor 2024 first to see which building-block numbers the digits must form.
Still stuck? Show hint 2 →
Hint 2 of 2
2024 = 11 × 23 × 8, so the digits must group into 11, 23 and the factor 8 from three 2s.
Show solution
Approach: factor the target and group the digits
  1. 2024 = 2³ × 11 × 23.
  2. Keeping the digits 1 1 2 2 2 2 3 in order, form 11, then three single 2s, then 23.
  3. So 11 × 2 × 2 × 2 × 23 = 2024 uses five numbers, needing 4 multiplication signs.
Mark: · log in to save
Problem 19 · 2024 Math Kangaroo Hard
Number Theory divisibilitycasework

We know of a positive integer n that exactly one of the following statements is true. Which is the true statement?

Show answer
Answer: Cn is odd.
Show hints
Hint 1 of 2
Divisible by 6 would force divisible by 3 too, so that statement cannot be the lone true one.
Still stuck? Show hint 2 →
Hint 2 of 2
Look for an n that makes exactly one statement true — an odd composite not divisible by 3 does it.
Show solution
Approach: eliminate statements that force others
  1. If n were divisible by 6 it would also be divisible by 3, giving two true statements — so that is out.
  2. Take n = 25: it is odd (true), but not divisible by 3, not prime, and not 2.
  3. Exactly one statement holds, and it is n is odd.
Mark: · log in to save
Problem 18 · 2023 Math Kangaroo Hard
Number Theory last-digit

We call a positive integer powerfree if none of its digits can be written as a power of an integer with an exponent bigger than 1. For example, the number 53 is powerfree, but the number 54 is not powerfree since \(4 = 2^2\). Which one of the following numbers is the difference between the biggest and the smallest two-digit powerfree numbers?

Show answer
Answer: B — 55
Show hints
Hint 1 of 2
A digit is “bad” if it is a perfect power: 0, 1, 4, 8, 9.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the largest and smallest two-digit numbers whose digits are all allowed, then subtract.
Show solution
Approach: restrict to allowed digits
  1. Digits that are powers (exponent>1) are 0=0², 1=1², 4=2², 8=2³, 9=3².
  2. Allowed digits are 2, 3, 5, 6, 7.
  3. The biggest two-digit powerfree number is 77 and the smallest is 22.
  4. Their difference is 77 − 22 = 55.
Mark: · log in to save
Problem 18 · 2023 Math Kangaroo Stretch
Number Theory factorizationdigit-sum

For each positive integer n the number \(n!\) is defined as the product of all numbers from 1 to n. For example, \(4! = 4 \cdot 3 \cdot 2 \cdot 1 = 24\). For a certain N the formula \(N! = 6! \cdot 7!\) holds. How big is the sum of the digits of N?

Show answer
Answer: A — 1
Show hints
Hint 1 of 2
Try to write 6!·7! as a single factorial.
Still stuck? Show hint 2 →
Hint 2 of 2
Notice 7! = 7·6!, and look for a factorial equal to 6!·7!.
Show solution
Approach: recognise 6!·7! as 10!
  1. Since 7! = 7·6!, the product 6!·7! equals 3 628 800.
  2. That value is exactly 10!, so N = 10.
  3. The digit sum of 10 is 1 + 0 = 1.
Mark: · log in to save
Problem 19 · 2023 Math Kangaroo Stretch
Number Theory divisibilitycareful-counting

A rabbit, a beaver and a kangaroo have a race. They all start at the same time from “Start” and hop in the same direction around the loop. With each jump the beaver moves forward 1 position, the rabbit moves forward 2 positions, and the kangaroo moves forward 3 positions. Whoever needs the fewest jumps to land exactly on the position marked “Ziel” wins. Who wins the race?

Figure for Math Kangaroo 2023 Problem 19
Show answer
Answer: E — Kangaroo and beaver
Show hints
Hint 1 of 2
Ziel sits exactly opposite Start, so its distance from Start is half the number of positions around the loop.
Still stuck? Show hint 2 →
Hint 2 of 2
Check whether each animal's jump size can ever add up exactly to that distance, and compare how many jumps it takes.
Show solution
Approach: compare each step size against the half-way distance to Ziel
  1. Ziel is directly opposite Start, so reaching it means covering exactly half the loop, an odd number of positions.
  2. The rabbit moves 2 at a time, so its total is always even and it can never land exactly on the odd-distance Ziel.
  3. The beaver (step 1) and the kangaroo (step 3) both reach Ziel, and they need the same number of jumps to first land there.
  4. Tied for the fewest jumps are the kangaroo and the beaver, answer E.
Mark: · log in to save
Problem 20 · 2023 Math Kangaroo Hard
Number Theory primessum-constraint

The arithmetic mean of five different prime numbers is an integer. What is the smallest possible value of this arithmetic mean?

Show answer
Answer: B — 6
Show hints
Hint 1 of 2
The mean being an integer means the five primes sum to a multiple of 5.
Still stuck? Show hint 2 →
Hint 2 of 2
Start from the smallest primes and adjust to hit a multiple of 5 while keeping the mean small.
Show solution
Approach: minimise the average under a divisibility constraint
  1. Five different primes sum to at least 2+3+5+7+11 = 28, so the mean is at least 5.6.
  2. The mean must be a whole number, so the smallest possible is 6 (sum 30).
  3. Indeed 2+3+5+7+13 = 30 works, giving mean 6.
  4. So the smallest mean is 6.
Mark: · log in to save
Problem 22 · 2023 Math Kangaroo Stretch
Number Theory divisibilityfactorization

How many positive integers divide \(2^{20} \cdot 3^{23}\) but not \(2^{10} \cdot 3^{20}\)?

Show answer
Answer: C — 273
Show hints
Hint 1 of 2
Count divisors using the exponent-plus-one rule for each prime.
Still stuck? Show hint 2 →
Hint 2 of 2
Every divisor of 210·320 already divides 220·323, so subtract.
Show solution
Approach: count divisors of each and subtract the overlap
  1. 220·323 has (20+1)(23+1) = 504 divisors; 210·320 has (10+1)(20+1) = 231 divisors.
  2. Since 210·320 divides 220·323, all 231 of its divisors also divide the first number.
  3. Divisors of the first but not the second: 504 − 231 = 273.
Mark: · log in to save
Problem 27 · 2023 Math Kangaroo Stretch
Number Theory Arithmetic & Operations digit-sumcasework

Bart wrote the number 1015 as a sum of numbers that are made up of only the digit 7. In total he used the digit 7 ten times (see diagram). Now he wants to write the number 2023 as a sum of numbers made up of only the digit 7, using the digit 7 nineteen times in total. How many times does he have to use the number 77?

Figure for Math Kangaroo 2023 Problem 27
Show answer
Answer: E — 6
Show hints
Hint 1 of 2
Numbers made only of 7s are 7, 77, 777, ... each contributing several 7s to the digit-count.
Still stuck? Show hint 2 →
Hint 2 of 2
Match the value 2023 and the total of 19 sevens together; that pins how many 77s appear.
Show solution
Approach: balance the value 2023 and the count of 19 sevens
  1. Let there be a parts equal to 7, b equal to 77 and c equal to 777 (777 × 3 > 2023, so no bigger parts).
  2. Value: 7a + 77b + 777c = 2023, i.e. a + 11b + 111c = 289 (dividing by 7). Digit count: a + 2b + 3c = 19.
  3. Subtracting gives 9b + 108c = 270, so b + 12c = 30; the only choice keeping a ≥ 0 is c = 2, b = 6 (then a = 1).
  4. Check: 7 + 6×77 + 2×777 = 7 + 462 + 1554 = 2023, using 1 + 12 + 6 = 19 sevens. So 77 is used 6 times, option E.
Mark: · log in to save
Problem 13 · 2022 Math Kangaroo Hard
Number Theory place-valuecareful-counting

We check the water meter and see that all digits on the display are different. What is the minimum amount of water that has to be used before this happens again?

Figure for Math Kangaroo 2022 Problem 13
Show answer
Answer: D — 0.137 m³
Show hints
Hint 1 of 2
The meter shows 91.876; you want the next reading whose five digits are all different.
Still stuck? Show hint 2 →
Hint 2 of 2
Step up the reading until no digit repeats, then subtract.
Show solution
Approach: find next all-distinct reading
  1. Current reading 91.876 (digits 9,1,8,7,6 all different).
  2. Stepping up, the next reading with five different digits is 92.013.
  3. Water used = 92.013 − 91.876 = 0.137 m³.
Mark: · log in to save
Problem 14 · 2022 Math Kangaroo Hard
Number Theory digit-sum

The year 2022 has three equal digits. This is the third time that Tortoise Eva has experienced a year where the same digit appears three times. What is the minimum age that Tortoise Eva can be this year?

Show answer
Answer: C — 23
Show hints
Hint 1 of 2
List recent years whose four digits include the same digit three times.
Still stuck? Show hint 2 →
Hint 2 of 2
She has lived through three such years; to make her as young as possible, pick the latest possible earlier two.
Show solution
Approach: find the three latest triple-digit years up to 2022
  1. 2022 has three 2s. The two latest earlier such years are 2000 (three 0s) and 1999 (three 9s).
  2. If 2022 is her third, she was alive in 1999, so she was born by 1999.
  3. The smallest age is 2022 minus 1999 = 23.
  4. So the answer is C.
Mark: · log in to save
Problem 15 · 2022 Math Kangaroo Hard
Number Theory factorization

What is the largest common divisor of \(2^{2021}+2^{2022}\) and \(3^{2021}+3^{2022}\)?

Show answer
Answer: E — 12
Show hints
Hint 1 of 2
Factor each sum: pull out the common power of 2, and of 3.
Still stuck? Show hint 2 →
Hint 2 of 2
2^2021 + 2^2022 = 3·2^2021 and 3^2021 + 3^2022 = 4·3^2021; now take the gcd.
Show solution
Approach: factor then gcd
  1. 2^2021 + 2^2022 = 2^2021(1+2) = 3·2^2021.
  2. 3^2021 + 3^2022 = 3^2021(1+3) = 4·3^2021 = 2^2·3^2021.
  3. Common factors: 2^2 from one side and 3 from the other give gcd = 4·3 = 12.
Mark: · log in to save
Problem 20 · 2022 Math Kangaroo Hard
Number Theory pythagorean-triple

A circle with midpoint \((0\,|\,0)\) has a radius of 5. How many points are there on the circumference where both co-ordinates are integers?

Show answer
Answer: C — 12
Show hints
Hint 1 of 2
You need integer points with x^2 + y^2 = 25.
Still stuck? Show hint 2 →
Hint 2 of 2
List the ways 25 is a sum of two squares, then count sign and order variations.
Show solution
Approach: lattice points on the circle
  1. x^2 + y^2 = 25 gives (0,±5), (±5,0), (±3,±4), (±4,±3).
  2. That is 4 + 4 + 4 = 12 points.
Mark: · log in to save
Problem 11 · 2021 Math Kangaroo Hard
Number Theory factorizationdivisibility

What fraction of all the divisors of \(7!\) is odd?

Show answer
Answer: D — \(\tfrac{1}{5}\)
Show hints
Hint 1 of 2
Write 7! as a product of prime powers.
Still stuck? Show hint 2 →
Hint 2 of 2
Odd divisors come only from the odd primes; compare their count to all divisors.
Show solution
Approach: count divisors via prime factorisation
  1. 7! = 5040 = 2⁴ · 3² · 5 · 7, with (4+1)(2+1)(1+1)(1+1) = 60 divisors.
  2. Odd divisors drop the factor 2: from 3² · 5 · 7 there are 3 · 2 · 2 = 12.
  3. Fraction odd = 12/60 = 1/5.
Mark: · log in to save
Problem 13 · 2021 Math Kangaroo Hard
Number Theory place-valuedivisibility

How many three-digit natural numbers have the property that when their digits are written in reverse order, the result is a three-digit number which is 99 more than the original number?

Show answer
Answer: D — 80
Show hints
Hint 1 of 2
Write the number and its reversal using place value and subtract.
Still stuck? Show hint 2 →
Hint 2 of 2
The difference depends only on the first and last digits; set it equal to 99.
Show solution
Approach: use place value to relate a number and its reversal
  1. For a 3-digit number 100a+10b+c, the reversal is 100c+10b+a, and their difference is 99(c − a).
  2. Setting 99(c − a) = 99 gives c = a + 1.
  3. With a from 1 to 8 (so c stays a digit) and b any of 0–9, that is 8 × 10 = 80 numbers.
Mark: · log in to save
Problem 14 · 2021 Math Kangaroo Stretch
Number Theory divisibility

2021 has a remainder of 5 when divided by 6, by 7, by 8, and by 9. How many positive integers, less than 2021, have this property?

Show answer
Answer: A — 4
Show hints
Hint 1 of 2
A number leaving remainder 5 under all of 6,7,8,9 is 5 more than a common multiple of them.
Still stuck? Show hint 2 →
Hint 2 of 2
The least common multiple of 6,7,8,9 is 504; count multiples of 504 (plus 5) below 2021.
Show solution
Approach: reduce to multiples of the lcm
  1. Such a number has the form 504k + 5, since lcm(6,7,8,9) = 504.
  2. For k = 0,1,2,3 this gives 5, 509, 1013, 1517 — all below 2021.
  3. k = 4 would give 2021 itself, which is not less than 2021.
  4. So there are 4 such integers, choice (A).
Mark: · log in to save
Problem 18 · 2021 Math Kangaroo Stretch
Number Theory sum-constraintcasework

7 cards are arranged as shown. Each card has 2 numbers on it, with 1 of them written upside down. The teacher wants to rearrange the cards so that the sum of the numbers in the top row is the same as the sum of the numbers in the bottom row. She can do this by turning one of the cards upside down. Which card must she turn?

Figure for Math Kangaroo 2021 Problem 18
Show answer
Answer: E — G
Show hints
Hint 1 of 2
Add up the top row and add up the bottom row, then see how far apart the two totals are.
Still stuck? Show hint 2 →
Hint 2 of 2
Turning one card swaps its top and bottom numbers, so look for the card whose swap moves exactly half the gap from one row to the other.
Show solution
Approach: compare the two row totals and flip the one card that evens them out
  1. The top numbers add to 7+5+4+2+8+3+2 = 31 and the bottom numbers add to 4+3+5+5+7+7+4 = 35, a gap of 4 (the bottom is 4 bigger).
  2. All 14 numbers add to 66, so to make the rows equal each must be 66 / 2 = 33; the top needs to gain 2 and the bottom to lose 2.
  3. Flipping a card moves its top number down and its bottom number up, so we need a card whose bottom is 2 more than its top — that is card G (top 2, bottom 4).
  4. So she must turn card G (E).
Mark: · log in to save
Problem 21 · 2021 Math Kangaroo Stretch
Number Theory divisibilitycasework

A box has fewer than 50 cookies in it. The cookies can be divided evenly between 2, 3, or 4 children. However, they cannot be divided evenly between 7 children, because 6 more cookies would be needed. How many cookies are there in the box?

Show answer
Answer: D — 36
Show hints
Hint 1 of 2
Sharing evenly between 2, 3 and 4 children means the number is in the 2, 3 and 4 times tables — so it is in the 12 times table.
Still stuck? Show hint 2 →
Hint 2 of 2
List the multiples of 12 under 50, then check which one becomes a multiple of 7 after you add the 6 missing cookies.
Show solution
Approach: list multiples of 12 under 50, then test the sharing-by-7 clue
  1. To share evenly between 2, 3 and 4 children the number must be in all three times tables, which means the 12 times table: 12, 24, 36, 48.
  2. Needing 6 more cookies to share between 7 means that number plus 6 lands in the 7 times table.
  3. Check each: 12+6=18, 24+6=30, 36+6=42, 48+6=54 — only 42 is in the 7 times table (6 x 7), so the number is 36.
  4. So there are 36 cookies (D).
Mark: · log in to save
Problem 24 · 2021 Math Kangaroo Stretch
Number Theory Algebra & Patterns place-valuedigit-sum

The 6-digit number 2ABCDE is multiplied by 3 and the result is the 6-digit number ABCDE2. What is the sum of the digits of this number?

Show answer
Answer: B — 27
Show hints
Hint 1 of 2
Let X be the five-digit block ABCDE; write both 2ABCDE and ABCDE2 using X.
Still stuck? Show hint 2 →
Hint 2 of 2
Set up the equation from 'times 3' and solve for X, then add its digits with the 2.
Show solution
Approach: turn the digit-shuffle into one equation
  1. 2ABCDE = 200000 + X and ABCDE2 = 10X + 2, where X = ABCDE.
  2. 3(200000 + X) = 10X + 2 gives 7X = 599998, so X = 85714 and the number is 285714.
  3. Its digits sum to 2+8+5+7+1+4 = 27.
  4. So the answer is B.
Mark: · log in to save
Problem 26 · 2021 Math Kangaroo Stretch
Number Theory mod-10casework

My little brother has a 4-digit bike lock with the digits 0 to 9 on each part of the lock as shown. He started on the correct combination and turned each part the same amount in the same direction and now the lock shows the combination 6348. Which of the following CANNOT be the correct combination of my brother's lock?

Figure for Math Kangaroo 2021 Problem 26
Show answer
Answer: C
Show hints
Hint 1 of 2
Turning every wheel by the same amount in the same direction shifts each digit by the same value (mod 10).
Still stuck? Show hint 2 →
Hint 2 of 2
Subtract 6348 digit-by-digit (mod 10); a real start must give the same shift on all four digits.
Show solution
Approach: check for a constant per-digit shift mod 10
  1. Since each wheel turned the same amount, the true combination differs from 6348 by the same shift in every digit (mod 10).
  2. For 8560 the shifts are 2,2,2,2 and for the others they are equal too — except 4906, whose shifts 8,6,2,8 are not all the same.
  3. So 4906 cannot be the correct combination: choice C.
Mark: · log in to save
Problem 26 · 2021 Math Kangaroo Stretch
Number Theory Logic & Word Problems divisibilitycasework

2021 coloured kangaroos are arranged in a row and are numbered from 1 to 2021. Each kangaroo is coloured either red, grey or blue. Amongst any three consecutive kangaroos, there are always kangaroos of all three colours. Bruce guesses the colours of five kangaroos. These are his guesses: Kangaroo 2 is grey; Kangaroo 20 is blue; Kangaroo 202 is red; Kangaroo 1002 is blue; Kangaroo 2021 is grey. Only one of his guesses is wrong. What is the number of the kangaroo whose colour he guessed incorrectly?

Show answer
Answer: B — 20
Show hints
Hint 1 of 2
'Any three in a row use all three colours' forces the colouring to repeat with period 3.
Still stuck? Show hint 2 →
Hint 2 of 2
So a kangaroo's colour depends only on its position modulo 3; compare the guesses at equal residues.
Show solution
Approach: use the period-3 structure
  1. With every three consecutive kangaroos all different, the colour pattern repeats every 3 positions.
  2. Positions 2, 20 and 2021 are all 2 (mod 3), so they must share one colour.
  3. Guesses say k2 = grey, k20 = blue, k2021 = grey; the lone disagreement (k20) must be the wrong one.
  4. So the answer is B.
Mark: · log in to save
Problem 27 · 2021 Math Kangaroo Stretch
Geometry & Measurement Number Theory spatial-reasoninggrid-counting

A 3×4×5 cuboid consists of 60 identical small cubes. A termite eats its way along the diagonal from P to Q. This diagonal does not intersect the edges of any small cube inside the cuboid. How many of the small cubes does it pass through on its journey?

Figure for Math Kangaroo 2021 Problem 27
Show answer
Answer: C — 10
Show hints
Hint 1 of 2
The diagonal of an a×b×c grid crosses a + b + c interior 'sheets', but crossings at shared edges count once.
Still stuck? Show hint 2 →
Hint 2 of 2
Use a + b + c minus the pairwise gcds plus the triple gcd.
Show solution
Approach: count unit cubes a space-diagonal passes through
  1. For a 3×4×5 box the count is a+b+c − gcd(a,b) − gcd(b,c) − gcd(a,c) + gcd(a,b,c).
  2. = 3+4+5 − 1 − 1 − 1 + 1 = 10.
  3. So the answer is C.
Mark: · log in to save
Problem 29 · 2021 Math Kangaroo Stretch
Number Theory sum-constraintcasework

In a group of 10 elves and trolls, each was given a token with a different number from 1 to 10 written on it. They were each asked what number was on their token, and all answered with a number from 1 to 10. The sum of the answers was 36. Each troll told a lie and each elf told the truth. What is the smallest number of trolls there could be in the group?

Show answer
Answer: B — 3
Show hints
Hint 1 of 2
If everyone told the truth the answers would total 1 + 2 + … + 10 = 55; the actual total is only 36.
Still stuck? Show hint 2 →
Hint 2 of 2
Each troll replaces its own token number with a smaller answer; how much total drop can just a few trolls create?
Show solution
Approach: cover the shortfall with the fewest liars
  1. Honest answers would total 1 + 2 + … + 10 = 55, but the answers added to 36, so the trolls' lies pulled the total down by 19.
  2. Each troll's biggest possible drop is from token 10 down to answer 1, a drop of 9; one troll can drop at most 9 and two trolls at most 9 + 8 = 17, both short of 19.
  3. Three trolls can manage it — for example tokens 10, 9, 8 answering 1, 1, 1 drops the total by 9 + 8 + 7 = 24, and other choices hit exactly 19 — so the smallest number of trolls is 3.
Mark: · log in to save
Problem 15 · 2020 Math Kangaroo Stretch
Number Theory place-value

A certain number has 2020 digits. At most, how many digits can the square of that number have?

Show answer
Answer: E — 4040
Show hints
Hint 1 of 2
A '2020 number' means a number with 2020 digits.
Still stuck? Show hint 2 →
Hint 2 of 2
How many digits can the square of a 2020-digit number have?
Show solution
Approach: bound the size of the square
  1. A 2020-digit number N satisfies N < 10^2020.
  2. Then N² < 10^4040, so N² has at most 4040 digits.
  3. That maximum is reachable, so the answer is 4040.
Mark: · log in to save
Problem 16 · 2020 Math Kangaroo Hard
Counting & Probability Number Theory careful-countingcasework

Mary numbered the faces of three cards with the numbers 1 to 6. Using the three cards she can make three-digit numbers, for example 135 or 234, but some numbers cannot be made, such as 126. Which of the following numbers CANNOT be made?

Show answer
Answer: D — 245
Show hints
Hint 1 of 2
Each card shows two numbers (opposite faces), and you read one number from each of the three cards.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the secret pairing of {1..6} into three cards; a number is impossible if two of its digits live on the same card.
Show solution
Approach: recover the card pairings, then test each number
  1. Three cards carry digits 1..6, two per card; a three-digit number takes one digit from each card.
  2. Examples 135 and 234 are possible while 126 is not, which pins down which digits share a card.
  3. Checking the options, 245 needs two digits on the same card, so it cannot be made.
Mark: · log in to save
Problem 16 · 2020 Math Kangaroo Stretch
Number Theory place-valuecareful-counting

Marta observed that the number 2020 has the following property: the number formed by the two digits on the left is equal to the number formed by the two digits on the right. How many four-digit numbers, including 2020, have this same property?

Show answer
Answer: D — 90
Show hints
Hint 1 of 2
The property says the front two digits equal the back two digits.
Still stuck? Show hint 2 →
Hint 2 of 2
Such a number is just a two-digit block repeated; count the allowed blocks.
Show solution
Approach: count the repeated two-digit blocks
  1. A number with this property looks like the block XY repeated, e.g. 2020 = 20|20.
  2. The block must be a two-digit number from 10 to 99 (it can’t start with 0).
  3. That is 90 choices, so there are 90 such numbers.
Mark: · log in to save
Problem 20 · 2020 Math Kangaroo Stretch
Number Theory sum-constraintcasework

Six different numbers, chosen from the whole numbers 1 to 9, are written on the faces of a cube, one number per face. The sum of the two numbers on each pair of opposite faces is always the same. Which of these numbers could be written on the face opposite the number 8?

Figure for Math Kangaroo 2020 Problem 20
Show answer
Answer: A — 3
Show hints
Hint 1 of 2
Opposite faces share one common sum; three of the digits 1-9 are left off.
Still stuck? Show hint 2 →
Hint 2 of 2
Whatever sits opposite 8 must give that same pair-sum as the other two pairs.
Show solution
Approach: find a consistent equal pair-sum
  1. The picture shows 4, 5 and 8 on three faces that touch, so none of them is opposite another; their partners are the three hidden faces.
  2. All three pairs share one common sum. If that sum is 11, then 8 pairs with 3, 5 pairs with 6, and 4 pairs with 7 — the six numbers 3, 4, 5, 6, 7, 8 are all different and all between 1 and 9.
  3. Any larger common sum forces a partner above 9, so the only choice that works is 8 opposite 3.
Mark: · log in to save
Problem 11 · 2019 Math Kangaroo Hard
Number Theory factorizationfactor-pairs

Which is the highest power of three that divides the number \(7! + 8! + 9!\)? (Recall that \(n! = n(n-1)(n-2)\cdots 3\cdot 2\cdot 1\).)

Show answer
Answer: D — \(3^{6}\)
Show hints
Hint 1 of 2
Factor out the smallest factorial: \(7! + 8! + 9! = 7!\,(1 + 8 + 8\cdot 9)\).
Still stuck? Show hint 2 →
Hint 2 of 2
Count the factors of 3 in \(7!\) and in the bracket \(1 + 8 + 72 = 81\) separately, then add.
Show solution
Approach: factor out \(7!\) and count powers of 3
  1. \(7! + 8! + 9! = 7!\,(1 + 8 + 8\cdot 9) = 7!\,(1 + 8 + 72) = 7!\cdot 81\).
  2. Among 1…7 the multiples of 3 are 3 and 6, so \(7!\) contributes \(3^{2}\).
  3. \(81 = 3^{4}\), so the total power of 3 is \(2 + 4 = 6\).
  4. The highest power of three dividing the sum is \(3^{6}\) — answer (D).
Mark: · log in to save
Problem 16 · 2019 Math Kangaroo Hard
Number Theory divisibilityfactor-pairs

A positive integer \(n\) is called good if its biggest factor (apart from \(n\) itself) is equal to \(n - 6\). How many good positive integers are there?

Show answer
Answer: C — 3
Show hints
Hint 1 of 2
The biggest factor of \(n\) other than \(n\) is \(n\) divided by its smallest prime factor \(p\).
Still stuck? Show hint 2 →
Hint 2 of 2
Set \(n/p = n - 6\) and solve \(n = 6p/(p-1)\), then see which primes \(p\) make \(n\) a whole number.
Show solution
Approach: the largest proper factor is \(n\) over its smallest prime factor
  1. The largest proper factor of \(n\) is \(n/p\), where \(p\) is the smallest prime factor of \(n\).
  2. Require \(n/p = n - 6\), i.e. \(n(p-1) = 6p\), so \(n = \dfrac{6p}{p-1}\).
  3. \(p = 2\) gives \(n = 12\), \(p = 3\) gives \(n = 9\), \(p = 7\) gives \(n = 7\) (and these each check out); no other prime makes \(n\) whole.
  4. So there are exactly 3 good integers — answer (C).
Mark: · log in to save
Problem 17 · 2019 Math Kangaroo Stretch
Number Theory factor-pairssum-constraint

A natural number greater than 0 is written on each side of the die shown (the three visible faces show 10, 15 and 5). All products of opposite numbers are equal. What is the smallest possible sum of all 6 numbers?

Figure for Math Kangaroo 2019 Problem 17
Show answer
Answer: C — 41
Show hints
Hint 1 of 3
Every pair of opposite faces multiplies to the same number; call it k.
Still stuck? Show hint 2 →
Hint 2 of 3
Then each hidden face is k divided by the face across from it, so k must divide 10, 15 and 5 evenly.
Still stuck? Show hint 3 →
Hint 3 of 3
Pick the smallest such k to make the hidden faces as small as possible, then add all six.
Show solution
Approach: choose smallest common product k
  1. The three shown faces 10, 15, 5 each have an opposite face, and all three opposite products equal some k.
  2. Each opposite is k÷10, k÷15, k÷5, so k must be a multiple of 10, 15 and 5 — smallest is k = 30.
  3. Then the opposites are 3, 2, 6, and the six faces sum to 10+15+5+3+2+6 = 41 (C).
Mark: · log in to save
Problem 19 · 2019 Math Kangaroo Stretch
Number Theory place-valuecareful-counting

The pages of a book are numbered with 1, 2, 3, 4, 5 and so on. The digit 5 appears exactly 16 times. What is the maximum number of pages the book can have?

Show answer
Answer: B — 64
Show hints
Hint 1 of 2
Count where the digit 5 shows up as you list page numbers 1, 2, 3, ...
Still stuck? Show hint 2 →
Hint 2 of 2
The block 50-59 alone contributes ten 5s (the tens digit); add those to the single 5s like 5, 15, 25, ...
Show solution
Approach: count occurrences of the digit 5
  1. Up to 49 the 5s appear at 5, 15, 25, 35, 45: five of them.
  2. The block 50-59 has a 5 in every tens digit: ten more, plus the extra units-5 in 55, reaching the 16th by page 59.
  3. Pages 60-64 add no new 5s, but page 65 would add a 17th.
  4. So the most pages with exactly sixteen 5s is 64 (B).
Mark: · log in to save
Problem 20 · 2019 Math Kangaroo Stretch
Number Theory divisibility

Benjamin writes a number into the first circle. He then carries out the calculations shown along the arrows and each time writes the result in the next circle. How many of the six numbers are divisible by 3?

Figure for Math Kangaroo 2019 Problem 20
Show answer
Answer: B — 2
Show hints
Hint 1 of 3
The starting number is unknown, so try a few different starting numbers and watch which results land on multiples of 3.
Still stuck? Show hint 2 →
Hint 2 of 3
Among any three numbers in a row, exactly one is a multiple of 3.
Still stuck? Show hint 3 →
Hint 3 of 3
Check whether the count of multiples of 3 stays the same no matter where you start.
Show solution
Approach: try a couple of starting numbers and spot the steady pattern
  1. Pick an easy start and follow the arrows; then pick a different start and do it again, each time circling the results that are multiples of 3.
  2. Both times you find exactly two multiples of 3: one comes from the first three numbers (one of any three numbers in a row is always a multiple of 3), and one comes from the step that multiplies by 3.
  3. The last two results are always 2 more, and double of that, so they are never multiples of 3, leaving exactly 2 divisible by 3 (B).
  4. Why it is always exactly 2 (algebra)If the start is n, the six numbers are n, n+1, n+2, 3(n+2), 3(n+2)+2, and 6(n+2)+4. Exactly one of n, n+1, n+2 is divisible by 3, 3(n+2) always is, and the last two leave remainders 2 and 1, so the count is always 2.
Mark: · log in to save
Problem 20 · 2019 Math Kangaroo Hard
Number Theory place-valuedigit-sum

The sum of the seven digits of a seven-digit phone number aaabbbb is a two-digit number ab. How big is the value of the sum a + b?

Show answer
Answer: C — 10
Show hints
Hint 1 of 2
The seven digits are three a's and four b's, summing to the two-digit number “ab”.
Still stuck? Show hint 2 →
Hint 2 of 2
Set 3a + 4b = 10a + b and solve for the digits.
Show solution
Approach: turn the digit-sum condition into an equation
  1. Digit sum = 3a + 4b; the two-digit value “ab” = 10a + b.
  2. So 3a + 4b = 10a + b, giving 3b = 7a, hence a = 3, b = 7.
  3. Then a + b = 10.
Mark: · log in to save
Problem 21 · 2019 Math Kangaroo Hard
Number Theory divisibilitycareful-counting

If one of the digits of a two-digit number is deleted, the result in both cases is a factor of the original number. How many two-digit numbers have this property?

Show answer
Answer: C — 14
Show hints
Hint 1 of 3
Deleting a digit leaves a single digit; the original must be divisible by each remaining digit.
Still stuck? Show hint 2 →
Hint 2 of 3
Require the number to be divisible by both its tens digit and its units digit.
Still stuck? Show hint 3 →
Hint 3 of 3
Every multiple of 11 works, plus a few others — count them all.
Show solution
Approach: test divisibility by each single digit
  1. For a number with tens t and units u, both u and t must divide it (u ≠ 0).
  2. Through 10–99 the ones that pass are 11, 12, 15, 22, 24, 33, 36, 44, 48, 55, 66, 77, 88, 99.
  3. That is 14 numbers.
Mark: · log in to save
Problem 22 · 2019 Math Kangaroo Hard
Number Theory divisibilitysum-constraint

60 apples and 60 pears in total are shared out among several boxes. There should be the same number of apples in each box, but no two boxes should contain the same number of pears. Each box contains both fruits. What is the maximum number of boxes that can be filled in this way?

Show answer
Answer: D — 10
Show hints
Hint 1 of 3
Equal apples per box means the number of boxes divides 60.
Still stuck? Show hint 2 →
Hint 2 of 3
Distinct positive pear counts summing to 60 need at least 1+2+…+k; combine both limits.
Still stuck? Show hint 3 →
Hint 3 of 3
Find the largest k with 60 divisible by k and 1+2+…+k ≤ 60.
Show solution
Approach: combine the apple and pear constraints
  1. With k boxes, k must divide 60 (equal apples) and 1+2+…+k ≤ 60 (distinct pear counts).
  2. 1+…+10 = 55 ≤ 60 and 10 divides 60, so k = 10 works.
  3. k = 12 fails (1+…+12 = 78 > 60), so the maximum is 10 boxes.
Mark: · log in to save
Problem 7 · 2018 Math Kangaroo Hard
Number Theory factorizationdivisibility

Maria wants to share 42 apples, 60 peaches and 90 cherries fairly. She puts them into baskets that each hold the same number of apples, the same number of peaches and the same number of cherries, and gives one basket to each friend. At most, how many baskets can she fill?

Show answer
Answer: B — 6
Show hints
Hint 1 of 2
The number of baskets must divide each of 42, 60 and 90 exactly.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the greatest common divisor of 42, 60 and 90.
Show solution
Approach: greatest common divisor
  1. Each fruit count must split evenly among the baskets, so the number of baskets divides 42, 60 and 90.
  2. The largest such number is gcd(42, 60, 90) = 6.
  3. So she can fill at most 6 baskets.
Mark: · log in to save
Problem 8 · 2018 Math Kangaroo Hard
Number Theory cryptarithmplace-value

In the correct addition shown, some digits were replaced by the letters P, Q, R and S. What is the value of P + Q + R + S?

Figure for Math Kangaroo 2018 Problem 8
Show answer
Answer: B — 15
Show hints
Hint 1 of 2
Work column by column, watching for a carry.
Still stuck? Show hint 2 →
Hint 2 of 2
The units column 5 + S ends in 4, and the tens column 4 + R ends in 5.
Show solution
Approach: solve the addition column by column
  1. Units: 5 + S ends in 4, so S = 9 with a carry of 1.
  2. Tens: 4 + R + 1 (carry) ends in 5, so R = 0 with a carry of 1.
  3. Hundreds: P + Q + 1 (carry) = 6, so P + Q = 5.
  4. Thus P + Q + R + S = 5 + 0 + 9 = 15.
Mark: · log in to save
Problem 12 · 2018 Math Kangaroo Hard
Number Theory divisibilitycareful-counting

105 numbers are written in a row: 1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, … where each number n is written exactly n times. How many of those numbers are divisible by 3?

Show answer
Answer: D — 30
Show hints
Hint 1 of 2
1 + 2 + 3 + … + 14 = 105, so the row runs from 1 up to 14.
Still stuck? Show hint 2 →
Hint 2 of 2
Only the multiples of 3 (namely 3, 6, 9, 12) count, and each appears as many times as its value.
Show solution
Approach: sum the counts of the multiples of 3 up to 14
  1. Since 1 + 2 + … + 14 = 105, the numbers used run from 1 to 14.
  2. The multiples of 3 in that range are 3, 6, 9 and 12, each written that many times.
  3. Total = 3 + 6 + 9 + 12 = 30.
Mark: · log in to save
Problem 17 · 2018 Math Kangaroo Hard
Number Theory place-valuedivisibility

How many three-digit numbers have the property that the two-digit number obtained by deleting the middle digit is exactly one ninth of the original number?

Show answer
Answer: D — 4
Show hints
Hint 1 of 2
Write the number as \(100a+10b+c\); deleting the middle digit gives \(10a+c\).
Still stuck? Show hint 2 →
Hint 2 of 2
The condition \(100a+10b+c = 9(10a+c)\) simplifies to a relation between the digits.
Show solution
Approach: set up the place-value equation and count solutions
  1. Let the number be \(100a+10b+c\); deleting the middle digit gives \(10a+c\).
  2. The condition \(100a+10b+c = 9(10a+c)\) becomes \(10a+10b = 8c\), i.e. \(5(a+b)=4c\).
  3. So \(c\) is a multiple of 5, and \(c\neq 0\) forces \(c=5\), giving \(a+b=4\).
  4. With \(a\ge 1\): \((a,b)=(1,3),(2,2),(3,1),(4,0)\) — 4 numbers (135, 225, 315, 405).
Mark: · log in to save
Problem 18 · 2018 Math Kangaroo Hard
Number Theory place-value

Instead of digits, Hannes uses the letters A, B, C, and D in a calculation. Different letters stand for different digits, and the addition ABC + CBA = DDDD is correct (each group of letters is a number written with those digits in order). Which digit does the letter B stand for?

Show answer
Answer: A — 0
Show hints
Hint 1 of 2
Add ABC and CBA column by column and notice the symmetry of the outer digits.
Still stuck? Show hint 2 →
Hint 2 of 2
The sum 101(A + C) + 20B must equal a four-digit repdigit DDDD; only D = 1 fits, which pins B.
Show solution
Approach: add by place value and match to a repdigit
  1. ABC + CBA = 100(A+C) + 20B + (A+C) = 101(A+C) + 20B.
  2. This must equal DDDD = 1111 x D, and since the sum is below 2000 we need D = 1, so 101(A+C) + 20B = 1111.
  3. Taking A + C = 11 gives 1111, leaving 20B = 0.
  4. So B stands for 0.
Mark: · log in to save
Problem 18 · 2018 Math Kangaroo Hard
Number Theory factorizationprimes

Which of the following numbers is not a factor of \(18^{2017} + 18^{2018}\)?

Show answer
Answer: C — 28
Show hints
Hint 1 of 2
Factor out the common power of 18 first.
Still stuck? Show hint 2 →
Hint 2 of 2
18 = 2·3², so see which prime each option needs.
Show solution
Approach: factor the sum and check prime content of each option
  1. 18^2017 + 18^2018 = 18^2017(1+18) = 18^2017 · 19 = 2^2017 · 3^4034 · 19.
  2. Its prime factors are only 2, 3 and 19.
  3. Among the options, 28 = 2²·7 needs a factor of 7, which is absent.
  4. So 28 is not a factor.
Mark: · log in to save
Problem 19 · 2018 Math Kangaroo Hard
Number Theory place-value

How many digits does the result of the calculation \(\frac{1}{9}\cdot 10^{2018}\cdot(10^{2018}-1)\) have?

Show answer
Answer: D — 4036
Show hints
Hint 1 of 2
\(\tfrac{1}{9}(10^{2018}-1)\) is the repunit made of 2018 ones.
Still stuck? Show hint 2 →
Hint 2 of 2
Multiplying by \(10^{2018}\) just appends 2018 zeros.
Show solution
Approach: recognize the repunit, then append zeros
  1. \(10^{2018}-1\) is 2018 nines, so \(\tfrac{1}{9}(10^{2018}-1)\) is the number made of 2018 ones (2018 digits).
  2. Multiplying by \(10^{2018}\) appends 2018 zeros, adding 2018 more digits.
  3. Total digits = \(2018 + 2018 = \) 4036.
Mark: · log in to save
Problem 19 · 2018 Math Kangaroo Hard
Number Theory caseworkprimes

Three of the cards shown will be dealt to Nadia, the rest to Riny. Nadia multiplies the three values of her cards and Riny multiplies the two values of his cards. It turns out that the sum of those two products is a prime number. Determine the sum of the values of Nadia's cards.

Figure for Math Kangaroo 2018 Problem 19
Show answer
Answer: B — 13
Show hints
Hint 1 of 2
For the sum of the two products to be an odd prime, one product must be even and the other odd.
Still stuck? Show hint 2 →
Hint 2 of 2
Riny's two-card product is odd only if both his cards are odd — try the odd pairs from 3,5,7.
Show solution
Approach: use parity, then test the few odd pairs for Riny
  1. The card values are 3,4,5,6,7. A prime above 2 is odd, so one product is even, one odd.
  2. Riny's two-card product is odd only when both his cards are odd; the odd values are 3,5,7.
  3. Trying Riny = {5,7}: product 35, Nadia = {3,4,6}, product 72, and 72+35 = 107, which is prime.
  4. Nadia's cards are 3, 4, 6, summing to 13.
Mark: · log in to save
Problem 12 · 2017 Math Kangaroo Hard
Number Theory Counting & Probability place-valuecareful-counting

How many positive whole numbers n have the property that exactly one of the two numbers n and n + 20 has four digits?

Show answer
Answer: E — 40
Show hints
Hint 1 of 2
Four-digit numbers run from 1000 to 9999; when does exactly one of n and n+20 land in that band?
Still stuck? Show hint 2 →
Hint 2 of 2
Check the two edges of the band separately.
Show solution
Approach: find the two boundary windows where exactly one value is four-digit
  1. At the lower edge: n is three-digit but n+20 is four-digit when n = 980..999 — that is 20 values.
  2. At the upper edge: n is four-digit but n+20 is five-digit when n = 9980..9999 — another 20 values.
  3. In between, both are four-digit (not allowed). Total = 20 + 20 = 40, choice E.
Mark: · log in to save
Problem 14 · 2017 Math Kangaroo Hard
Algebra & Patterns Number Theory substitutionperfect-square

The sum of the squares of three consecutive positive whole numbers is 770. What is the biggest of these numbers?

Show answer
Answer: C — 17
Show hints
Hint 1 of 2
Call the middle number n and write the three squares around it.
Still stuck? Show hint 2 →
Hint 2 of 2
The cross terms cancel, leaving a tidy equation in n.
Show solution
Approach: centre the three numbers on n so the linear terms cancel
  1. Let the numbers be n−1, n, n+1. Then (n−1)² + n² + (n+1)² = 3n² + 2.
  2. Set 3n² + 2 = 770, so 3n² = 768 and n² = 256, giving n = 16.
  3. The biggest number is n + 1 = 17, choice C.
Mark: · log in to save
Problem 16 · 2017 Math Kangaroo Hard
Number Theory divisibility

The polynomial \(5x^3 + ax^2 + bx + 24\) has whole-number coefficients a and b. Which of the following numbers is definitely not a solution to the equation \(5x^3 + ax^2 + bx + 24 = 0\)?

Show answer
Answer: D — 5
Show hints
Hint 1 of 2
Any integer root of a polynomial with integer coefficients must divide the constant term.
Still stuck? Show hint 2 →
Hint 2 of 2
The constant term is 24; which listed candidate is not a divisor of 24?
Show solution
Approach: rational (integer) root test on the constant term
  1. An integer solution r of 5x^3 + ax^2 + bx + 24 = 0 must divide the constant term 24.
  2. Among 1, -1, 3, 5, 6, all divide 24 except 5.
  3. So 5 can never be a solution, whatever a and b are.
Mark: · log in to save
Problem 17 · 2017 Math Kangaroo Hard
Number Theory perfect-squarecareful-counting

Julia has 2017 round discs available: 1009 black ones and 1008 white ones. Using them, she wants to lay the biggest square pattern possible (as shown) and starts by using a black disc in the upper-left corner. She then lays the discs so that the colours alternate in each row and column. How many discs are left over when she has laid the biggest possible square?

Figure for Math Kangaroo 2017 Problem 17
Show answer
Answer: E — 40 white and 41 black
Show hints
Hint 1 of 2
A checkerboard square with a black corner has roughly half discs of each colour; find the biggest size that fits the supply.
Still stuck? Show hint 2 →
Hint 2 of 2
Try square sizes n x n and find the largest where black <= 1009 and white <= 1008, then count what is left.
Show solution
Approach: find the largest fitting checkerboard, then subtract
  1. For an n x n board starting black, with n even there are n^2/2 of each colour.
  2. n = 44 needs 968 black and 968 white, which fits; n = 46 needs 1058 each, too many.
  3. Leftover: 1009 - 968 = 41 black and 1008 - 968 = 40 white.
  4. So 40 white and 41 black are left over.
Mark: · log in to save
Problem 18 · 2017 Math Kangaroo Hard
Number Theory digit-sumdivisibility

Two consecutive positive whole numbers are written on a board. The sum of the digits of each number is divisible by 7. What is the minimum number of digits the smaller of the two numbers has to have?

Show answer
Answer: C — 5
Show hints
Hint 1 of 2
Normally adding 1 raises the digit sum by 1, so both sums can be multiples of 7 only when carrying happens.
Still stuck? Show hint 2 →
Hint 2 of 2
Trailing 9s cause big drops in the digit sum; figure out how many 9s are needed for both sums to stay divisible by 7.
Show solution
Approach: use trailing nines to control how the digit sum changes
  1. If the smaller number ends in k nines, adding 1 turns them to zeros and bumps the next digit, so the digit sum changes by 1 - 9k.
  2. For both digit sums divisible by 7 we need 9k = 1 (mod 7), i.e. 2k = 1 (mod 7), giving k = 4 as the smallest.
  3. Four trailing nines plus at least one leading digit (e.g. 69999) is needed, which has 5 digits.
Mark: · log in to save
Problem 20 · 2017 Math Kangaroo Hard
Number Theory Algebra & Patterns sum-constraintcasework

Seven positive whole numbers a, b, c, d, e, f, g are written down next to each other in this order. The sum of all seven numbers is 2017. Every two adjacent numbers always differ by 1. Which number can be equal to 286?

Show answer
Answer: A — only a or g
Show hints
Hint 1 of 2
Neighbours differ by 1, so the seven numbers alternate even, odd, even, … — and the odd total 2017 fixes which positions are even.
Still stuck? Show hint 2 →
Hint 2 of 2
286 is below the average of about 288, so ask which position can dip the lowest.
Show solution
Approach: parity rules out three spots, then check which can reach the smallest value
  1. Neighbours differ by 1, so the numbers alternate in parity. For the total 2017 to be odd, the four outer-pattern places a, c, e, g must be even and b, d, f odd.
  2. 286 is even, so it can only sit at one of a, c, e, g — that already rules out choices about b, d, f.
  3. The average is 2017 ÷ 7 ≈ 288, and since steps are only ±1, the smallest a number can be is 286, reached only by going straight down from an end. An inner even place (c or e) has values on both sides pulling it up, so it cannot get below 288.
  4. Hence 286 can occur only at an endpoint: only a or g, choice A.
Mark: · log in to save
Problem 23 · 2017 Math Kangaroo Stretch
Number Theory careful-counting

Diana adds either 2 or 5 to every whole number from 1 to 9. She wants to achieve as few different sums as possible. What is the minimum number of different values she obtains?

Show answer
Answer: B — 6
Show hints
Hint 1 of 2
Each number 1–9 becomes either n+2 or n+5; you choose to make sums coincide.
Still stuck? Show hint 2 →
Hint 2 of 2
The reachable sums run from 3 to 14 — choose so as few distinct values appear as possible.
Show solution
Approach: overlap the +2 and +5 results
  1. Adding 2 gives values 3..11; adding 5 gives 6..14; since n+5 = (n+3)+2, results three apart can be merged.
  2. Choosing cleverly, the distinct sums collapse to just 6, 7, 8, 9, 10, 11.
  3. The minimum number of different sums is 6.
Mark: · log in to save
Problem 12 · 2016 Math Kangaroo Hard
Number Theory factorization

In this number pyramid each number in a higher cell is equal to the product of the two numbers in the cells immediately underneath it. Which of the following numbers cannot appear in the topmost cell, if the cells on the bottom row hold only natural numbers greater than 1?

Figure for Math Kangaroo 2016 Problem 12
Show answer
Answer: D — 105
Show hints
Hint 1 of 2
Write the top cell as a product of the three bottom entries.
Still stuck? Show hint 2 →
Hint 2 of 2
The top equals a*b^2*c, so it must contain a perfect-square factor bigger than 1.
Show solution
Approach: express the apex as a*b^2*c
  1. With bottom cells a, b, c, the middle cells are ab and bc, and the top is ab*bc = a*b^2*c.
  2. So the top number must be divisible by some square b^2 with b greater than 1.
  3. Among the options, 105 = 3*5*7 is square-free, so it cannot appear: answer 105 (D).
Mark: · log in to save
Problem 15 · 2016 Math Kangaroo Hard
Number Theory factor-pairs

Diana cuts a rectangle of area 2016 into 56 identical squares. The side lengths of the rectangle and the squares are all whole numbers. For how many different rectangles can she do this? (Two rectangles are said to be different if they are not congruent.)

Show answer
Answer: B — 4
Show hints
Hint 1 of 2
Each square has the same area, so find that area first.
Still stuck? Show hint 2 →
Hint 2 of 2
2016/56 = 36, so squares are 6x6; count the rectangle shapes from the factor pairs of 56.
Show solution
Approach: fix the square size, count factor pairs
  1. Each square has area 2016/56 = 36, so side 6 (a whole number, good).
  2. The 56 squares form an m-by-n grid with m*n = 56.
  3. Non-congruent factor pairs: (1,56),(2,28),(4,14),(7,8), so 4 rectangles.
Mark: · log in to save
Problem 18 · 2016 Math Kangaroo Stretch
Number Theory place-value

Eight cards with the numbers 1, 2, 4, 8, 16, 32, 64, 128 are each in an unmarked envelope. Eva randomly chooses some of these eight envelopes. Ali takes the remaining ones. Both add their numbers together. They find out that Eva’s sum is 31 bigger than Ali’s sum. How many envelopes has Eva chosen?

Show answer
Answer: D — 5
Show hints
Hint 1 of 2
The eight cards are the powers of two from 1 to 128; their total is 255.
Still stuck? Show hint 2 →
Hint 2 of 2
If Eva's sum beats Ali's by 31 out of 255, find Eva's exact total, then read off its binary digits.
Show solution
Approach: binary split
  1. The cards total 1+2+…+128 = 255.
  2. Eva − Ali = 31 and Eva + Ali = 255, so Eva = (255+31)/2 = 143.
  3. 143 = 128+8+4+2+1, which is 5 cards.
Mark: · log in to save
Problem 18 · 2016 Math Kangaroo Hard
Number Theory digit-sumdivisibility

Three three-digit numbers are built using the digits 1 to 9 so that each of the nine digits is used exactly once. Which of the following numbers cannot be the sum of the three numbers?

Show answer
Answer: A — 1500
Show hints
Hint 1 of 2
The sum of all nine digits is fixed.
Still stuck? Show hint 2 →
Hint 2 of 2
1+2+...+9 = 45, so the total of the three numbers must be a multiple of 9.
Show solution
Approach: digit-sum divisibility by 9
  1. The nine digits 1..9 sum to 45, a multiple of 9, so the total of the three numbers is divisible by 9.
  2. Among the options only 1500 is not a multiple of 9 (1+5 = 6), so it cannot be the sum (A).
Mark: · log in to save
Problem 19 · 2016 Math Kangaroo Hard
Number Theory caseworkdivisibility

Each of the ten points in the diagram is labelled with one of the numbers 0, 1 or 2. It is known that the sum of the numbers in the corner points of each white triangle is divisible by 3, while the sum of the numbers in the corner points of each black triangle is not divisible by 3. Three of the points are already labelled as shown in the diagram. With which numbers can the inner point be labelled?

Figure for Math Kangaroo 2016 Problem 19
Show answer
Answer: A — only 0
Show hints
Hint 1 of 3
Read every condition modulo 3: a white triangle's three corners sum to 0, a black triangle's do not.
Still stuck? Show hint 2 →
Hint 2 of 3
Two triangles that share an edge differ only in their third corner, so compare the apex labels of triangles sitting on the same base.
Still stuck? Show hint 3 →
Hint 3 of 3
Chase the conditions outward from the given 0 and 2 to pin the inner point's residue.
Show solution
Approach: residues mod 3 on the triangular grid
  1. Work mod 3: each white (upward) triangle's corners sum to 0, each black (downward) triangle's corners do not.
  2. An upward and the downward triangle resting on the same edge share two corners, so their third corners must have different residues; this forces neighbouring apex labels apart.
  3. Starting from the labelled corners 0 and 2 and propagating these forced differences leaves the inner point only one possible residue.
  4. That residue is 0, so the inner point can be only 0 (A).
Mark: · log in to save
Problem 23 · 2016 Math Kangaroo Stretch
Number Theory cryptarithmdigit-sum

The symbols ◯, □ and ◇ stand for three different digits. If the digits of the number ◯□◯ are added, you get the two-digit number □◇. If the digits of the two-digit number □◇ are added, you get the single-digit number □. Which digit does ◯ stand for?

Show answer
Answer: E — 9
Show hints
Hint 1 of 3
Start from the last clue: adding the two digits of □◇ gives □ again.
Still stuck? Show hint 2 →
Hint 2 of 3
If □ + ◇ = □, the diamond ◇ must be 0.
Still stuck? Show hint 3 →
Hint 3 of 3
Now use that the digits of ◯□◯ add to the two-digit number □0.
Show solution
Approach: chase the digit clues from the smallest one up
  1. The last clue says □ + ◇ = □, and the only way adding ◇ leaves □ unchanged is ◇ = 0, so the two-digit number □◇ ends in 0.
  2. The first clue says the digits of ◯□◯ add to that number, so ◯ + □ + ◯ = (a multiple of 10), i.e. 2◯ + □ is 10, 20, ...
  3. Trying □0 = 20 gives 2◯ + 2 = 20, so ◯ = 9, and the digits are all different (9, 2, 0).
  4. Check: 929 has digit sum \(9+2+9 = 20\), and \(2+0 = 2\) — it works, so ◯ = 9, choice (E).
Mark: · log in to save
Problem 23 · 2016 Math Kangaroo Stretch
Number Theory divisibilitycasework

Leo has built a stick made up of 27 building blocks (see picture). He splits the stick into two pieces so that one part is twice as long as the other. He keeps repeating this: each time he takes one of the two pieces and splits it so that one piece is twice as long as the other. Which of the following pieces can never result in this way? (The choices are pieces of length 2, 4, 6, 8 and 10 blocks.)

Figure for Math Kangaroo 2016 Problem 23
Show answer
Answer: E — 10
Show hints
Hint 1 of 2
Splitting a piece into a 2:1 ratio only works when its length divides into three equal parts.
Still stuck? Show hint 2 →
Hint 2 of 2
List every length you can reach starting from 27 and see which option never appears.
Show solution
Approach: track which lengths a 2:1 split can produce
  1. 27 splits into 18 and 9; 18 splits into 12 and 6; 9 splits into 6 and 3; 12 splits into 8 and 4; 6 splits into 4 and 2.
  2. The reachable lengths are 2, 3, 4, 6, 8, 9, 12, 18, 27.
  3. A 10-block piece never appears, so 10 can never result.
Mark: · log in to save
Problem 24 · 2016 Math Kangaroo Stretch
Number Theory place-valuecasework

Two three-digit numbers are made up of six different digits. The first digit of the second number is twice as big as the last digit of the first number. (Note: 0 is also a digit, but cannot be the first digit of a number.) What is the smallest possible sum of the two numbers?

Show answer
Answer: C — 537
Show hints
Hint 1 of 3
The hundreds digits matter most, so make those two as small as you can.
Still stuck? Show hint 2 →
Hint 2 of 3
The second number's first digit is twice the first number's last digit, so test small even leading digits like 2 or 4.
Still stuck? Show hint 3 →
Hint 3 of 3
Once the hundreds and that linked pair are fixed, fill the leftover spots with the smallest unused digits.
Show solution
Approach: make the hundreds digits smallest, respecting the doubling rule
  1. The two hundreds digits drive the sum, so we want them tiny; the smallest nonzero hundreds digit is 1 for the first number.
  2. The second number's hundreds digit must be double the first number's units digit, and the smallest workable pair is units 2 with hundreds 4, so the numbers look like 1?2 and 4?? .
  3. Fill the remaining slots with the smallest unused digits 0, 3, 5: that gives 102 and 435, all six digits different.
  4. Their sum \(102 + 435 = 537\) is the smallest possible, choice (C).
Mark: · log in to save
Problem 24 · 2016 Math Kangaroo Stretch
Number Theory divisibility

Little Red Riding Hood is taking waffles to three grandmothers. Her basket starts completely full. Just before she reaches each grandmother’s house, the wolf eats half of the waffles in the basket. When she leaves the third grandmother, the basket is empty. Each grandmother gets the same number of waffles. The original number of waffles can definitely be divided by which of the following numbers?

Show answer
Answer: D — 7
Show hints
Hint 1 of 2
Work backward: before each grandmother the basket held twice what it held after.
Still stuck? Show hint 2 →
Hint 2 of 2
Each grandmother gets the same amount; reconstruct the start as a multiple, then see what must divide it.
Show solution
Approach: work backward through the halvings
  1. The wolf halves the basket before each of the 3 grandmothers, and each grandmother takes the same amount g.
  2. Working backward through the three halvings and equal gifts, the original amount comes out as a multiple of 7.
  3. So the original number of waffles is always divisible by 7.
Mark: · log in to save
Problem 26 · 2016 Math Kangaroo Stretch
Number Theory factor-pairsfactorization

Natural numbers, no two the same, are written on a board. The product of the two smallest is 16, and the product of the two largest is 225. What is the sum of all the numbers on the board?

Show answer
Answer: C — 44
Show hints
Hint 1 of 3
The two smallest numbers multiply to 16; the two largest to 225. Factor each.
Still stuck? Show hint 2 →
Hint 2 of 3
Pick distinct factor pairs that can be the smallest two and largest two, with no room for numbers in between.
Still stuck? Show hint 3 →
Hint 3 of 3
Then add all the numbers.
Show solution
Approach: identify the extreme pairs by factoring
  1. The two smallest distinct naturals with product 16 are 2 and 8; the two largest distinct with product 225 are 9 and 25.
  2. Since 8 and 9 are consecutive, no other number can fit between the small and large pairs, so the board holds exactly 2, 8, 9, 25.
  3. Their sum is 2 + 8 + 9 + 25 = 44.
Mark: · log in to save
Problem 12 · 2015 Math Kangaroo Stretch
Number Theory digit-sumcasework

Each day Maria writes down the date and then adds together the individual digits. For instance, today on the 23rd March she writes 23. 03. and calculates 2 + 3 + 0 + 3 = 8. What is the largest total she can make in this way in the course of a year?

Show answer
Answer: E — 20
Show hints
Hint 1 of 2
Maximise the day part and the month part of the digit sum separately.
Still stuck? Show hint 2 →
Hint 2 of 2
The month with the biggest digit sum is September (0 + 9), and you want the day with the biggest digit sum that still exists in that month.
Show solution
Approach: maximise the day-digits and month-digits separately
  1. For the month, 09 gives the largest digit sum 0 + 9 = 9 (months 10, 11, 12 give only 1, 2, 3).
  2. For the day, 29 gives 2 + 9 = 11, the biggest possible (31 gives only 4), and the 29th exists in September.
  3. So the largest total is 29.09 → 2 + 9 + 0 + 9 = 20.
Mark: · log in to save
Problem 15 · 2015 Math Kangaroo Stretch
Number Theory ages

Lucy and her mother were both born in January. Today, on 23rd March 2015, Lucy adds together her year of birth, that of her mother, her age, and that of her mother. Which answer does she get?

Show answer
Answer: C — 4030
Show hints
Hint 1 of 2
Both birthdays are in January, so by 23 March each has already had her birthday this year.
Still stuck? Show hint 2 →
Hint 2 of 2
For anyone, year of birth + current age equals the current year once the birthday has passed.
Show solution
Approach: year of birth plus current age equals the present year
  1. Since both were born in January, by 23 March 2015 each has already turned a year older this year.
  2. So Lucy's birth year + Lucy's age = 2015, and likewise her mother's birth year + her mother's age = 2015.
  3. Adding all four numbers gives 2015 + 2015 = 4030.
Mark: · log in to save
Problem 19 · 2015 Math Kangaroo Hard
Number Theory digit-sum

There are 2015 marbles in a pipe. They are numbered 1 to 2015. Marbles whose digits add up to the same number have the same colour, and marbles whose digits have a different sum have a different colour. How many different colours do the marbles in the pipe have?

Show answer
Answer: C — 28
Show hints
Hint 1 of 2
The colour of a marble depends only on its digit sum.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the smallest and largest digit sum occurring among 1 to 2015 — then count the values in between.
Show solution
Approach: count the distinct digit sums from 1 to 2015
  1. Colours correspond exactly to the different digit sums that appear.
  2. The smallest digit sum is 1 (e.g. 1, 1000) and the largest is 28 (from 1999).
  3. Every value from 1 to 28 is achievable, so there are 28 colours (C).
Mark: · log in to save
Problem 22 · 2015 Math Kangaroo Stretch
Number Theory careful-countingnumber-systems

How many two-digit numbers can be written as sum of exactly six different powers of two? (Powers of two are \(2^0\), \(2^1\), \(2^2\), …)

Show answer
Answer: C — 2
Show hints
Hint 1 of 2
A sum of six different powers of two is a number with exactly six 1's in binary.
Still stuck? Show hint 2 →
Hint 2 of 2
Find two-digit numbers (10–99) whose binary form has exactly six ones.
Show solution
Approach: count two-digit numbers with six binary 1's
  1. Six different powers of two means six 1-bits in binary.
  2. Smallest such: 1 + 2 + 4 + 8 + 16 + 32 = 63 (= 111111 in binary).
  3. Swapping the 32 for 64 gives 1 + 2 + 4 + 8 + 16 + 64 = 95; any other choice exceeds 99.
  4. So there are 2 such numbers (63 and 95).
Mark: · log in to save
Problem 24 · 2015 Math Kangaroo Hard
Number Theory divisibility

How many regular n-sided shapes are there whose angles (in degrees) are whole numbers?

Show answer
Answer: C — 22
Show hints
Hint 1 of 2
A regular n-gon's interior angle is 180 − 360/n.
Still stuck? Show hint 2 →
Hint 2 of 2
It is a whole number exactly when n divides 360.
Show solution
Approach: count divisors of 360 that are at least 3
  1. The interior angle 180 − 360/n is a whole number exactly when n divides 360.
  2. 360 = 2³·3²·5 has 4×3×2 = 24 divisors; a polygon needs n ≥ 3, so drop n = 1 and 2.
  3. That leaves 22 valid values of n (C).
Mark: · log in to save
Problem 25 · 2015 Math Kangaroo Hard
Number Theory number-systemscareful-counting

How many three-digit whole numbers can be written as the sum of exactly nine different powers of two? (Hint: powers of two are 20, 21, 22, 23, …)

Show answer
Answer: E — 5
Show hints
Hint 1 of 2
A sum of nine different powers of two is a number with exactly nine 1's in binary.
Still stuck? Show hint 2 →
Hint 2 of 2
Keep the value between 100 and 999 — only the bottom ten bits are available.
Show solution
Approach: count numbers with exactly nine binary 1's in 100..999
  1. Such a number has exactly nine 1-bits; to stay under 1000 it can only use bits 0 through 9 (ten positions).
  2. Choosing nine of those ten bits means leaving one bit out: 1023 − 2^b.
  3. This is a 3-digit number for b = 5,6,7,8,9 (values 991,959,895,767,511) — exactly 5 numbers (E).
Mark: · log in to save
Problem 27 · 2015 Math Kangaroo Stretch
Number Theory sum-constraintcasework

On a straight line there are five points. Alex measures all the distances between every possible pair of points. He obtains in ascending order 2, 5, 6, 8, 9, k, 15, 17, 20 and 22. What is the value of k?

Show answer
Answer: E — 14
Show hints
Hint 1 of 2
Five points give 10 pairwise distances; the largest is the whole span and the smallest are the outer gaps.
Still stuck? Show hint 2 →
Hint 2 of 2
Fix the endpoints at 0 and 22, fit the inner points to match the distances, then read off the missing one.
Show solution
Approach: reconstruct the point positions from the distances
  1. Put the endpoints at 0 and 22, so the span 22 is the largest distance.
  2. The two smallest gaps, 2 and 5, sit at the ends, which places points at 2 and 17; matching the rest forces the last point to 8, giving coordinates 0, 2, 8, 17, 22.
  3. Their ten pairwise distances are 2, 5, 6, 8, 9, 14, 15, 17, 20, 22; the one missing from the given list is 14, so k = 14.
  4. So k = 14 (E).
Mark: · log in to save
Problem 29 · 2015 Math Kangaroo Stretch
Number Theory divisibilitycasework

Maria divides 2015 by 1. Then she divides 2015 by 2, and then in order by 3, 4 and so on up to and including 1000. For each division she writes down the remainder. What is the biggest remainder she has noted down?

Show answer
Answer: C — 671
Show hints
Hint 1 of 2
The remainder is always less than the divisor, so big remainders need a divisor a bit above a half (or third) of 2015.
Still stuck? Show hint 2 →
Hint 2 of 2
With the divisor capped at 1000, try n just above 2015/3 so the quotient is 2 and the remainder 2015 - 2n is large.
Show solution
Approach: maximise the remainder under the divisor cap of 1000
  1. The remainder of 2015 divided by n is at most n - 1, and n only runs up to 1000.
  2. For n between 672 and 1007 the quotient is 2, so the remainder is 2015 - 2n, which is largest when n is smallest in that range.
  3. At n = 672 the remainder is 2015 - 1344 = 671, and nothing under the cap beats it.
  4. So the biggest remainder is 671 (C).
Mark: · log in to save
Problem 30 · 2015 Math Kangaroo Stretch
Number Theory caseworklogic

Each positive whole number is coloured in according to the following three rules: (i) Each number is either red or green. (ii) The sum of two different red numbers is a red number. (iii) The sum of two different green numbers is a green number. How many ways are there to do this?

Show answer
Answer: D — 6
Show hints
Hint 1 of 2
The two rules force strong closure: sums of like-coloured numbers keep their colour.
Still stuck? Show hint 2 →
Hint 2 of 2
Colour 1, 2, 3, ... and chase the forced consequences to count how many consistent colourings of all positive integers exist.
Show solution
Approach: count the colourings closed under the two sum-rules
  1. Reds are closed under adding two distinct reds, and greens under adding two distinct greens.
  2. Fixing the colours of the smallest numbers forces almost everything else, leaving only a few consistent patterns.
  3. Carefully enumerating them gives exactly 6 valid colourings.
  4. So there are 6 (D) ways.
Mark: · log in to save
Problem 13 · 2014 Math Kangaroo Hard
Number Theory sum-constraint

A grandmother, her daughter and her granddaughter find that the sum of their ages is 100. Each age is a power of two (that is, several twos multiplied together). How old is the granddaughter?

Show answer
Answer: C — 4
Show hints
Hint 1 of 2
Each age is a power of two: 1, 2, 4, 8, 16, 32, 64, ...
Still stuck? Show hint 2 →
Hint 2 of 2
Find three powers of two that add to 100; the smallest one is the granddaughter.
Show solution
Approach: write 100 as a sum of three powers of two
  1. The grandmother must be the oldest power of two under 100, so try 64; that leaves 36 for the other two ages.
  2. Two powers of two adding to 36 can only be 32 + 4, so the ages are 64, 32 and 4.
  3. The youngest, the granddaughter, is 4.
Mark: · log in to save
Problem 15 · 2014 Math Kangaroo Hard
Number Theory divisibilitypath-tracing

In the figure, the heart and the arrow are arranged as pictured. At the same moment the heart and the arrow begin to move. The arrow moves around the figure 3 spaces clockwise and the heart 4 spaces anticlockwise, and then they stop. This process repeats over and over again. After how many repetitions does the arrow find itself for the first time in the same triangle as the heart?

Figure for Math Kangaroo 2014 Problem 15
Show answer
Answer: E — That will never happen
Show hints
Hint 1 of 2
After r repetitions the arrow has moved 3r spaces one way and the heart 4r spaces the other way, around 7 triangles.
Still stuck? Show hint 2 →
Hint 2 of 2
Look at the gap between them modulo 7: each repetition changes it by a fixed amount that never makes it zero.
Show solution
Approach: track the gap between them around the ring of 7 triangles
  1. The figure is a ring of 7 triangles. In one repetition the arrow moves 3 spaces one way and the heart 4 spaces the other way.
  2. So in each repetition the arrow gains \(3+4 = 7\) spaces on the heart, which is a whole lap around the 7 triangles.
  3. Gaining exactly 7 spaces each time returns them to the same relative positions, so the gap between them never changes.
  4. Since they do not start in the same triangle, they can never meet.
Mark: · log in to save
Problem 17 · 2014 Math Kangaroo Stretch
Number Theory divisibility

Lea plays with her marbles, placing them in small groups on the table. In groups of three, two marbles are left over. In groups of five, again two are left over. How many more marbles does Lea need so that she can place them in groups of three and in groups of five with none left over?

Show answer
Answer: E — 13
Show hints
Hint 1 of 2
Leaving 2 over for both groups of three and groups of five means leaving 2 over for groups of fifteen.
Still stuck? Show hint 2 →
Hint 2 of 2
She wants a multiple of 15; find the next multiple of 15 above her current count and see how many more marbles that needs.
Show solution
Approach: use that 2 left over mod 3 and mod 5 means 2 left over mod 15
  1. Leaving 2 over in groups of three and in groups of five means leaving 2 over in groups of fifteen.
  2. So her smallest possible count is 2; to split evenly into both 3s and 5s she needs a multiple of 15.
  3. The next multiple of 15 after 2 is 15, which is 15 − 2 = 13 more marbles.
  4. She needs 13 more marbles.
Mark: · log in to save
Problem 19 · 2014 Math Kangaroo Hard
Number Theory divisibilitycasework

Among 10 different positive whole numbers, exactly 5 are divisible by 5 and exactly 7 are divisible by 7. Let M be the biggest of these numbers. What is the smallest possible value of M?

Show answer
Answer: E — another value
Show hints
Hint 1 of 2
Multiples of 5 and multiples of 7 must fit inside just 10 numbers — they have to overlap.
Still stuck? Show hint 2 →
Hint 2 of 2
Overlap means multiples of 35; how few of those can you get away with, and how small can they be?
Show solution
Approach: count the forced overlap, then keep everything small
  1. Five multiples of 5 plus seven multiples of 7 is 12 'slots' but only 10 numbers, so at least 2 must be multiples of 35.
  2. The two smallest multiples of 35 are 35 and 70, so the largest number M is at least 70.
  3. Choosing 5,10,15,35,70 (the 5's) and 7,14,21,28,35,42,70 worth of 7's gives a valid set of 10 with M = 70.
  4. 70 is none of 105, 77, 75, 63, so the answer is (E) another value.
Mark: · log in to save
Problem 22 · 2014 Math Kangaroo Stretch
Number Theory cryptarithmplace-value

In each box exactly one of the digits 0, 1, 2, 3, 4, 5 and 6 is to be written. Each digit is used only once. The picture on the right shows two 2-digit numbers being added to give a 3-digit number. Which digit has to be written in the grey box so that the sum is correct?

Figure for Math Kangaroo 2014 Problem 22
Show answer
Answer: D — 5
Show hints
Hint 1 of 3
The answer has 3 digits, so the two 2-digit numbers must add up to at least 100.
Still stuck? Show hint 2 →
Hint 2 of 3
You only have the digits 0 to 6 once each, so the hundreds digit of the answer can only be 1.
Still stuck? Show hint 3 →
Hint 3 of 3
Once you know the answer starts with 1, fit the remaining digits and read the grey (ones) box.
Show solution
Approach: find the only valid sum, then read the grey (units) box
  1. Two 2-digit numbers add to a 3-digit number using 0..6 once each.
  2. The only working sum is 105 (e.g. 42 + 63), using digits 0,1,2,3,4,5,6.
  3. The grey box is the units digit of the result, which is 5.
  4. Answer: 5.
Mark: · log in to save
Problem 23 · 2014 Math Kangaroo Stretch
Number Theory factor-pairscasework

Mia writes three single-digit numbers on the board. Ali adds them and gets 15. Then he deletes one of the three numbers and replaces it with 3. Resi multiplies the three numbers and gets 36. Which numbers could Ali have deleted?

Show answer
Answer: B — either 7 or 8
Show hints
Hint 1 of 2
After swapping one number for 3, the product is 36, so the two untouched numbers multiply to 12.
Still stuck? Show hint 2 →
Hint 2 of 2
List the single-digit pairs that multiply to 12, then use the sum 15 to find the deleted number in each case.
Show solution
Approach: the two kept numbers multiply to 12; use the sum to recover the deleted one
  1. After replacing one number with 3, Resi's product 36 = 3 × (the two numbers Ali kept), so the kept pair multiplies to 12.
  2. Single-digit pairs with product 12 are 3 × 4 and 2 × 6.
  3. Since all three originals add to 15: if the kept pair is 3 and 4 (sum 7), the deleted number is 15 − 7 = 8; if the kept pair is 2 and 6 (sum 8), the deleted number is 15 − 8 = 7.
  4. So Ali could have deleted either 7 or 8.
Mark: · log in to save
Problem 25 · 2014 Math Kangaroo Stretch
Number Theory divisibilitycareful-counting

Tom has written down a few different positive whole numbers, all smaller than 101. The product of the numbers is not divisible by 18. At most how many numbers could he have written down?

Show answer
Answer: C — 68
Show hints
Hint 1 of 2
18 = 2 × 3², so the product fails only if it lacks a 2 or lacks two 3s.
Still stuck? Show hint 2 →
Hint 2 of 2
Keep as many numbers as possible while keeping the power of 3 below 2.
Show solution
Approach: control the factors of 3 to dodge 18
  1. Keep all 67 numbers from 1–100 that are not multiples of 3.
  2. Add one multiple of 3 that is not a multiple of 9 (one factor of 3 only); the product then isn't divisible by 9, hence not by 18.
  3. That gives 67 + 1 = 68 numbers.
Mark: · log in to save
Problem 12 · 2013 Math Kangaroo Medium
Number Theory divisibility

How many positive integers n are there for which both n3 and \(3n\) are three-digit numbers?

Show answer
Answer: A — 12
Show hints
Hint 1 of 2
Write both 'three-digit' conditions as ranges for n.
Still stuck? Show hint 2 →
Hint 2 of 2
Then keep only the n that are multiples of 3.
Show solution
Approach: intersect two ranges
  1. n/3 three-digit means 300 ≤ n ≤ 2997; 3n three-digit means 34 ≤ n ≤ 333.
  2. Together: 300 ≤ n ≤ 333 with n a multiple of 3.
  3. Those are 300,303,…,333 — twelve values, so A.
Mark: · log in to save
Problem 16 · 2013 Math Kangaroo Hard
Number Theory factorizationages

Today is Hans' and his son's birthday. Hans multiplies his age by the age of his son and obtains 2013. In which year was Hans born?

Show answer
Answer: A — 1952
Show hints
Hint 1 of 2
Factor 2013 and look for a pair of ages that could realistically be a father and son sharing a birthday.
Still stuck? Show hint 2 →
Hint 2 of 2
2013 = 3 × 11 × 61.
Show solution
Approach: factor 2013 into a sensible father-son age pair
  1. 2013 = 3 × 11 × 61.
  2. The only realistic father–son pair is 61 and 33 (61 × 33 = 2013).
  3. So Hans is 61 in 2013, meaning he was born in 2013 − 61 = 1952.
Mark: · log in to save
Problem 17 · 2013 Math Kangaroo Stretch
Number Theory divisibilitycareful-counting

The number 35 has a special property: it can be divided exactly by its units digit, because \(35 \div 5 = 7\). The number 38 does not have this property. How many numbers bigger than 21 but smaller than 30 have this property?

Show answer
Answer: B — 3
Show hints
Hint 1 of 3
Bigger than 21 and smaller than 30 means the numbers 22, 23, 24, 25, 26, 27, 28, 29.
Still stuck? Show hint 2 →
Hint 2 of 3
For each one, can you split it into equal groups of its last digit with none left over?
Still stuck? Show hint 3 →
Hint 3 of 3
Count how many of the eight numbers pass that test.
Show solution
Approach: test divisibility by the units digit
  1. 22 ÷ 2 = 11 (yes), 24 ÷ 4 = 6 (yes), 25 ÷ 5 = 5 (yes).
  2. 23, 26, 27, 28, 29 do not divide evenly by their last digit.
  3. So there are 3 such numbers.
Mark: · log in to save
Problem 18 · 2013 Math Kangaroo Medium
Number Theory factorizationcasework

How many pairs of positive integers \((x, y)\) solve the equation \(x^{2} \times y^{3} = 6^{12}\)?

Show answer
Answer: E — A different number.
Show hints
Hint 1 of 2
6^12 = 2^12 · 3^12, so x and y use only the primes 2 and 3.
Still stuck? Show hint 2 →
Hint 2 of 2
Split the exponent equations 2p+3r = 12 and count solutions for each prime separately.
Show solution
Approach: match prime exponents
  1. Need 2(exp in x) + 3(exp in y) = 12 for each of primes 2 and 3.
  2. 2p + 3r = 12 has 3 non-negative solutions; same for the prime 3.
  3. Total pairs = 3×3 = 9, which is none of A–D, so E.
Mark: · log in to save
Problem 19 · 2013 Math Kangaroo Hard
Number Theory sum-constraintcasework

Numbers are written in the 4 × 4 grid so that any two numbers in squares sharing an edge differ by 1. The number 3 is already given, and the number 9 is used somewhere in the grid. How many different numbers are used once the grid is completely filled in?

Figure for Math Kangaroo 2013 Problem 19
Show answer
Answer: D — 7
Show hints
Hint 1 of 3
Touching squares differ by exactly 1, so as you step across the grid the number only goes up or down by 1 each time.
Still stuck? Show hint 2 →
Hint 2 of 3
To get from a 3 to a 9 you must pass through every value in between.
Still stuck? Show hint 3 →
Hint 3 of 3
List the numbers you are forced to step through from 3 up to 9 and count them.
Show solution
Approach: track the range of values forced by the rules
  1. Moving from one square to a touching square changes the number by just 1, so to climb from 3 up to 9 you must step through 4, 5, 6, 7 and 8 along the way.
  2. That forces all of 3, 4, 5, 6, 7, 8, 9 to appear in the grid.
  3. So 7 different numbers are used, which is choice D.
Mark: · log in to save
Problem 20 · 2013 Math Kangaroo Hard
Number Theory divisibilitycasework

Given a six-digit number whose digit sum is even and whose digit product is odd. Which of the following statements is true for this number?

Show answer
Answer: E — None of the statements (A)–(D) are correct.
Show hints
Hint 1 of 2
A product of digits is odd only when every single digit is odd.
Still stuck? Show hint 2 →
Hint 2 of 2
With all six digits odd, check each statement — and remember there are only five odd digits to choose from.
Show solution
Approach: deduce all digits are odd, then test each claim
  1. An odd digit product forces all six digits to be odd (any even digit would make the product even).
  2. Six odd digits sum to an even number, matching the condition — so such numbers exist (e.g. 111111).
  3. Now: (A) zero even digits, false; (C) six odd digits is an even count, false; (D) only five distinct odd digits exist, so six different is impossible, false.
  4. Every listed statement fails, so the answer is E.
Mark: · log in to save
Problem 21 · 2013 Math Kangaroo Stretch
Number Theory factorizationdigit-sum

Ralf wants to tell Karl a number whose digits multiply to exactly 24. What is the digit sum of the smallest number Ralf can say?

Show answer
Answer: E — 11
Show hints
Hint 1 of 2
Find digits whose product is 24, using as few digits as possible.
Still stuck? Show hint 2 →
Hint 2 of 2
Among same-length numbers, put the smaller digit first to make the number smallest.
Show solution
Approach: smallest number with given digit product
  1. Two single digits can multiply to 24: 4×6 or 3×8.
  2. The smallest two-digit number from these is 38 (since 38 < 46).
  3. No one-digit number works, so 38 is the smallest possible number.
  4. Its digit sum is 3 + 8 = 11.
Mark: · log in to save
Problem 21 · 2013 Math Kangaroo Stretch
Number Theory factorization

How many pairs of integers \((x, y)\) with \(x \le y\) are there such that their product is exactly five times their sum?

Show answer
Answer: A — 4
Show hints
Hint 1 of 2
Rewrite xy = 5(x+y) so the variables separate.
Still stuck? Show hint 2 →
Hint 2 of 2
Add a constant to both sides to factor as a product equal to 25.
Show solution
Approach: Simon-style factoring
  1. xy = 5x + 5y → (x−5)(y−5) = 25.
  2. Integer factor pairs of 25 (with x ≤ y) give (6,30), (10,10), (0,0), (−20,4).
  3. That is 4 pairs: A.
Mark: · log in to save
Problem 24 · 2013 Math Kangaroo Stretch
Number Theory Algebra & Patterns place-valuedigit-sum

Robert chose a five-digit positive number. He removed one of its digits, leaving a four-digit number. The sum of this four-digit number and the original five-digit number is 52713. What is the digit sum of the original five-digit number?

Show answer
Answer: C — 23
Show hints
Hint 1 of 2
The five-digit number plus the four-digit number is 52713; estimate the five-digit number's size.
Still stuck? Show hint 2 →
Hint 2 of 2
Removing a digit relates the two numbers through place value — set up and solve.
Show solution
Approach: place-value relation between N and the trimmed number
  1. Let N be the five-digit number and M the four-digit number; N + M = 52713.
  2. Since M is N with one digit removed, N is a little under 52713, around 47921.
  3. Solving gives N = 47921 (and M = 4792), whose digits sum to 4+7+9+2+1 = 23.
  4. So the digit sum of the original number is 23.
Mark: · log in to save
Problem 25 · 2013 Math Kangaroo Stretch
Number Theory number-systems

Let \(f : \mathbb{N} \to \mathbb{N}\) be defined by \(f(n) = \frac{n}{2}\) for even n and \(f(n) = \frac{n-1}{2}\) for odd n. For a positive integer k, let \(f^{k}(n)\) mean applying f a total of k times. How many solutions does the equation \(f^{2013}(n) = 1\) have?

Show answer
Answer: D — \(2^{2013}\)
Show hints
Hint 1 of 2
For both even and odd n, the map is just the integer halving floor(n/2).
Still stuck? Show hint 2 →
Hint 2 of 2
Applying it k times gives floor(n / 2^k).
Show solution
Approach: iterate the halving map
  1. f(n) = floor(n/2) for every n, so f^2013(n) = floor(n / 2^2013).
  2. This equals 1 exactly when 2^2013 ≤ n < 2^2014.
  3. That interval holds 2^2013 integers, so D.
Mark: · log in to save
Problem 27 · 2013 Math Kangaroo Stretch
Algebra & Patterns Number Theory spiral-patternarithmetic-series

A sequence of numbers begins 1, −1, −1, 1, −1. Each new number is the product of the two numbers before it (for example, the sixth number is the product of the fourth and fifth). What is the sum of the first 2013 numbers?

Show answer
Answer: B — −671
Show hints
Hint 1 of 2
Compute a few more terms; the sequence soon repeats.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the repeating block and its sum, then count how many blocks fit in 2013 terms.
Show solution
Approach: find the period and sum blocks
  1. The terms run 1, −1, −1, 1, −1, −1, 1, −1, −1, … — the block (1, −1, −1) repeats.
  2. Each block of 3 sums to −1.
  3. 2013 = 3 × 671, so there are 671 complete blocks.
  4. Total = 671 × (−1) = −671.
Mark: · log in to save
Problem 27 · 2013 Math Kangaroo Stretch
Number Theory arithmetic-series

If you add the first n positive integers, you get a three-digit number with all three digits the same. What is the digit sum of n?

Show answer
Answer: B — 9
Show hints
Hint 1 of 2
The sum of the first n integers is n(n+1)/2; the target is a repdigit like 111, 222, …
Still stuck? Show hint 2 →
Hint 2 of 2
Test which of 111–999 is triangular.
Show solution
Approach: triangular number that is a repdigit
  1. n(n+1)/2 must be one of 111,222,…,999.
  2. 666 works: n(n+1)=1332 gives n=36.
  3. Digit sum of 36 is 3+6 = 9, so B.
Mark: · log in to save
Problem 29 · 2013 Math Kangaroo Stretch
Number Theory Algebra & Patterns sum-constraint

Each of the 4 vertices and 6 edges of a tetrahedron is labelled with one of the numbers 1, 2, 3, 4, 5, 6, 7, 8, 9, 11 (the number 10 is left out), each used exactly once. The number on each edge is the sum of the numbers on the two vertices it connects. The edge AB has the number 9. With which number is the edge CD labelled?

Figure for Math Kangaroo 2013 Problem 29
Show answer
Answer: B — 5
Show hints
Hint 1 of 2
Add up all ten labels, and note each vertex value is counted in three edges.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the vertex-sum first; opposite edges (like AB and CD) split that sum.
Show solution
Approach: total counts each vertex three times
  1. The ten labels 1..9 and 11 sum to 56.
  2. Edges sum to 3×(vertex sum) since each vertex sits on 3 edges, so vertex sum + 3×(vertex sum) = 4×(vertex sum) = 56, giving vertex sum 14.
  3. Edges AB and CD together use all four vertices, so (A+B) + (C+D) = 14.
  4. With AB = 9, CD = 14 − 9 = 5.
Mark: · log in to save
Problem 13 · 2012 Math Kangaroo Hard
Number Theory divisibilityfactorization

When the numbers 144 and 220 are divided by the same positive whole number x, both have remainder 11. Find x.

Show answer
Answer: D — 19
Show hints
Hint 1 of 2
If x leaves remainder 11, then x divides each number minus 11.
Still stuck? Show hint 2 →
Hint 2 of 2
Find a common divisor of 144−11 and 220−11 that is bigger than 11.
Show solution
Approach: subtract the remainder, then take a common divisor
  1. Since both leave remainder 11, x divides 144 − 11 = 133 and 220 − 11 = 209.
  2. Factor: 133 = 7 × 19 and 209 = 11 × 19, so their common divisor bigger than 11 is 19.
  3. x must exceed the remainder 11, so x = 19 (D).
Mark: · log in to save
Problem 18 · 2012 Math Kangaroo Stretch
Number Theory divisibility

Among the classmates of Thomas there are twice as many girls as boys. How many children could be in the class?

Show answer
Answer: D — 25
Show hints
Hint 1 of 2
If girls are twice the boys, the classmates split into equal-size thirds (boys : girls = 1 : 2).
Still stuck? Show hint 2 →
Hint 2 of 2
So the number of classmates is a multiple of 3; remember Thomas himself is also in the class.
Show solution
Approach: use divisibility by 3 plus Thomas
  1. Among Thomas's classmates the girls are twice the boys, so the classmates number a multiple of 3.
  2. The class is those classmates plus Thomas, so the class size is (a multiple of 3) + 1.
  3. Among the options only 25 fits: 24 classmates (8 boys, 16 girls) plus Thomas.
  4. So the class could have 25 children.
Mark: · log in to save
Problem 19 · 2012 Math Kangaroo Stretch
Number Theory divisibilityfactorization

A rectangular piece of paper is 108 mm long and 84 mm wide. After making a straight cut you have a square and a leftover piece. You do the same with the leftover piece and so on until the leftover piece itself is a square. What is the side length of the last square?

Show answer
Answer: E — 12 mm
Show hints
Hint 1 of 2
Each cut peels off the biggest square it can; track the leftover rectangle's sizes.
Still stuck? Show hint 2 →
Hint 2 of 2
This is the subtract-the-smaller-side process, and it ends at the greatest common divisor.
Show solution
Approach: repeated squares (Euclid-style subtraction)
  1. From 108x84 cut an 84x84 square; leftover is 24x84.
  2. From 24x84 cut 24x24 squares (three of them); leftover is 24x12.
  3. From 24x12 cut a 12x12 square, and the leftover is itself a 12x12 square.
  4. So the last square has side 12 mm.
Mark: · log in to save
Problem 19 · 2012 Math Kangaroo Stretch
Number Theory place-value

Gregory made two 3-digit numbers from the digits 1, 2, 3, 4, 5, 6. Each digit was used only once. Afterwards he added the two numbers together. What is the largest answer he could have got?

Show answer
Answer: D — 1173
Show hints
Hint 1 of 2
To make a sum large, put the biggest digits where they count the most.
Still stuck? Show hint 2 →
Hint 2 of 2
Give the two hundreds places the largest digits, then the tens, then the units.
Show solution
Approach: place the largest digits in the highest places
  1. Use 6 and 5 in the hundreds places, 4 and 3 in the tens, 2 and 1 in the units.
  2. The two numbers add to (600 + 500) + (40 + 30) + (2 + 1).
  3. That is 1100 + 70 + 3 = 1173.
  4. The largest possible sum is 1173.
Mark: · log in to save
Problem 24 · 2012 Math Kangaroo Stretch
Number Theory divisibilityfactorization

In a game with fractions I am allowed to carry out two operations, namely either increase the numerator by 8 or increase the denominator by 7 without simplifying during the game. Starting with the fraction 78 after n such operations I again obtain a fraction with equal value. What is the smallest value of n?

Show answer
Answer: D — 113
Show hints
Hint 1 of 2
Say you add 8 to the numerator \(p\) times and 7 to the denominator \(q\) times.
Still stuck? Show hint 2 →
Hint 2 of 2
Set the new fraction equal to \(\tfrac{7}{8}\) and clear fractions; you'll get a clean ratio between \(p\) and \(q\).
Show solution
Approach: set the new fraction equal and solve for the move counts
  1. After \(p\) numerator-moves and \(q\) denominator-moves the fraction is \(\frac{7+8p}{8+7q}\).
  2. Setting it equal to \(\tfrac{7}{8}\) gives \(8(7+8p) = 7(8+7q)\), which simplifies to \(64p = 49q\).
  3. Since \(\gcd(64,49)=1\), the smallest whole solution is \(p = 49\), \(q = 64\), so \(n = p+q = 113\), choice D.
Mark: · log in to save
Problem 27 · 2012 Math Kangaroo Hard
Number Theory perfect-squarecasework

Wanted are all three-digit numbers from 100 to 999 that have the following property: If you remove the first digit a square number remains and if you remove the last digit again a square number remains (e.g. 164 → (1)64 → 16(4)). How big is the sum of all numbers with this special property?

Show answer
Answer: D — 1993
Show hints
Hint 1 of 2
Both 'drop the first digit' and 'drop the last digit' must leave two-digit squares.
Still stuck? Show hint 2 →
Hint 2 of 2
The middle digit is shared — it is the units digit of one square and the tens digit of another.
Show solution
Approach: match shared middle digit
  1. The two-digit squares are 16, 25, 36, 49, 64, 81. The number a b c needs both 10a+b and 10b+c to be in this list.
  2. The shared digit b must be a units digit of one square and a tens digit of another, which works for b = 1, 4, 6, giving the numbers 816, 649, 164, 364.
  3. Their sum is 816 + 649 + 164 + 364 = 1993.
Mark: · log in to save
Problem 28 · 2012 Math Kangaroo Hard
Number Theory careful-countingcasework

There are 30 chapters in a book. Each chapter has a different length, i.e. 1, 2, 3, …, 30 pages. Each chapter starts on a new page. The first chapter starts on page 1. At most how many chapters start on a page with an odd page number?

Show answer
Answer: E — 23
Show hints
Hint 1 of 2
A chapter keeps the next start's parity the same when its length is even, and flips it when odd.
Still stuck? Show hint 2 →
Hint 2 of 2
There are 15 even and 15 odd lengths — spend the even ones while you are on odd pages.
Show solution
Approach: track start-page parity
  1. Chapter 1 starts on page 1 (odd). An even-length chapter keeps the next start odd; an odd-length chapter flips the parity.
  2. Use all 15 even lengths first: starts of chapters 1 through 16 are all odd (16 odd starts). The remaining 14 odd-length chapters then alternate parity, adding 7 more odd starts.
  3. Maximum odd-page starts = 16 + 7 = 23.
Mark: · log in to save
Problem 17 · 2011 Math Kangaroo Stretch
Number Theory caseworkplace-value

What is the greatest number of consecutive three-digit numbers that each have at least one odd digit?

Show answer
Answer: D — 111
Show hints
Hint 1 of 2
A number breaks the run only if all three of its digits are even.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the longest gap between two consecutive all-even three-digit numbers.
Show solution
Approach: find the largest gap between all-even-digit numbers
  1. A three-digit number fails only when every digit is even (e.g. 688, 800).
  2. Between 688 and 800 there is no all-even number, since the 7-hundreds all have an odd hundreds digit and the 690–699 block has the odd 9.
  3. That run is 689 up to 799, which is 799 − 689 + 1 = 111 numbers, each with an odd digit.
  4. So the longest run is 111, choice (D).
Mark: · log in to save
Problem 19 · 2011 Math Kangaroo Hard
Number Theory cryptarithmfactorization

What is the smallest possible positive whole-number value of the expression \(\dfrac{K\cdot A\cdot N\cdot G\cdot A\cdot R\cdot O\cdot O}{G\cdot A\cdot M\cdot E}\) if different letters stand for different digits, none equal to 0, and equal letters stand for equal digits?

Show answer
Answer: B — 2
Show hints
Hint 1 of 2
Cancel the letters common to top and bottom, leaving K·A·N·R·O·O over M·E.
Still stuck? Show hint 2 →
Hint 2 of 2
Make the denominator's two digits divide the numerator while keeping the quotient as small as possible.
Show solution
Approach: cancel, then choose digits to minimise the integer quotient
  1. After cancelling one A and one G, the value is (K·A·N·R·O²)/(M·E) with eight distinct nonzero digits.
  2. Choosing O = 1 and letting M·E absorb the rest, e.g. K,A,N,R = 2,3,4,6 and M,E = 8,9, gives 2·3·4·6/(8·9) = 2.
  3. No assignment gives a positive value below 2, so the minimum is 2.
Mark: · log in to save
Problem 13 · 2010 Math Kangaroo Stretch
Number Theory divisibilityratio

The integers x and y fulfill the condition 2x = 5y. Only one of the following numbers can be considered for x + y. Which?

Show answer
Answer: C — 2009
Show hints
Hint 1 of 2
From 2x = 5y, write x and y in terms of one parameter.
Still stuck? Show hint 2 →
Hint 2 of 2
Then x + y is always a multiple of the same number.
Show solution
Approach: parametrise the equation, then test divisibility
  1. 2x = 5y means x = 5k and y = 2k for an integer k.
  2. Then x + y = 7k, so the sum must be a multiple of 7.
  3. Of the choices, only 2009 = 7×287 is a multiple of 7, so 2009.
Mark: · log in to save
Problem 18 · 2010 Math Kangaroo Stretch
Number Theory primesgrouping

Each star in the expression 1 ∗ 2 ∗ 3 ∗ 4 ∗ 5 ∗ 6 ∗ 7 ∗ 8 ∗ 9 ∗ 10 is either replaced by a “+” or a “×”. Let N be the biggest number possible that can be obtained this way. What is the smallest prime factor of N?

Show answer
Answer: E — Another number
Show hints
Hint 1 of 3
Multiplying by 1 is wasteful — adding the 1 instead makes the result bigger.
Still stuck? Show hint 2 →
Hint 2 of 3
So N = 1 + (2×3×…×10); the product is even, so the +1 makes N odd.
Still stuck? Show hint 3 →
Hint 3 of 3
An odd N can't have factor 2; check whether 3, 5 or 7 divide it before settling on the answer.
Show solution
Approach: maximise, then factor the result
  1. Each factor from 3 to 10 should be multiplied, but for the 1 note that 1+P > 1×P, so the 1 is added.
  2. Thus N = 1 + 2×3×4×…×10 = 1 + 3&,628&,800 = 3&,628&,801.
  3. Since the product is even, N is odd, so 2 is out; and 3&,628&,800 is a multiple of 3, 5 and 7, so N = product + 1 is divisible by none of them either.
  4. Factoring, 3&,628&,801 = 11 × 329&,891, so its smallest prime factor is 11 — another number.
Mark: · log in to save
Problem 19 · 2010 Math Kangaroo Stretch
Number Theory factor-pairs

The side lengths of a triangle in cm are given by the natural numbers 13, x and y. Determine the perimeter of the triangle if xy = 105.

Show answer
Answer: A — 35
Show hints
Hint 1 of 2
List the ways to factor 105 into x times y.
Still stuck? Show hint 2 →
Hint 2 of 2
Then keep only the pair that forms a valid triangle with side 13.
Show solution
Approach: factor 105, then apply the triangle inequality
  1. Factor pairs of 105: (1,105), (3,35), (5,21), (7,15).
  2. The sides must satisfy the triangle inequality with 13; only 7, 15, 13 works (8 < 13 < 22).
  3. The perimeter is 13 + 7 + 15 = 35.
Mark: · log in to save
Problem 21 · 2010 Math Kangaroo Stretch
Number Theory casework

The teacher said, “In our school library there are roughly 2010 books.” The pupils then guessed exactly how many there are. Artur guessed 2010, Beate guessed 1998 and Carlos guessed 2015. Their guesses are off by 12, 7 and 5, but not in that order. How many books are in the library?

Show answer
Answer: A — 2003
Show hints
Hint 1 of 2
The real number differs from the three guesses by 12, 7 and 5 in some order.
Still stuck? Show hint 2 →
Hint 2 of 2
Try a value near 2010 and check that its distances to 2010, 1998 and 2015 are exactly 12, 7 and 5.
Show solution
Approach: find the value whose distances to the guesses are 12, 7, 5
  1. Test 2003: |2003 − 2010| = 7, |2003 − 1998| = 5, |2003 − 2015| = 12.
  2. Those are exactly 7, 5 and 12 — the required errors.
  3. So the library has 2003 books.
Mark: · log in to save
Problem 24 · 2010 Math Kangaroo Stretch
Number Theory caseworksum-constraint

Berti’s friends each add together the day and the month of their birthday. They all get the answer 35, but no two of them have the same birthday. What is the largest number of friends Berti can have?

Show answer
Answer: B — 8
Show hints
Hint 1 of 2
You need months and days with month + day = 35, and each birthday must be a real date.
Still stuck? Show hint 2 →
Hint 2 of 2
Start from December and step down through the months, checking the day fits that month.
Show solution
Approach: count valid (month, day) pairs summing to 35
  1. List month + day = 35 with a valid day: Dec 23, Nov 24, Oct 25, Sep 26, Aug 27, Jul 28, Jun 29, May 30.
  2. April would need day 31, which doesn't exist, and earlier months need impossible days.
  3. That gives 8 different birthdays, so at most 8 friends.
Mark: · log in to save
Problem 24 · 2010 Math Kangaroo Stretch
Number Theory perfect-squarecasework

For how many integers n with \(1 \le n \le 100\) is \(n^n\) a square number?

Show answer
Answer: C — 55
Show hints
Hint 1 of 2
If n is even, the exponent n is even, so n to the n is automatically a square.
Still stuck? Show hint 2 →
Hint 2 of 2
For odd n, n to the n is a square only when n itself is a perfect square.
Show solution
Approach: split by parity of n
  1. For even n the power has an even exponent, so it is always a perfect square: 50 values.
  2. For odd n, n to the n is a square only if n is a square: 1, 9, 25, 49, 81 - 5 values.
  3. Total = 50 + 5 = 55.
Mark: · log in to save
Problem 25 · 2010 Math Kangaroo Hard
Number Theory divisibility

On each of 18 cards either a 4 or a 5 is written. The sum of the numbers on all the cards is divisible by 17. On how many cards is the number 4 written?

Show answer
Answer: B — 5
Show hints
Hint 1 of 2
Write the total in terms of how many cards show 4.
Still stuck? Show hint 2 →
Hint 2 of 2
Then make that total a multiple of 17.
Show solution
Approach: set up the sum and use divisibility
  1. If x cards show 4, the rest (18−x) show 5, so the sum is 4x + 5(18−x) = 90 − x.
  2. For 90 − x to be a multiple of 17 with 0 ≤ x ≤ 18, we need x = 5.
  3. So 5 cards show the number 4.
Mark: · log in to save
Problem 28 · 2010 Math Kangaroo Stretch
Number Theory factorizationprimes

Along each side of a pentagon a positive integer is written. Numbers on adjacent sides never have a common factor bigger than 1, while numbers on non-adjacent sides always have a common factor bigger than 1. There are several possibilities for this situation, but one of the following numbers can never be on a side of the pentagon. Which one?

Show answer
Answer: C — 19
Show hints
Hint 1 of 2
Each side must share a factor with its two non-adjacent sides but none with its neighbours.
Still stuck? Show hint 2 →
Hint 2 of 2
A prime number on a side forces both its partner sides to be its multiples - and those partners are neighbours of each other.
Show solution
Approach: why a prime side is impossible
  1. A side's two non-adjacent partners must share its factor; but in a pentagon those two partners are next to each other.
  2. If the side were a prime, both partners would be multiples of that prime and so share it - yet as neighbours they must be coprime.
  3. The only prime offered is 19, so 19 can never be used.
Mark: · log in to save
Problem 15 · 2009 Math Kangaroo Hard
Number Theory last-digitdifference-of-squares

Determine the units digit of the number \(1^2-2^2+\cdots-2008^2+2009^2\).

Show answer
Answer: E — 5
Show hints
Hint 1 of 2
Only the last digit matters, so reduce each square to its units digit first.
Still stuck? Show hint 2 →
Hint 2 of 2
Pair the terms as (2009² − 2008²) + … and use a difference-of-squares shortcut on the units digit.
Show solution
Approach: work modulo 10 with difference of squares
  1. Group from the top: (2009² − 2008²) + (2007² − 2006²) + … + (3² − 2²) + 1².
  2. Each bracket is the sum of two consecutive numbers, and these sums add up so that the units digit settles at 5.
  3. The unit digit is 5.
Mark: · log in to save
Problem 17 · 2009 Math Kangaroo Hard
Number Theory casework

In the equation E×I×G×H×TF×O×U×R = T×W×O each letter represents a certain digit (the same letter represents the same digit each time). How many different values can the expression T·H·R·E·E have?

Show answer
Answer: A — 1
Show hints
Hint 1 of 2
Ten different letters stand for the ten different digits - so one of them must be 0.
Still stuck? Show hint 2 →
Hint 2 of 2
Ask what the product T x H x R x E x E becomes once a 0 is in play.
Show solution
Approach: spot the forced zero
  1. The ten distinct letters use every digit 0-9, so exactly one letter is 0.
  2. A 0 sits among T, H, R, E in any valid arrangement, making the product T x H x R x E x E equal to 0.
  3. So the expression can take only 1 value (it is always 0).
Mark: · log in to save
Problem 18 · 2009 Math Kangaroo Stretch
Number Theory perfect-squarecareful-counting

The difference between \(\sqrt{n}\) and 10 is less than 1. How many whole numbers n have this property?

Show answer
Answer: C — 39
Show hints
Hint 1 of 2
'√n differs from 10 by less than 1' means 9 < √n < 11.
Still stuck? Show hint 2 →
Hint 2 of 2
Square the bounds to get a range for n, then count the whole numbers strictly inside.
Show solution
Approach: square the inequality and count integers
  1. |√n − 10| < 1 means 9 < √n < 11.
  2. Squaring gives 81 < n < 121.
  3. The whole numbers strictly between are 82, 83, …, 120, which is 120 − 82 + 1 = 39.
Mark: · log in to save
Problem 19 · 2009 Math Kangaroo Stretch
Number Theory divisibilitycareful-counting

Friday writes several different positive whole numbers, all less than 11, next to each other in the sand. Robinson Crusoe looks at the sequence and notices with amusement that adjacent numbers are always divisible by each other. What is the maximum amount of numbers he could possibly have written in the sand?

Show answer
Answer: D — 9
Show hints
Hint 1 of 2
Among 1–10, each neighbour pair must have one number dividing the other.
Still stuck? Show hint 2 →
Hint 2 of 2
Treat numbers as dots and 'divides' as links, then find the longest chain of distinct numbers.
Show solution
Approach: build the longest chain of distinct numbers where each neighbour pair divides
  1. Among 1–10, the only number that 7 divides or that divides 7 is 1 (since 14 is too big), so 7 can sit next to 1 only — meaning 7 must be an end of the row, touching 1.
  2. If all ten numbers were used, 7 would need that single end spot, but then the rest of 1–10 still cannot all be chained, so 10 numbers is impossible.
  3. Drop 7 and a valid row of 9 exists: 9, 3, 6, 2, 4, 8, 1, 5, 10, where every neighbour pair has one dividing the other.
  4. So the most he could write is 9.
Mark: · log in to save
Problem 12 · 2025 Math Kangaroo Medium
Number Theory divisibilityfactorization

Among 10 different given positive integers, exactly five are divisible by 5 and exactly seven are divisible by 7. Let M be the largest of these numbers. What is the smallest possible value of M?

Show answer
Answer: E — a different value
Show hints
Hint 1 of 2
At least how many numbers must be divisible by both 5 and 7?
Still stuck? Show hint 2 →
Hint 2 of 2
Inclusion–exclusion forces ≥2 multiples of 35; the second-smallest is 70, so M is at least 70.
Show solution
Approach: inclusion–exclusion, then minimise the maximum
  1. 5 + 7 − (multiples of 35) ≤ 10, so at least 2 numbers are multiples of 35.
  2. The two smallest multiples of 35 are 35 and 70, so 70 must appear and is the largest.
  3. M = 70, which is not among A–D, so the answer is a different value.
Mark: · log in to save
Problem 13 · 2025 Math Kangaroo Medium
Number Theory divisibility

The four-digit number 80?? is missing its last two digits. We know that this number is divisible by 8 and 9. What is the product of the last two digits?

Show answer
Answer: D — 24
Show hints
Hint 1 of 2
Divisible by both 8 and 9 means divisible by 72.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the multiple of 72 between 8000 and 8099, then multiply its last two digits.
Show solution
Approach: use divisibility by 72
  1. A number divisible by 8 and 9 is divisible by 72.
  2. The multiple of 72 of the form 80__ is 8064 (= 72×112).
  3. Last two digits 6 and 4: product = 24.
Mark: · log in to save
Problem 17 · 2025 Math Kangaroo Medium
Number Theory factorizationfactor-pairs

There are some cards on a table with various different positive integers written on them. All of these are smaller than 20 and their product is 2025. What is the maximum number of cards on the table?

Show answer
Answer: D — 5
Show hints
Hint 1 of 2
Factor 2025 and split it into as many factors below 20 as possible.
Still stuck? Show hint 2 →
Hint 2 of 2
2025 = 3^4 × 5^2; including the card '1' adds one more card for free.
Show solution
Approach: maximize the number of small factors
  1. 2025 = 3⁴ × 5²; each card value is below 20.
  2. Break it up as 1 × 3 × 5 × 9 × 15 = 2025, all distinct and under 20.
  3. That gives 5 cards.
Mark: · log in to save
Problem 18 · 2025 Math Kangaroo Medium
Number Theory factorizationdigit-sum

The number N is the largest 6-digit number for which the product of all its digits is 180. What is the sum of the digits of the number N?

Show answer
Answer: A — 21
Show hints
Hint 1 of 2
180 = 2²·3²·5; you need six digits whose product is 180.
Still stuck? Show hint 2 →
Hint 2 of 2
To make N largest, put the biggest digits first and pad with 1s.
Show solution
Approach: greedy largest digits, pad with ones
  1. Factor 180 into single digits, using as few non-1 digits as possible with large values: 9, 5, 4 (9×5×4 = 180).
  2. Pad to six digits with three 1s and order descending: 954111.
  3. Digit sum = 9+5+4+1+1+1 = 21.
Mark: · log in to save
Problem 3 · 2024 Math Kangaroo Medium
Number Theory divisibilityprimes

Which of the following numbers is two less than a multiple of ten, two more than a square number and two times a prime number?

Show answer
Answer: C — 38
Show hints
Hint 1 of 2
Test each option against all three conditions — the option ending in 8 is the first thing to check.
Still stuck? Show hint 2 →
Hint 2 of 2
A number two less than a multiple of ten ends in 8; then check it is two more than a square and twice a prime.
Show solution
Approach: check the three structure conditions
  1. Two less than a multiple of ten means the number ends in 8, leaving 78, 58 and 38.
  2. Two more than a square: 38 − 2 = 36 = 6² works (76 and 56 are not squares).
  3. Twice a prime: 38 = 2 × 19 and 19 is prime.
  4. So the number is 38.
Mark: · log in to save
Problem 9 · 2024 Math Kangaroo Medium
Number Theory sum-constraintcasework

Pia writes a number in each of the 16 little circles (see picture). Numbers in neighbouring circles differ by 1. She writes the number 5 in one circle and the number 13 in another. How many different numbers does Pia write in the 16 circles?

Figure for Math Kangaroo 2024 Problem 9
Show answer
Answer: A — 9
Show hints
Hint 1 of 2
Stepping from circle to circle changes the number by exactly 1, so going all the way around the ring you must take as many +1 steps as -1 steps.
Still stuck? Show hint 2 →
Hint 2 of 2
To get from 5 up to 13 and back, the numbers have to pass through every value between 5 and 13.
Show solution
Approach: count the values forced by going up to 13 and back to 5
  1. Neighbouring circles differ by 1, so as you walk around the ring the value rises or falls by 1 at each step.
  2. Somewhere a 5 and a 13 appear, and to climb from 5 to 13 the numbers must hit every whole number 5, 6, 7, …, 13.
  3. That is 9 different values, and with only 16 circles you can arrange them without needing any number outside 5–13.
  4. So Pia writes 9 different numbers.
Mark: · log in to save
Problem 9 · 2024 Math Kangaroo Medium
Number Theory divisibility

50 children are sitting in a circle. They throw a ball. Each child that gets the ball throws it to the child sitting six places to their left. Frida gets the ball 100 times during the game. How many children never get the ball during this time?

Show answer
Answer: D — 25
Show hints
Hint 1 of 2
The ball lands on positions that are multiples of 6 around a circle of 50.
Still stuck? Show hint 2 →
Hint 2 of 2
How many distinct seats it visits depends on the greatest common divisor of 6 and 50.
Show solution
Approach: count the orbit length using gcd
  1. Starting from one child, the ball moves 6 seats each throw around 50 seats.
  2. The seats it reaches are spaced by gcd(6, 50) = 2, so it visits 50 ÷ 2 = 25 children.
  3. The other 50 − 25 = 25 children never get the ball.
Mark: · log in to save
Problem 9 · 2024 Math Kangaroo Medium
Number Theory factorization

Noah starts with the number 1 and multiplies it with either 6 or 10. He then multiplies the result again by either 6 or 10. He repeats this process several times. Which of the following numbers can he not obtain in this way?

Show answer
Answer: B — \(2^{90}\cdot 3^{30}\cdot 5^{80}\)
Show hints
Hint 1 of 2
Each multiplication by 6 or 10 always adds one factor of 2, plus either a 3 or a 5.
Still stuck? Show hint 2 →
Hint 2 of 2
So in the final number the power of 2 must equal the powers of 3 and 5 added together — check which option breaks this.
Show solution
Approach: count factors of 2 against 3 and 5
  1. 6 = 2·3 and 10 = 2·5, so each step adds exactly one 2 and either one 3 or one 5.
  2. After several steps the power of 2 equals (power of 3) + (power of 5).
  3. Option B has 2⁹⁰·3³⁰·5⁸⁰, but 30 + 80 = 110 ≠ 90.
  4. So B cannot be obtained.
Mark: · log in to save
Problem 10 · 2024 Math Kangaroo Medium
Number Theory primessum-constraint

Ardal fences a rectangular plot of land using 40 m of fence. Every side length of the rectangle is a prime number. What is the largest possible area of the plot?

Show answer
Answer: B — 91 m²
Show hints
Hint 1 of 2
The two side lengths add to half the perimeter; both must be prime.
Still stuck? Show hint 2 →
Hint 2 of 2
For a fixed sum, the product (area) is largest when the two numbers are closest together.
Show solution
Approach: find the prime pair summing to 20 with largest product
  1. Perimeter 40 means the two sides add to 20, and both are prime.
  2. Prime pairs adding to 20: (3,17), (7,13); their products are 51 and 91.
  3. The largest area is 7 x 13 = 91 m^2.
Mark: · log in to save
Problem 12 · 2024 Math Kangaroo Medium
Number Theory factor-pairs

Four different positive whole numbers are written into the grid and then covered up. The product of the two numbers in each row, and in each column, is written next to or below the grid (see diagram). What is the sum of the four covered numbers?

Figure for Math Kangaroo 2024 Problem 12
Show answer
Answer: C — 13
Show hints
Hint 1 of 2
Label the four cells and write the four product equations for the rows and columns.
Still stuck? Show hint 2 →
Hint 2 of 2
All four numbers are different; use the column products 4 and 12 with the row products 6 and 8 to pin them down.
Show solution
Approach: solve the product equations for four distinct integers
  1. Let the top row be a, b and bottom row c, d.
  2. Rows: a·b = 6, c·d = 8. Columns: a·c = 4, b·d = 12.
  3. Trying a = 1 gives c = 4, b = 6, d = 2, all different: numbers 1, 6, 4, 2.
  4. Their sum is 1 + 6 + 4 + 2 = 13.
Mark: · log in to save
Problem 3 · 2023 Math Kangaroo Medium
Number Theory divisibility

The two integers m and n are positive and odd. Which of the following numbers is odd?

Show answer
Answer: A — \(m \cdot n + 2\)
Show hints
Hint 1 of 2
Odd times odd is odd; odd plus odd is even.
Still stuck? Show hint 2 →
Hint 2 of 2
Track the parity of each expression using m and n both odd.
Show solution
Approach: parity of products and sums
  1. With m, n odd: m·n is odd, and adding 2 keeps it odd, so (A) m·n+2 is odd.
  2. Check the rest: (B) (m+1)(n+1) is even·even = even; (C) m+n+2 is even; (D) m(n+1) is odd·even = even; (E) m+n is even.
  3. Only choice A is odd.
Mark: · log in to save
Problem 4 · 2023 Math Kangaroo Medium
Number Theory place-valuedigit-sum

Let A be a 2023-digit number where every digit is 1. What is the sum of the digits of the number \(A \cdot 1111\)?

Show answer
Answer: D — 8092
Show hints
Hint 1 of 2
Multiplying by 1111 is the same as adding the number to itself shifted by 1, 2 and 3 places.
Still stuck? Show hint 2 →
Hint 2 of 2
Watch how the overlapping 1's add up (and carry) in the middle versus at the two ends.
Show solution
Approach: model A·1111 as four shifted copies added, then sum the digits
  1. A·1111 = A·1000 + A·100 + A·10 + A, i.e. four copies of the repunit shifted by 0,1,2,3.
  2. The middle columns each receive four 1's, producing repeating 4's with regular carries; only the ends differ.
  3. Carrying everything out, the digit sum of A·1111 works out to 8092.
Mark: · log in to save
Problem 5 · 2023 Math Kangaroo Medium
Number Theory divisibilitymod-10

Today is Thursday. What day of the week is it in 2023 days?

Show answer
Answer: C — Thursday
Show hints
Hint 1 of 2
The days of the week repeat every 7 days.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the remainder when 2023 is divided by 7.
Show solution
Approach: count days modulo 7
  1. Days repeat with period 7, so only 2023 mod 7 matters.
  2. 2023 = 7 · 289, which leaves remainder 0.
  3. A whole number of weeks lands on the same weekday.
  4. So it is still Thursday.
Mark: · log in to save
Problem 7 · 2023 Math Kangaroo Medium
Number Theory last-digitmod-10

What is the units digit of the following product? \((5^5+1)(5^{10}+1)(5^{15}+1)\)

Show answer
Answer: E — 6
Show hints
Hint 1 of 2
You only need the last digit of each factor.
Still stuck? Show hint 2 →
Hint 2 of 2
Any power of 5 ends in 5, so each factor ends in 6.
Show solution
Approach: track only units digits
  1. Every power of 5 ends in 5, so 55+1, 510+1 and 515+1 each end in 6.
  2. The units digit of 6·6·6 is the units digit of 216, namely 6.
  3. So the product ends in 6.
Mark: · log in to save
Problem 9 · 2023 Math Kangaroo Medium
Number Theory factor-pairs

How many pairs of positive integers \((a, b)\) fulfil the equation \(\frac{a}{5} = \frac{7}{b}\)?

Show answer
Answer: E — 4
Show hints
Hint 1 of 2
Cross-multiply to turn the equation into a product.
Still stuck? Show hint 2 →
Hint 2 of 2
Count the factorizations of that product into two positive integers.
Show solution
Approach: cross-multiply and count factor pairs
  1. a/5 = 7/b means a·b = 35.
  2. The positive factor pairs of 35 are (1,35), (5,7), (7,5), (35,1).
  3. Each gives a valid (a, b).
  4. So there are 4 pairs.
Mark: · log in to save
Problem 10 · 2023 Math Kangaroo Medium
Number Theory place-value

Franziska writes down three consecutive two-digit numbers, in increasing order. Instead of the digits she uses symbols and writes □◊, ♡△, ♡□. What does Franziska’s next number look like?

Show answer
Answer: C — ♡♡
Show hints
Hint 1 of 2
The last two numbers share the same first symbol, so they have the same tens digit, while the first number's tens symbol is different.
Still stuck? Show hint 2 →
Hint 2 of 2
That means the jump from the first to the second number crosses into a new ten, so the numbers are like 19, 20, 21.
Show solution
Approach: decode each symbol by matching to three consecutive numbers
  1. The 2nd and 3rd numbers start with the same heart symbol, so they share a tens digit, but the 1st number starts with a different symbol, so the first step crosses a ten.
  2. Three consecutive numbers doing that look like 19, 20, 21: so the symbols decode to square=1, diamond=9, heart=2, triangle=0 (19=square diamond, 20=heart triangle, 21=heart square).
  3. Her next number is 22, which uses heart for both digits.
  4. So the next number is heart-heart, answer C.
Mark: · log in to save
Problem 11 · 2023 Math Kangaroo Medium
Number Theory Logic & Word Problems place-valuenumber-systems

Dorli writes down three consecutive natural numbers in increasing order. She replaces the digits with symbols and gets: □♦♦, ♡△△, ♡△□. What would be the next bigger number in this notation?

Show answer
Answer: E — ♡△♡
Show hints
Hint 1 of 3
Each symbol is one fixed digit, and the three codes are consecutive numbers, so the jump from the first to the second is just adding 1.
Still stuck? Show hint 2 →
Hint 2 of 3
Notice the hundreds symbol changes between the first and second number — that signals a roll-over like 199 → 200.
Still stuck? Show hint 3 →
Hint 3 of 3
Once you know what each symbol stands for, write the third number, add 1 more, and re-encode it.
Show solution
Approach: decode the symbols using the roll-over, then add one more
  1. From the second to the third number only the last digit changes (♡△△ → ♡△□), so adding 1 turns △ into □, meaning □ = △ + 1 with no carry.
  2. From the first to the second number the hundreds digit changes (□♦♦ → ♡△△), which only happens on a roll-over like 199 → 200: so ♦ = 9, △ = 0, □ = 1 and ♡ = 2.
  3. The three numbers are 199, 200, 201, and the next bigger one is 202.
  4. Re-encoding 202 with 2 = ♡ and 0 = △ gives ♡△♡, option E.
Mark: · log in to save
Problem 14 · 2023 Math Kangaroo Medium
Counting & Probability Number Theory careful-countingcasework

The digits 0 to 9 can be formed using matchsticks (see diagram). How many different positive whole numbers can be formed this way with exactly 6 matchsticks?

Figure for Math Kangaroo 2023 Problem 14
Show answer
Answer: C — 6
Show hints
Hint 1 of 2
First note how many matchsticks each digit 0..9 needs.
Still stuck? Show hint 2 →
Hint 2 of 2
List all numbers (one or more digits) whose matchstick counts add to exactly 6, ignoring leading zeros.
Show solution
Approach: count matchsticks per digit, then list totals equal to 6
  1. Stick counts: 1 uses 2; 7 uses 3; 4 uses 4; 2, 3, 5 use 5; 0, 6, 9 use 6; 8 uses 7.
  2. One-digit (6 sticks, no leading zero): 6 and 9.
  3. Two-digit (sticks add to 6): 2 + 4 gives 14 and 41; 3 + 3 gives 77.
  4. Three-digit (sticks add to 6): each digit needs at least 2, so all three are 1 — the number 111.
  5. That is 6, 9, 14, 41, 77, 111 — 6 numbers, so the answer is C.
Mark: · log in to save
Problem 16 · 2023 Math Kangaroo Medium
Number Theory divisibilityoff-by-one

Four posts are placed along a 120 m long running track at the distances shown. How many more posts must be added so that the track is divided into sections that are all the same length?

Figure for Math Kangaroo 2023 Problem 16
Show answer
Answer: C — 17
Show hints
Hint 1 of 2
The existing posts sit at distances 24 m, 54 m and 120 m from the start; the equal sections must line up with all of them.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the largest length that divides all those distances, then count how many posts that many sections need.
Show solution
Approach: use the greatest common divisor of the existing post positions
  1. Measured from the start, the four posts are at 0, 24, 54 and 120 metres.
  2. Equal sections must reach each existing post, so the section length must divide 24, 54 and 120; the largest such length is their greatest common divisor, 6 m.
  3. That makes 120 / 6 = 20 sections, which need 21 posts in all.
  4. Since 4 posts are already there, 21 − 4 = 17 more are needed, answer C.
Mark: · log in to save
Problem 16 · 2023 Math Kangaroo Medium
Number Theory number-systemsfactorization

The number \(5^{5^6}\) is to be written in the form \(n^n\) where n is a natural number. What is the value of n?

Show answer
Answer: A — \(5 \cdot 5^4\)
Show hints
Hint 1 of 2
Write n as a power of 5 and compare exponents.
Still stuck? Show hint 2 →
Hint 2 of 2
If n = 5k, then nn = 5k·5^k; you need k·5k = 56.
Show solution
Approach: match exponents by writing n as a power of 5
  1. Let n = 5k; then nn = 5k·5^k, and we need k·5k = 56.
  2. Taking k = 5 gives 5·55 = 56, so n = 55 = 5·54.
  3. So n = 5·54.
Mark: · log in to save
Problem 18 · 2023 Math Kangaroo Medium
Logic & Word Problems Number Theory work-backwardsum-constraint

Max and two of his friends are standing in a line. The number of people in the line is a multiple of 3. He notices that there are the same number of people in front of him as there are behind him. Both of his friends are behind him: one is in position 19, the other in position 28 of the line. In which position of the line is Max?

Show answer
Answer: D — 17
Show hints
Hint 1 of 2
Equal numbers in front and behind means Max is exactly in the middle, so the line length is odd.
Still stuck? Show hint 2 →
Hint 2 of 2
The length is a multiple of 3 and at least 28; the smallest odd multiple of 3 that is ≥ 28 fixes everything.
Show solution
Approach: use the middle position and the multiple-of-3, length-≥28 conditions
  1. Equal people in front and behind put Max in the middle, so the total number is odd.
  2. The total is a multiple of 3 and must be at least 28 (a friend stands at position 28), so the smallest such odd value is 33.
  3. Max's middle position in a line of 33 is position (33+1)/2 = 17.
  4. So the answer is 17 (D).
Mark: · log in to save
Problem 20 · 2023 Math Kangaroo Medium
Algebra & Patterns Number Theory arithmetic-seriesdigit-sum

The sum of 2023 consecutive integers is 2023. What is the sum of the digits of the biggest of those numbers?

Show answer
Answer: A — 4
Show hints
Hint 1 of 2
The sum of an odd number of consecutive integers equals the middle term times how many there are.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the middle value, step out to the biggest term, then add its digits.
Show solution
Approach: use the middle-term formula for consecutive integers
  1. For 2023 consecutive integers, the sum equals 2023 times the middle term.
  2. Since the sum is 2023, the middle term is 1.
  3. The biggest term is 1 + 1011 = 1012, whose digit sum is 1+0+1+2 = 4.
  4. So the answer is 4 (A).
Mark: · log in to save
Problem 2 · 2022 Math Kangaroo Medium
Number Theory careful-counting

Karo has a box of matches with 30 matches. Using some of the matches she forms the number 2022. She has already formed the first two digits (see picture). How many matches will be left in the box when she has finished the number?

Figure for Math Kangaroo 2022 Problem 2
Show answer
Answer: B — 9
Show hints
Hint 1 of 2
Work out how many matches each digit needs, then add up what is still missing.
Still stuck? Show hint 2 →
Hint 2 of 2
She has already built '20'; only '22' remains, and each '2' costs 5 matches.
Show solution
Approach: count matches used, subtract from 30
  1. A '2' is built from 5 matches and a '0' from 6 matches.
  2. Forming '20' already used 5 + 6 = 11 matches.
  3. The remaining digits '22' need 5 + 5 = 10 matches.
  4. Matches left = 30 - 11 - 10 = 9.
Mark: · log in to save
Problem 2 · 2022 Math Kangaroo Medium
Number Theory divisionoff-by-one

How many positive three-digit numbers are divisible by 13?

Show answer
Answer: B — 69
Show hints
Hint 1 of 2
Count multiples of 13 up to 999, then remove those below 100.
Still stuck? Show hint 2 →
Hint 2 of 2
Use floor division: how many multiples of 13 are at most 999, and how many at most 99?
Show solution
Approach: count multiples by floor division
  1. Multiples of 13 up to 999: 999 / 13 = 76 (whole part).
  2. Multiples of 13 up to 99: 99 / 13 = 7.
  3. Three-digit ones: 76 − 7 = 69.
Mark: · log in to save
Problem 4 · 2022 Math Kangaroo Medium
Number Theory digit-sumdivisibility

Which one of the following numbers is not divisible by its own digit sum?

Show answer
Answer: E — 2027
Show hints
Hint 1 of 2
Add the digits of each number, then test divisibility by that sum.
Still stuck? Show hint 2 →
Hint 2 of 2
Four of them divide evenly; find the one that leaves a leftover.
Show solution
Approach: digit-sum divisibility test
  1. 2022: digit sum 6, and 2022 = 6 × 337 (divisible).
  2. 2023: sum 7, 2023 = 7 × 289; 2024: sum 8, 2024 = 8 × 253; 2025: sum 9, 2025 = 9 × 225.
  3. 2027: sum 11, but 2027 = 11 × 184 + 3, not divisible.
  4. So the answer is 2027.
Mark: · log in to save
Problem 5 · 2022 Math Kangaroo Medium
Number Theory factorization

\(5^8\) pencils are distributed evenly among 25 empty boxes. How many pencils are in each box?

Show answer
Answer: A — \(25^3\)
Show hints
Hint 1 of 3
Write the number of boxes, 25, as a power of 5 before dividing.
Still stuck? Show hint 2 →
Hint 2 of 3
Divide \(5^8\) by \(5^2\) using the rule \(5^m/5^n=5^{m-n}\).
Still stuck? Show hint 3 →
Hint 3 of 3
Then rewrite the answer as a power of 25 to match the choices.
Show solution
Approach: turn 25 into a power of 5 and subtract exponents
  1. There are \(25=5^2\) boxes, so each box holds \(5^8/5^2=5^6\) pencils.
  2. Rewrite \(5^6=(5^2)^3=25^3\).
  3. Each box holds \(25^3\), choice A.
Mark: · log in to save
Problem 6 · 2022 Math Kangaroo Medium
Number Theory arithmetic-sequenceoff-by-one

Kengu hops along the number line. He starts at 0, always makes two big jumps followed by three small jumps (see diagram), and keeps repeating this pattern. On which of these numbers will he land?

Figure for Math Kangaroo 2022 Problem 6
Show answer
Answer: C — 84
Show hints
Hint 1 of 2
One full cycle is two big jumps then three small jumps; find how far one cycle moves him and which spots he lands on.
Still stuck? Show hint 2 →
Hint 2 of 2
List the landing positions within one cycle, then see which cycle the answer lands in by working modulo the cycle length.
Show solution
Approach: find the repeating pattern of landing spots
  1. From the diagram one cycle is two big jumps of 3 then three small jumps of 1, so each full cycle moves him forward 6 + 3 = 9.
  2. Starting a cycle at a multiple of 9, he lands on +3, +6, +7, +8, +9 within it, so every landing spot is a multiple of 9 plus 3, 6, 7, 8 or 9.
  3. Since 84 = 81 + 3 = (9 x 9) + 3, it is a landing spot, while 82, 83, 85, 86 are not, so the answer is C.
Mark: · log in to save
Problem 6 · 2022 Math Kangaroo Medium
Number Theory factorizationdigit-sum

The product of the digits of a ten-digit number is 15. How big is the sum of the digits of this number?

Show answer
Answer: D — 16
Show hints
Hint 1 of 2
Factor 15 into single digits.
Still stuck? Show hint 2 →
Hint 2 of 2
Fill the remaining digit places with 1s so the product stays 15, then add.
Show solution
Approach: force the nonzero digits
  1. 15 = 3 × 5; no single digit can be a 0 (that would zero the product).
  2. So the ten digits are 3, 5 and eight 1s.
  3. Digit sum = 3 + 5 + 8 = 16.
Mark: · log in to save
Problem 7 · 2022 Math Kangaroo Medium
Number Theory place-value

Bodil lays these seven cards — 4, 69, 113, 9, 51, 5, 67 — next to each other, so that the smallest possible 12-digit number that can be made from these cards is formed. What are the last three digits of this number?

Show answer
Answer: A — 699
Show hints
Hint 1 of 3
A number is smallest when its very first digit is as small as possible, then the next, and so on.
Still stuck? Show hint 2 →
Hint 2 of 3
When two cards could go either way, try both joins and keep the smaller one (for example 51 then 5 makes 515, which beats 551).
Still stuck? Show hint 3 →
Hint 3 of 3
Once you have the whole order, the last card you place gives the final three digits.
Show solution
Approach: build the number digit by digit, smallest first
  1. Want the smallest start, so a card beginning with 1 leads: the card 113 goes first.
  2. Next pick the card that keeps the number smallest at each step, comparing tricky pairs by trying both joins (51 before 5 since 515 < 551).
  3. The order 113, 4, 51, 5, 67, 69, 9 builds 113451567699.
  4. Its last three digits are 699, so the answer is A.
Mark: · log in to save
Problem 9 · 2022 Math Kangaroo Medium
Number Theory factor-pairs

In the multiplication grid displayed, each white cell should show the product of the numbers in the grey cells that are in the same row and column respectively. One number is already entered. The integer x is bigger than the positive integer y. What is the value of y?

Figure for Math Kangaroo 2022 Problem 9
Show answer
Answer: A — 6
Show hints
Hint 1 of 2
The bottom-right white cell equals (y+1) times (x+1).
Still stuck? Show hint 2 →
Hint 2 of 2
Factor 77 and use that x and y are positive integers with x > y.
Show solution
Approach: factor the product in the corner cell
  1. The 77 cell is the product of its grey row label (y+1) and column label (x+1): (y+1)(x+1) = 77.
  2. 77 = 7 * 11, and since x > y we take x+1 = 11, y+1 = 7.
  3. Then y = 6.
Mark: · log in to save
Problem 10 · 2022 Math Kangaroo Medium
Number Theory last-digitmod-10

Gerhard writes down the sum of the squares of two numbers, but some ink has run out so we cannot read every digit (see diagram). What is the last digit of the first number?

Figure for Math Kangaroo 2022 Problem 10
Show answer
Answer: C — 5
Show hints
Hint 1 of 2
You only need the LAST digit of the answer, so only the units digits of the two numbers matter.
Still stuck? Show hint 2 →
Hint 2 of 2
Squares can only end in 0, 1, 4, 5, 6 or 9; use the readable last digit of the total and of the second number.
Show solution
Approach: track only the units digit
  1. Only units digits matter: the visible total ends in 9, and the second number ends in 2, so its square ends in 4.
  2. Then the first number's square must end in 9 - 4 = 5, and a square ends in 5 only when its base ends in 5.
  3. So the last digit of the first number is 5, the answer is C.
Mark: · log in to save
Problem 11 · 2021 Math Kangaroo Medium
Number Theory place-value

The number 5021972970 is written on a sheet of paper. Julian cuts the sheet twice, so he gets 3 numbers. What is the smallest sum he can get by adding these 3 numbers?

Show answer
Answer: B — 3444
Show hints
Hint 1 of 2
Two cuts give three numbers; their sum is smallest when fewer digits sit in high place-value spots.
Still stuck? Show hint 2 →
Hint 2 of 2
Avoid leaving any single long piece with a large leading digit — spread the digits so the place values stay low.
Show solution
Approach: place the cuts to minimise total place value
  1. The string is 5021972970; two cuts split it into three numbers.
  2. Cutting as 502 | 1972 | 970 keeps the high place values small.
  3. Their sum is 502 + 1972 + 970 = 3444, the smallest achievable.
Mark: · log in to save
Problem 1 · 2020 Math Kangaroo Medium
Number Theory last-digitmod-10

What is the last digit of the product \(1 \times 3 \times 5 \times 7 \times 9^2 \times 7 \times 5 \times 3 \times 1\)?

Show answer
Answer: C — 5
Show hints
Hint 1 of 2
The product is a string of odd factors — is any of them a 5?
Still stuck? Show hint 2 →
Hint 2 of 2
An odd number times 5 always ends in 5.
Show solution
Approach: spot the factor 5 among odd numbers
  1. Every factor in the product is odd, and one of them is 5.
  2. An odd multiple of 5 always ends in the digit 5.
  3. So the last digit of the whole product is 5.
Mark: · log in to save
Problem 4 · 2020 Math Kangaroo Medium
Number Theory factor-pairscasework

Four integer numbers have sum S and product 9. What is the lowest possible value for S?

Show answer
Answer: B — −12
Show hints
Hint 1 of 2
The product is 9, so the four numbers come from the factors of 9 — but signs are free.
Still stuck? Show hint 2 →
Hint 2 of 2
To make the sum as small as possible, use negatives; an even number of them keeps the product positive.
Show solution
Approach: choose factors of 9 with an even count of negatives to minimise the sum
  1. Nine factors into magnitudes 9, 1, 1, 1 (or 3, 3, 1, 1).
  2. Take four negatives so the product stays positive: −9, −1, −1, −1.
  3. Their product is 9 and their sum is −12.
  4. No choice goes lower, so the smallest sum is −12.
Mark: · log in to save
Problem 6 · 2020 Math Kangaroo Medium
Number Theory cryptarithmplace-value

In the addition shown, different letters represent different digits and equal letters represent equal digits. The resulting sum is a four-digit number, with B different from zero. What is the sum of the digits of this number?

Figure for Math Kangaroo 2020 Problem 6
Show answer
Answer: B — BB
Show hints
Hint 1 of 2
Write A + AB + ABA as an expression in the digit values of A and B.
Still stuck? Show hint 2 →
Hint 2 of 2
Match it to the four-digit result BEBA and pin down each letter.
Show solution
Approach: convert the cryptarithm to place value and solve for the digits
  1. A + AB + ABA = 112A + 11B, and BEBA = 1010B + 100E + A.
  2. Setting them equal forces A = 9, B = 1, E = 0, so the sum is 1019.
  3. The sum of its digits is 1 + 0 + 1 + 9 = 11.
  4. Since BB = 11, the answer is BB.
Mark: · log in to save
Problem 6 · 2020 Math Kangaroo Medium
Number Theory factorizationfactor-triples

Let a, b, c be integers with \(1 \le a = b \le c\) and \(abc = 2020^2\). What is the highest possible value of a?

Show answer
Answer: D — 101
Show hints
Hint 1 of 2
With a = b you need a²·c = 2020², so a must divide 2020.
Still stuck? Show hint 2 →
Hint 2 of 2
Push a as high as you can while keeping c ≥ a.
Show solution
Approach: a divides 2020; test the largest such a with c at least a
  1. Since a = b, the condition is a²c = 2020² with a ≤ c, so a divides 2020.
  2. 2020 = 2²·5·101, and taking a = 101 gives c = (2020/101)² = 400 ≥ 101.
  3. No larger divisor keeps c ≥ a, so the greatest possible a is 101.
Mark: · log in to save
Problem 7 · 2020 Math Kangaroo Medium
Number Theory divisibility

Which of the following expressions is divisible by 3 for every integer n?

Show answer
Answer: E — \(n^3 - n\)
Show hints
Hint 1 of 2
Try a few values of n in each option and watch the remainder mod 3.
Still stuck? Show hint 2 →
Hint 2 of 2
A product of three consecutive integers is always a multiple of 3.
Show solution
Approach: recognize three consecutive integers
  1. n³ − n = (n−1)·n·(n+1) is a product of three consecutive integers.
  2. Among any three consecutive integers one is a multiple of 3.
  3. So option E is divisible by 3 for every integer n (the others fail for some n).
Mark: · log in to save
Problem 9 · 2020 Math Kangaroo Medium
Number Theory factor-pairswork-backward

Five boxes contain 2, 3, 4, 7 and 15 balls. Peter wants to move balls between boxes so that every box ends up holding twice or half as many balls as one of the other boxes. At least how many balls must he move?

Show answer
Answer: A — 1
Show hints
Hint 1 of 2
Try to reach a doubling chain; notice the total 2+3+4+7+15 = 31 stays fixed.
Still stuck? Show hint 2 →
Hint 2 of 2
Compare {2,3,4,7,15} with a valid arrangement and count the fewest balls you must shift.
Show solution
Approach: find the nearest valid doubling arrangement
  1. The boxes hold 2, 3, 4, 7, 15 - total 31 balls, which stays fixed.
  2. A working layout (each box double or half of another) is {2, 4, 4, 7, 14}: 2=4/2, 4=2x2, 14=2x7.
  3. Getting there from {2,3,4,7,15} just moves one ball (from the box of 15 to the box of 3).
  4. So the least change needed is 1 ball.
Mark: · log in to save
Problem 10 · 2020 Math Kangaroo Medium
Number Theory place-valuecasework

In the addition on the right, different letters stand for different digits. Assuming the sum is correct, what is the greatest possible value of \(C + A + N\)?

Figure for Math Kangaroo 2020 Problem 10
Show answer
Answer: D — 21
Show hints
Hint 1 of 2
Read the columns of CAN + GUR = UUU with their carries; the result is a three-digit repdigit UUU.
Still stuck? Show hint 2 →
Hint 2 of 2
To make C + A + N large, push the units and the carried digits, allowing a leading zero in the second number.
Show solution
Approach: analyse CAN + GUR = UUU column by column, then maximise C + A + N
  1. Looking at the tens column, A plus the units carry must reach a multiple of 10, which forces A = 9 with a carry of 1.
  2. Trying the largest digits for C and N that still close the columns gives 498 + 057 = 555 (here G = 0 is allowed).
  3. That makes C + A + N = 4 + 9 + 8 = 21, option D, and no arrangement beats it among the choices.
Mark: · log in to save
Problem 11 · 2020 Math Kangaroo Medium
Number Theory Logic & Word Problems sum-constraintcasework

The circles in the figure are to be numbered from 0 to 10, each with a different number. The five sums of the three numbers along each diameter must all be odd. If one of these sums is as small as possible, what is the largest possible value of one of the remaining sums?

Figure for Math Kangaroo 2020 Problem 11
Show answer
Answer: E — 21
Show hints
Hint 1 of 2
The centre circle is shared by all five diameters; for every diameter-sum to be odd, think about the parity the centre forces.
Still stuck? Show hint 2 →
Hint 2 of 2
Make one sum smallest by surrounding it with tiny numbers, which pushes the leftover large numbers onto another diameter to maximise it.
Show solution
Approach: use parity of the shared centre, then push extremes apart
  1. Numbers 0..10 are placed; each diameter sums two ends plus the shared centre, and all five sums are odd.
  2. The shared centre fixes a parity pattern for the diameter ends.
  3. Putting the smallest numbers on one diameter leaves the large numbers for another; maximising that one gives a sum of 21.
Mark: · log in to save
Problem 6 · 2019 Math Kangaroo Medium
Number Theory place-valuesum-constraint

Three four-digit numbers are written on three separate pieces of paper, as shown. The sum of the three numbers is 11126. Three of the digits in the picture are hidden (covered by the overlapping papers). Which are the three hidden digits?

Figure for Math Kangaroo 2019 Problem 6
Show answer
Answer: B — 1, 5 and 7
Show hints
Hint 1 of 2
The three four-digit numbers add to 11126; line them up by place value and use the visible digits.
Still stuck? Show hint 2 →
Hint 2 of 2
Work column by column from the units, tracking carries, to pin down the three covered digits.
Show solution
Approach: add the three numbers by columns using the total 11126
  1. Stack the three four-digit numbers as a column addition equal to 11126.
  2. Going column by column from the units and carrying as needed, the visible digits force each hidden position in turn.
  3. Completing the reconstruction gives the three hidden digits as 1, 5 and 7.
  4. Answer (B) 1, 5 and 7.
Mark: · log in to save
Problem 7 · 2019 Math Kangaroo Medium
Number Theory digit-sumplace-value

Reading from the left, what is the first digit of the smallest positive integer whose digit sum is 2019?

Show answer
Answer: B — 3
Show hints
Hint 1 of 2
To make a number small, use as few digits as possible — so pack digit value with 9s.
Still stuck? Show hint 2 →
Hint 2 of 2
2019 = 224·9 + 3, so use 224 nines preceded by a leading digit equal to the leftover 3.
Show solution
Approach: build the smallest number with digit sum 2019 using mostly 9s
  1. To minimise the number of digits, use 9s: 2019 ÷ 9 = 224 remainder 3.
  2. So 224 nines give digit sum 2016; we still need 3 more.
  3. Put the extra 3 as the leading digit: the number is 3 followed by 224 nines.
  4. The first digit is 3 — answer (B).
Mark: · log in to save
Problem 8 · 2019 Math Kangaroo Medium
Number Theory careful-countingplace-value

Julia reads a book whose pages are all numbered. The digit 0 appears five times and the digit 8 appears six times. What is the page number of the last page?

Show answer
Answer: B — 58
Show hints
Hint 1 of 2
Count how many 0s and 8s appear as you number pages 1, 2, 3, and so on.
Still stuck? Show hint 2 →
Hint 2 of 2
Stop at the page where the 0-count and 8-count first match the clue.
Show solution
Approach: tally the digits up to each candidate
  1. Counting digits from page 1: the digit 0 first reaches five copies and the digit 8 first reaches six copies at the same point.
  2. Tallying shows that happens exactly at page 58 (zeros in 10,20,30,40,50; eights in 8,18,28,38,48,58).
  3. So the last page is 58.
Mark: · log in to save
Problem 8 · 2019 Math Kangaroo Medium
Number Theory divisibilityfactorization

How many of the numbers from \(2^{10}\) to \(2^{13}\) (including these two numbers) are divisible by \(2^{10}\)?

Show answer
Answer: D — 8
Show hints
Hint 1 of 2
A number in this range divisible by \(2^{10}\) must equal \(2^{10}\) times a whole number.
Still stuck? Show hint 2 →
Hint 2 of 2
Count the whole numbers k with \(2^{10} \le k\cdot 2^{10} \le 2^{13}\), i.e. \(1 \le k \le 8\).
Show solution
Approach: count the multiples of \(2^{10}\) in the range
  1. A multiple of \(2^{10}\) in the range is \(k\cdot 2^{10}\) with \(2^{10} \le k\cdot 2^{10} \le 2^{13}\).
  2. Dividing through by \(2^{10}\) gives \(1 \le k \le 2^{3} = 8\).
  3. So k = 1, 2, …, 8, giving 8 such numbers.
  4. Answer (D) 8.
Mark: · log in to save
Problem 9 · 2019 Math Kangaroo Medium
Number Theory digit-sumplace-value

On each of three separate pieces of paper there is a three-digit number. The papers overlap so that one digit on each of two of them is hidden (see picture). The sum of the three numbers is 826. What is the sum of the two hidden digits?

Figure for Math Kangaroo 2019 Problem 9
Show answer
Answer: C — 9
Show hints
Hint 1 of 3
Line the three numbers up by ones, tens and hundreds, just like in column addition.
Still stuck? Show hint 2 →
Hint 2 of 3
Add only the digits you can actually see in each column, and call the two covered ones blanks.
Still stuck? Show hint 3 →
Hint 3 of 3
Compare your visible total with 826 to see what the two blanks together must make up.
Show solution
Approach: reconstruct from the column sums
  1. Stack the three numbers in columns and add only the digits you can see, leaving the two hidden ones as blanks.
  2. The visible digits already account for most of 826; the gap left over is what the two covered digits must supply together.
  3. Working through the ones, tens and hundreds columns, the two hidden digits must add up to 9 (C).
Mark: · log in to save
Problem 10 · 2019 Math Kangaroo Medium
Number Theory digit-sumcareful-counting

Julia reads a book whose pages are all numbered. The digit 0 appears six times and the digit 8 seven times. What is the page number of the last page?

Show answer
Answer: B — 68
Show hints
Hint 1 of 2
Count how many 0s and 8s appear as you number pages 1, 2, 3, …
Still stuck? Show hint 2 →
Hint 2 of 2
Zeros first appear at 10, 20, … and eights at 8, 18, 28, … — find where the counts hit 6 and 7.
Show solution
Approach: tally occurrences of 0 and 8 up to the last page
  1. Zeros appear at 10, 20, 30, 40, 50, 60 — the sixth zero is on page 60.
  2. Eights appear at 8, 18, 28, 38, 48, 58, 68 — the seventh eight is on page 68.
  3. Both counts are first met by page 68.
Mark: · log in to save
Problem 11 · 2019 Math Kangaroo Medium
Number Theory place-valuesum-constraint

Three five-digit numbers are written onto three separate pieces of paper, as shown. Three of the digits in the picture are hidden. The sum of the three numbers is 57263. Which are the hidden digits?

Figure for Math Kangaroo 2019 Problem 11
Show answer
Answer: B — 1, 2 and 9
Show hints
Hint 1 of 2
The three five-digit numbers add to 57263; match digits column by column.
Still stuck? Show hint 2 →
Hint 2 of 2
Work through the addition with carries to pin down each hidden digit.
Show solution
Approach: column addition with the known total
  1. Line up the three five-digit numbers so their sum is 57263.
  2. Filling the columns with the right carries forces the three covered digits.
  3. The hidden digits are those of option B.
Mark: · log in to save
Problem 11 · 2019 Math Kangaroo Medium
Number Theory place-valuesum-constraint

Three four-digit numbers are written on three separate strips of paper, as shown. The sum of the three numbers is 10126. Three of the digits in the picture are hidden. Which are the hidden digits?

Figure for Math Kangaroo 2019 Problem 11
Show answer
Answer: A — 5, 6 and 7
Show hints
Hint 1 of 3
You don't need to find each number — just the total of the three hidden digits.
Still stuck? Show hint 2 →
Hint 2 of 3
The digit sum of a number leaves the same remainder on division by 9 as the number itself, so the digits of all three numbers together must match 10126 in that test.
Still stuck? Show hint 3 →
Hint 3 of 3
Add the nine visible digits, see what the three hidden ones must add to, then pick the option with that sum.
Show solution
Approach: use the divisible-by-9 (digit-sum) check instead of reconstructing the numbers
  1. A number and its digit sum leave the same remainder when divided by 9, so the sum of all twelve digits leaves the same remainder as 10126 does.
  2. 10126 has digit sum 1+0+1+2+6 = 10, which leaves remainder 1; the nine visible digits add to 1+2+4+3+7+2+1+2+6 = 28, which also leaves remainder 1.
  3. So the three hidden digits must add to a multiple of 9; among the choices only 5+6+7 = 18 works.
  4. The hidden digits are 5, 6 and 7.
Mark: · log in to save
Problem 9 · 2018 Math Kangaroo Medium
Number Theory place-value

Alice subtracts one two-digit number from another two-digit number. Afterwards she paints over two of the digits in the calculation, so it now reads ?3 − 2? = 25 (each ? hides a digit). What is the sum of the two painted-over digits?

Figure for Math Kangaroo 2018 Problem 9
Show answer
Answer: D — 13
Show hints
Hint 1 of 2
Write the two numbers with their hidden digits as unknowns and line up the subtraction.
Still stuck? Show hint 2 →
Hint 2 of 2
Turn the painted-over subtraction into a place-value equation; only one pair of digits makes it work.
Show solution
Approach: rebuild the subtraction one place value at a time
  1. The calculation is ?3 − 2? = 25, so the answer 25 sits just above 20.
  2. For the difference to be 25, the first number must be in the 50s: try 53.
  3. Then 53 − 2? = 25 forces 2? = 28, so the hidden digits are 5 and 8.
  4. Their sum is 5 + 8 = 13.
Mark: · log in to save
Problem 10 · 2018 Math Kangaroo Medium
Number Theory primesdivisibility

How many ways are there to write the number 1001 as the sum of two prime numbers?

Show answer
Answer: A — no way
Show hints
Hint 1 of 2
1001 is odd, so what must one of the two primes be?
Still stuck? Show hint 2 →
Hint 2 of 2
Test whether the forced partner is prime.
Show solution
Approach: parity forces one prime to be 2
  1. A sum of two primes that is odd must use 2 (the only even prime).
  2. Then the other prime would be 1001−2 = 999 = 3·333, which is not prime.
  3. So 1001 cannot be written as a sum of two primes — no way.
Mark: · log in to save
Problem 11 · 2018 Math Kangaroo Medium
Number Theory last-digitplace-value

Martina multiplies two two-digit numbers and then paints over some of the digits, leaving \(?\,3 \times 2\,? = 3\,?\,2\). How big is the sum of the three digits that Martina has painted over?

Show answer
Answer: B — 6
Show hints
Hint 1 of 2
The units digit of the product comes only from the units digits of the two factors.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the hidden units digit first, then the product is forced, revealing the other hidden digits.
Show solution
Approach: pin down digits using the units digit and size
  1. The numbers are (10a+3) and (20+b), product 3?2. For the product to end in 2, 3b must end in 2, so b = 4 and the second number is 24.
  2. Then (10a+3) · 24 lies between 300 and 392; a = 1 gives 13 · 24 = 312, which fits 3?2.
  3. The painted digits are 1, 4 and 1, whose sum is 6.
Mark: · log in to save
Problem 16 · 2018 Math Kangaroo Medium
Number Theory primescasework

Alice writes down three prime numbers that are all less than 100. She only uses the digits 1, 2, 3, 4 and 5, and she uses each digit exactly once. Which of the following prime numbers did she definitely write down?

Show answer
Answer: D — 41
Show hints
Hint 1 of 2
Five digits split as a 1-digit prime and two 2-digit primes; even digits can't end a prime.
Still stuck? Show hint 2 →
Hint 2 of 2
Place 2 and 4 as tens-digits, then find the forced prime common to every valid arrangement.
Show solution
Approach: place the even digits and find what is forced
  1. Using digits 1,2,3,4,5 once, the even digits 2 and 4 can only be tens-digits (a prime can't end in an even digit).
  2. Working through the options gives sets like {5, 23, 41} and {2, 41, 53}.
  3. The prime that appears in every valid set is 41, so she definitely wrote it.
Mark: · log in to save
Problem 12 · 2017 Math Kangaroo Medium
Number Theory place-valuecasework

Tom writes the numbers from 1 to 20 one after another and gets the 31-digit number 1234567891011121314151617181920. He then deletes 24 of the digits so that the number that is left is as large as possible. Which number does he get?

Show answer
Answer: C — 9781920
Show hints
Hint 1 of 2
Keeping 7 digits in their original left-to-right order, you want the largest possible number.
Still stuck? Show hint 2 →
Hint 2 of 2
Greedily grab the biggest digit you can while leaving enough digits to fill the remaining places.
Show solution
Approach: greedy choice of the largest leftmost digits
  1. The string 1234567891011121314151617181920 has 31 digits; deleting 24 leaves 7.
  2. To maximise, pick the largest digit early while keeping enough digits after it to complete 7.
  3. The best run grabs the 9 (from the '...891...'), then 7 and 8 (from '17'/'18'), then 1920.
  4. This gives 9781920 (C).
Mark: · log in to save
Problem 13 · 2017 Math Kangaroo Medium
Number Theory divisibility

13 children registered for a competition. Then another 19 joined. Six equally big teams are needed for the competition. How many more children are needed, so that six equally big teams can be formed?

Show answer
Answer: D — 4
Show hints
Hint 1 of 2
First add the two groups of children together.
Still stuck? Show hint 2 →
Hint 2 of 2
Six equal teams means the total must split into 6 equal piles, so count up by sixes past your total.
Show solution
Approach: count up by sixes to the first number past the total
  1. Altogether there are 13 + 19 = 32 children.
  2. Six equal teams need a total that shares evenly into 6 piles, so count by sixes: 6, 12, 18, 24, 30, 36.
  3. The first one that is 32 or more is 36.
  4. So 36 - 32 = 4 more children are needed.
Mark: · log in to save
Problem 14 · 2017 Math Kangaroo Medium
Number Theory divisibilitycasework

Four cousins are 3, 8, 12 and 14 years old. Emma is younger than Rita. The sum of the ages of Zita and Emma is divisible by 5, as is the sum of the ages of Zita and Rita. How old is Ina (the 4th cousin)?

Show answer
Answer: A — 14
Show hints
Hint 1 of 2
Zita+Emma and Zita+Rita are both multiples of 5, so Emma and Rita leave the same remainder mod 5.
Still stuck? Show hint 2 →
Hint 2 of 2
Find which two of 3, 8, 12, 14 agree mod 5, then place Zita and read off Ina.
Show solution
Approach: match remainders mod 5
  1. Remainders mod 5: 3→3, 8→3, 12→2, 14→4. Emma and Rita must match, so {Emma,Rita}={3,8}; with Emma<Rita, Emma=3, Rita=8.
  2. Zita+3 divisible by 5 means Zita≡2 (mod 5), so Zita=12.
  3. Ina is the leftover age, 14.
Mark: · log in to save
Problem 17 · 2017 Math Kangaroo Medium
Number Theory off-by-onecareful-counting

Simon wants to cut a piece of wire into 9 equally long pieces and makes marks where he needs to make his cuts. Barbara wants to cut the same piece of wire into 8 equally long pieces and makes marks where she needs to make her cuts. Carl cuts the piece of wire at every mark. How many pieces does Carl get?

Show answer
Answer: B — 16
Show hints
Hint 1 of 2
Count the cut marks each person makes, then check whether any marks land on the same spot.
Still stuck? Show hint 2 →
Hint 2 of 2
Marks at ninths and eighths of the wire never coincide in the interior.
Show solution
Approach: count distinct marks, add one for pieces
  1. Nine equal pieces need 8 interior marks; eight equal pieces need 7 interior marks.
  2. Since 8 and 9 share no common factor, no ninth-mark equals an eighth-mark, giving 8 + 7 = 15 distinct marks.
  3. 15 cuts make 15 + 1 = 16 pieces.
Mark: · log in to save
Problem 5 · 2016 Math Kangaroo Medium
Number Theory divisibility

If a positive whole number x is divided by 6, the remainder is 3. What is the remainder if 3x is divided by 6?

Show answer
Answer: B — 3
Show hints
Hint 1 of 2
Write x as a multiple of 6 plus 3.
Still stuck? Show hint 2 →
Hint 2 of 2
Multiply by 3 and see what is left over mod 6.
Show solution
Approach: remainder arithmetic
  1. x leaves remainder 3, so 3x leaves the same remainder as 3×3 = 9.
  2. 9 divided by 6 leaves remainder 3.
Mark: · log in to save
Problem 14 · 2016 Math Kangaroo Medium
Number Theory place-valuecareful-counting

Hansi writes the number 2581953764 on a strip of paper. Twice he cuts through the strip between two digits, getting three numbers which he adds. What is the smallest sum he can obtain in this way?

Show answer
Answer: B — 2975
Show hints
Hint 1 of 3
A long piece is worth a lot (thousands or more), so very long pieces make the sum big.
Still stuck? Show hint 2 →
Hint 2 of 3
The ten digits split into three pieces whose lengths add to 10, so keep every piece short — at most four digits.
Still stuck? Show hint 3 →
Hint 3 of 3
Among the short splits, choose the one whose biggest piece has the smallest leading digits.
Show solution
Approach: keep the pieces short, then shrink the leading digits
  1. Two cuts make three pieces, and a piece with 5 or more digits already passes every answer, so each piece should have at most 4 digits.
  2. That means the lengths are 3, 4, 3 in some order; the 4-digit piece dominates the sum, so we want it to start with the smallest digits.
  3. Cutting as \(258 + 1953 + 764\) makes the 4-digit piece start with 1, and the total is \(258 + 1953 + 764 = 2975\).
  4. No split beats this, so the smallest sum is 2975, choice (B).
Mark: · log in to save
Problem 14 · 2015 Math Kangaroo Medium
Number Theory sum-constraintcasework

Each ? in the equation \(2\,?\,0\,?\,1\,?\,5\,?\,2\,?\,0\,?\,1\,?\,5\,?\,2\,?\,0\,?\,1\,?\,5 = 0\) should be replaced by either “+” or “−” so that the equation is correct. What is the smallest number of ? that can be replaced by “+”?

Show answer
Answer: B — 2
Show hints
Hint 1 of 2
With every sign a minus, the signed total is some negative value; switching a sign to plus before a number raises the total by twice that number.
Still stuck? Show hint 2 →
Hint 2 of 2
You need the total to reach 0, so use the fewest plus signs whose doubled values close the gap (favour the big numbers).
Show solution
Approach: balance the signed sum to zero
  1. The numbers used are 2, 0, 1, 5 repeated three times; the 0s do not matter.
  2. Switching a sign from − to + before a number raises the total by twice that number, so the plus signs must supply exactly the gap up to 0.
  3. Using the large numbers first, two plus signs can close the gap while one plus sign cannot.
  4. So the smallest number of plus signs is 2 (B).
Mark: · log in to save
Problem 16 · 2015 Math Kangaroo Medium
Number Theory factor-pairs

If the whole number age of a father is multiplied by the whole number age of his son, one obtains 2015. Both are born in the 20th century. How big is the age gap between father and son?

Show answer
Answer: D — 34
Show hints
Hint 1 of 2
Factor 2015 into a product of two whole numbers, both ages of people born in the 1900s.
Still stuck? Show hint 2 →
Hint 2 of 2
2015 = 5 × 13 × 31; find the factor pair that gives believable father/son ages.
Show solution
Approach: match a factor pair to plausible ages
  1. 2015 = 5 × 13 × 31.
  2. The factor pair fitting a father and son both born in the 20th century is 65 × 31.
  3. Age gap = 65 − 31 = 34.
Mark: · log in to save
Problem 16 · 2015 Math Kangaroo Medium
Number Theory caseworksum-constraint

A bush has 10 twigs. Each twig has exactly 5 leaves, or exactly 2 leaves and a flower. Which of the following numbers could be the total number of leaves on the bush?

Show answer
Answer: E — None of the numbers from (A) to (D).
Show hints
Hint 1 of 2
Each of the 10 twigs adds either 5 leaves or 2 leaves.
Still stuck? Show hint 2 →
Hint 2 of 2
Write the total as \(5a + 2b\) with \(a + b = 10\) and check which listed number is reachable.
Show solution
Approach: reachable totals from 5s and 2s on 10 twigs
  1. Each twig gives 5 leaves or 2 leaves, so with 10 twigs the total is \(5a + 2b\) where \(a + b = 10\).
  2. Then the total is \(2 \cdot 10 + 3a = 20 + 3a\), so it is 20 more than a multiple of 3.
  3. The reachable totals run 20, 23, 26, …, 50; none of 45, 39, 37, 31 fits this pattern.
  4. So the answer is None of the numbers (E).
Mark: · log in to save
Problem 20 · 2015 Math Kangaroo Medium
Number Theory primescasework

Which value of the variable n is a counterexample to the statement “If n is a prime number, then exactly one of the two numbers n − 2 and n + 2 is a prime number.”?

Show answer
Answer: E — 37
Show hints
Hint 1 of 2
You want a prime n for which the rule fails: both n−2 and n+2 prime, or neither.
Still stuck? Show hint 2 →
Hint 2 of 2
Check each option: 37 is prime but 35 and 39 are both composite, so neither n−2 nor n+2 is prime.
Show solution
Approach: find the prime that breaks the claim
  1. The statement fails if, for a prime n, the count of primes among n−2, n+2 is 0 or 2.
  2. For 37 (prime): 35 = 5·7 and 39 = 3·13 are both composite → neither is prime.
  3. So 37 is the counterexample.
Mark: · log in to save
Problem 7 · 2014 Math Kangaroo Medium
Number Theory place-value

How many digits does the result of the calculation \((2^{22})^5\times(5^{55})^2\) have?

Show answer
Answer: E — 111
Show hints
Hint 1 of 2
Pair up the 2's with the 5's to make 10's.
Still stuck? Show hint 2 →
Hint 2 of 2
A power of 10 has a digit count you can read straight off the exponent.
Show solution
Approach: combine into a single power of 10
  1. (2^{22})^5 = 2^{110} and (5^{55})^2 = 5^{110}.
  2. Multiplying: 2^{110}·5^{110} = 10^{110}.
  3. 10^{110} is 1 followed by 110 zeros, which has 111 digits.
Mark: · log in to save
Problem 10 · 2014 Math Kangaroo Medium
Number Theory digit-sumplace-value

In the year 2014 all digits are different and the last digit is bigger than the sum of the other three digits. How many years ago was this last the case?

Show answer
Answer: C — 305
Show hints
Hint 1 of 2
Read 2014's two conditions, then walk backwards year by year.
Still stuck? Show hint 2 →
Hint 2 of 2
You need all four digits different AND the last digit larger than the sum of the first three.
Show solution
Approach: step backward to the previous year meeting both rules
  1. 2014 works: digits 2,0,1,4 are all different and 4 > 2+0+1.
  2. Going back, you must find a year with four different digits whose last digit beats the sum of the other three — hard once the leading digits grow.
  3. The most recent earlier such year is 1709 (digits all different, 9 > 1+7+0 = 8).
  4. That was 2014 − 1709 = 305 years ago.
Mark: · log in to save
Problem 11 · 2014 Math Kangaroo Medium
Number Theory caseworksum-constraint

A grandmother, her daughter and her granddaughter each have their birthday in February. Together they are 100 years old, and each person’s age is a power of 2. In which year was the granddaughter born?

Show answer
Answer: C — 2010
Show hints
Hint 1 of 2
Three ages, each a power of 2, add to 100.
Still stuck? Show hint 2 →
Hint 2 of 2
Try the largest powers of 2 first and see what is left.
Show solution
Approach: find three powers of 2 summing to 100
  1. Powers of 2 available: 1, 2, 4, 8, 16, 32, 64.
  2. 64 + 32 + 4 = 100, so the ages are 64, 32 and 4 (grandmother, mother, granddaughter).
  3. The granddaughter is 4, born 2014 − 4 = 2010.
Mark: · log in to save
Problem 14 · 2014 Math Kangaroo Medium
Number Theory factorizationdigit-sum

When the three digits of a three-digit number are multiplied together, the product is 135. What do you get when you add the three digits?

Show answer
Answer: D — 17
Show hints
Hint 1 of 2
Break 135 into a product of three single digits.
Still stuck? Show hint 2 →
Hint 2 of 2
Factor 135 = 27 × 5 = 3 × 9 × 5; those are the only single-digit factors that work.
Show solution
Approach: factor 135 into three single digits, then add
  1. 135 = 27 × 5 = 3 × 9 × 5, and 3, 9, 5 are all single digits.
  2. No other split of 135 gives three single-digit factors.
  3. Adding them: 3 + 9 + 5 = 17.
Mark: · log in to save
Problem 14 · 2014 Math Kangaroo Medium
Number Theory casework

How many whole-number triples \((a,b,c)\) with \(a>b>c>1\) fulfil the condition \(\dfrac{1}{a}+\dfrac{1}{b}+\dfrac{1}{c}>1\)?

Show answer
Answer: C — 2
Show hints
Hint 1 of 2
With a > b > c > 1 the smallest the values can be is c = 2, b = 3, a = 4.
Still stuck? Show hint 2 →
Hint 2 of 2
Even those nearly-largest fractions barely beat 1, so very few triples can work.
Show solution
Approach: push the values to their smallest and count
  1. Since c > 1 and the values are distinct decreasing, the only candidates start at c = 2, b = 3.
  2. (4,3,2): 1/4+1/3+1/2 = 13/12 > 1 ✓; (5,3,2): 1/5+1/3+1/2 = 31/30 > 1 ✓.
  3. Any larger a (with b=3,c=2) or any larger b drops the sum to 1 or below.
  4. So exactly 2 triples work.
Mark: · log in to save
Problem 16 · 2014 Math Kangaroo Medium
Number Theory dice-facesprimessum-constraint

If you add the numbers on opposite faces of this special die, you get the same total three times. The numbers on the hidden faces are prime numbers. Which number is on the face opposite to 14?

Figure for Math Kangaroo 2014 Problem 16
Show answer
Answer: E — 23
Show hints
Hint 1 of 2
Opposite faces all add to the same total; the three hidden faces are primes.
Still stuck? Show hint 2 →
Hint 2 of 2
Use the three visible numbers 18, 35, 14 and make each opposite a prime with one common sum.
Show solution
Approach: find the common opposite-sum that makes all hidden faces prime
  1. Let every opposite pair add to S. Then the hidden faces are S−18, S−35 and S−14.
  2. S = 37 works: hidden faces 19, 2 and 23 are all prime.
  3. The face opposite 14 is 37 − 14 = 23.
Mark: · log in to save
Problem 6 · 2013 Math Kangaroo Medium
Number Theory cryptarithmplace-value

In the multiplication below the same digit is used in every box: ?? × ? = 176. Which digit must be used so the calculation is correct?

Show answer
Answer: B — 4
Show hints
Hint 1 of 3
Both squares hold the same digit, so the two-digit number is something like 33 or 44.
Still stuck? Show hint 2 →
Hint 2 of 3
Just try the same digit in every box and see which one multiplies to 176.
Still stuck? Show hint 3 →
Hint 3 of 3
The product ends in 6, so look for a digit whose square ends in 6.
Show solution
Approach: try the same digit in each box
  1. The same digit goes in all the boxes, so test repeated-digit numbers: \(33\times3 = 99\) (too small), \(55\times5 = 275\) (too big).
  2. In between, \(44\times4 = 176\), exactly right.
  3. So the digit is 4, which is choice B.
Another way:
Mark: · log in to save
Problem 8 · 2013 Math Kangaroo Medium
Number Theory divisionoff-by-one

The number n is the biggest natural number for which \(4n\) is three digits long, and m is the smallest natural number for which \(4m\) is three digits long. What value does \(4n - 4m\) have?

Show answer
Answer: C — 896
Show hints
Hint 1 of 2
A three-digit multiple of 4 ranges from 100 to 999; find the largest and smallest n that land in that range.
Still stuck? Show hint 2 →
Hint 2 of 2
Then just subtract the two products.
Show solution
Approach: bound the three-digit multiples of 4
  1. Largest n with 4n ≤ 999: n = 249, so 4n = 996.
  2. Smallest m with 4m ≥ 100: m = 25, so 4m = 100.
  3. Then 4n − 4m = 996 − 100 = 896.
Mark: · log in to save
Problem 9 · 2013 Math Kangaroo Medium
Number Theory divisibility

The number 36 has a special property: 36 can be divided by its units digit with no remainder (36 is divisible by 6). The number 38 does not have this property. How many numbers between 20 and 30 have the same property as 36?

Show answer
Answer: C — 4
Show hints
Hint 1 of 3
Check each number from 21 up to 29 one at a time.
Still stuck? Show hint 2 →
Hint 2 of 3
For each one, share it into groups the size of its last digit and see if there is any leftover.
Still stuck? Show hint 3 →
Hint 3 of 3
Count only the numbers that split evenly with nothing left over.
Show solution
Approach: check divisibility by the units digit
  1. Go through 21 to 29 and divide each by its last digit: \(21\div1\), \(22\div2\), \(24\div4\) and \(25\div5\) all come out even with no leftover.
  2. The rest (23, 26, 27, 28, 29) each leave a leftover.
  3. So 4 numbers have the property, which is choice C.
Mark: · log in to save
Problem 11 · 2013 Math Kangaroo Medium
Number Theory divisibility

Daniel had 36 sweets. He shared them equally between his siblings. How many siblings can he definitely not have?

Show answer
Answer: D — 5
Show hints
Hint 1 of 3
Sharing equally means the 36 sweets must split into equal groups with none left over.
Still stuck? Show hint 2 →
Hint 2 of 3
Try sharing 36 sweets among each number of siblings and see if any are left over.
Still stuck? Show hint 3 →
Hint 3 of 3
The number that leaves some sweets left over is the one he cannot have.
Show solution
Approach: test each option for dividing 36
  1. 36 divides evenly by 2, 3, 4 and 6 (giving 18, 12, 9, 6).
  2. But 36 ÷ 5 is not a whole number.
  3. So he definitely cannot have 5 siblings.
Mark: · log in to save
Problem 13 · 2013 Math Kangaroo Medium
Geometry & Measurement Number Theory casework

The perimeter of a trapezium is 5, and all of its side lengths are whole numbers. How big are its two smallest angles?

Show answer
Answer: B — 60° and 60°
Show hints
Hint 1 of 2
Whole-number sides adding to 5 leave very few shapes — list them.
Still stuck? Show hint 2 →
Hint 2 of 2
A trapezium with sides 2,1,1,1 is half of an equilateral triangle's partner; find its base angles.
Show solution
Approach: enumerate integer sides, then read the angles
  1. Four whole-number sides summing to 5 must be 2, 1, 1, 1.
  2. These form an isosceles trapezium with parallel sides 2 and 1 and slant sides 1.
  3. That trapezium is three equilateral triangles joined, so its smallest (base) angles are 60° each.
  4. The two smallest angles are 60° and 60°.
Mark: · log in to save
Problem 15 · 2013 Math Kangaroo Medium
Fractions, Decimals & Percents Number Theory casework

Willi wrote down a few consecutive whole numbers. A certain percentage of them are odd. Which of the following values cannot be that percentage?

Show answer
Answer: B — 45%
Show hints
Hint 1 of 2
In any run of consecutive integers the count of odd numbers is about half.
Still stuck? Show hint 2 →
Hint 2 of 2
Write the percentage as (odd count)/(total) and test which fraction is impossible.
Show solution
Approach: odd-count fraction must be achievable
  1. Among n consecutive whole numbers, the number of odd ones is n/2 (rounded up or down).
  2. So the percentage is (odd count)/n, which can be 40, 48, 50, 60 for suitable n.
  3. 45% = 9/20 would need 9 odds out of 20 consecutive numbers, but 20 consecutive numbers always contain exactly 10 odds.
  4. So 45% cannot occur.
Mark: · log in to save
Problem 17 · 2013 Math Kangaroo Medium
Number Theory Counting & Probability careful-countingplace-value

All four-digit positive numbers that use the same digits as 2013 were written on a blackboard in ascending order. Find the largest possible difference between two numbers that are next to each other on the blackboard.

Show answer
Answer: A — 702
Show hints
Hint 1 of 2
List the four-digit numbers using the digits 2, 0, 1, 3 each once (no leading 0), in order.
Still stuck? Show hint 2 →
Hint 2 of 2
The biggest jump happens where the leading digit changes.
Show solution
Approach: order the arrangements, find the largest jump
  1. Using digits 2,0,1,3 (no leading zero) gives numbers starting with 1, 2, or 3.
  2. The largest number starting with 2 is 2310; the smallest starting with 3 is 3012.
  3. Their difference 3012 − 2310 = 702 is the largest gap between consecutive numbers.
  4. So the answer is 702.
Mark: · log in to save
Problem 18 · 2013 Math Kangaroo Medium
Geometry & Measurement Number Theory grid-countingspatial-reasoning

In the 8×6 grid pictured, there are 24 squares that are not cut by either of the two diagonals. Now we draw the two diagonals on a 10×6 grid. How many squares of this grid will not be cut by either diagonal?

Figure for Math Kangaroo 2013 Problem 18
Show answer
Answer: E — 32
Show hints
Hint 1 of 2
A diagonal of an m×n grid passes through m + n − gcd(m,n) unit squares.
Still stuck? Show hint 2 →
Hint 2 of 2
Subtract the squares both diagonals touch from the total to get the uncut ones.
Show solution
Approach: count squares a diagonal crosses
  1. One diagonal of a 10×6 grid crosses 10 + 6 − gcd(10,6) = 14 squares.
  2. Both diagonals meet at the centre lattice point and share no cut square, so together they cut 14 + 14 = 28.
  3. The grid has 60 squares, so 60 − 28 = 32 are uncut.
  4. So 32 squares are not cut.
Mark: · log in to save
Problem 7 · 2012 Math Kangaroo Medium
Number Theory digit-sum

The digit sum of a seven digit number is 6. What is the product of the digits?

Show answer
Answer: A — 0
Show hints
Hint 1 of 2
A seven-digit number has seven digits; their sum is only 6.
Still stuck? Show hint 2 →
Hint 2 of 2
Seven positive digits would already sum to at least 7, so some digit must be 0.
Show solution
Approach: show a zero digit is forced, killing the product
  1. If all seven digits were at least 1, their sum would be at least 7, but the sum is only 6.
  2. So at least one digit must be 0.
  3. Any product that includes a 0 is 0.
  4. The product of the digits is 0 (A).
Mark: · log in to save
Problem 8 · 2012 Math Kangaroo Medium
Number Theory digit-sum

The sum of the digits of a nine-digit number is 8. How big is the product of the digits of this number?

Show answer
Answer: A — 0
Show hints
Hint 1 of 2
Nine digits that add to only 8 — can they all be at least 1?
Still stuck? Show hint 2 →
Hint 2 of 2
If even one digit is 0, what happens to the product?
Show solution
Approach: a zero digit forces the product to vanish
  1. Nine positive digits would add to at least 9, but the sum is only 8.
  2. So at least one digit must be 0.
  3. A single 0 makes the product of all the digits 0.
Mark: · log in to save
Problem 10 · 2012 Math Kangaroo Medium
Number Theory place-valuedigit-sum

The age of Quintus is a two-digit power of five and the age of Sekundus is a two-digit power of two. If one adds the digits of their ages the total obtained is an odd number. How big is the product of the digits of their ages?

Show answer
Answer: A — 240
Show hints
Hint 1 of 2
A two-digit power of 5 is forced; list the two-digit powers of 2.
Still stuck? Show hint 2 →
Hint 2 of 2
Use the 'sum of all digits is odd' clue to pick the right power of 2, then multiply the four digits.
Show solution
Approach: pin the ages from the power and parity clues
  1. The only two-digit power of 5 is \(25\) (digits 2 and 5, summing to 7).
  2. Two-digit powers of 2 are \(16, 32, 64\), with digit sums \(7, 5, 10\).
  3. Adding each to 7 gives \(14, 12, 17\) — only \(64\) makes the total odd (\(17\)).
  4. So the four digits are \(2,5,6,4\) and their product is \(2\cdot5\cdot6\cdot4 = 240\), choice A.
Mark: · log in to save
Problem 11 · 2012 Math Kangaroo Medium
Number Theory place-valuecareful-counting

From the digits 1, 2, 3, 4, 5, 6, 7, 8 we form two four-digit numbers so that every digit is used exactly once and the sum of the two numbers is as small as possible. What is the value of this sum?

Show answer
Answer: C — 3825
Show hints
Hint 1 of 2
The two thousands-digits matter most for the size of the sum.
Still stuck? Show hint 2 →
Hint 2 of 2
Put the smallest available digits in the highest place values of both numbers.
Show solution
Approach: smallest digits in the biggest places
  1. To make the sum small, give the two thousands places the smallest digits (1 and 2), the hundreds places 3 and 4, the tens 5 and 6, the units 7 and 8.
  2. Sum = 1000(1+2) + 100(3+4) + 10(5+6) + (7+8) = 3000 + 700 + 110 + 15 = 3825.
Mark: · log in to save
Problem 14 · 2012 Math Kangaroo Medium
Number Theory mod-10divisibility

The natural numbers are to be painted: 1 is red, 2 is blue, 3 is green, 4 is red, 5 is blue, 6 is green, and so on. Which colour(s) can the sum of a red number and a blue number have?

Show answer
Answer: A — green only
Show hints
Hint 1 of 2
The colours repeat every three numbers: red, blue, green, red, blue, green...
Still stuck? Show hint 2 →
Hint 2 of 2
Think about the remainders when red and blue numbers are divided by 3, then add them.
Show solution
Approach: use remainders mod 3
  1. Red numbers are 1, 4, 7, ... (remainder 1 when divided by 3); blue are 2, 5, 8, ... (remainder 2).
  2. A red plus a blue number has remainder 1 + 2 = 3, that is remainder 0 (a multiple of 3).
  3. Multiples of 3 (3, 6, 9, ...) are exactly the green numbers, so the sum is always green only.
Mark: · log in to save
Problem 16 · 2012 Math Kangaroo Medium
Number Theory careful-countingoff-by-one

How many natural numbers n are there for which \(n - 24\) and \(n + 24\) are two-digit numbers?

Show answer
Answer: A — 42
Show hints
Hint 1 of 2
Two-digit numbers run from 10 to 99.
Still stuck? Show hint 2 →
Hint 2 of 2
Turn both conditions into a range for n, then count the whole numbers in it.
Show solution
Approach: bound then count
  1. n − 24 ≥ 10 gives n ≥ 34; n + 24 ≤ 99 gives n ≤ 75.
  2. So n runs over the whole numbers 34 to 75.
  3. That is 75 − 34 + 1 = 42 values.
Mark: · log in to save
Problem 19 · 2012 Math Kangaroo Medium
Number Theory careful-countingcasework

The lazy tomcat Garfield observes some mice stealing cheese. Each mouse carries away at least one piece of cheese but less than ten pieces. Each mouse steals a different amount of cheese pieces. No mouse steals exactly twice as many pieces as another mouse. What is the maximum number of mice Garfield can have observed?

Show answer
Answer: C — 6
Show hints
Hint 1 of 2
The amounts are different whole numbers from 1 to 9, and no amount may be exactly double another.
Still stuck? Show hint 2 →
Hint 2 of 2
Group the numbers into doubling chains and pick the most from each chain.
Show solution
Approach: avoid doubling pairs
  1. Allowed amounts are distinct numbers 1–9 with no pair a and 2a.
  2. The doubling chain 1–2–4–8 lets you keep at most 2 numbers; the chain 3–6 lets you keep 1; and 5, 7, 9 are free (3 numbers).
  3. Maximum = 2 + 1 + 3 = 6 mice.
Mark: · log in to save
Problem 5 · 2011 Math Kangaroo Medium
Number Theory divisibility

If 2011 is divided by a certain positive whole number, the remainder is 1011. Which number was it divided by?

Show answer
Answer: E — There is no such number.
Show hints
Hint 1 of 2
The remainder must be smaller than the divisor, so the divisor exceeds 1011.
Still stuck? Show hint 2 →
Hint 2 of 2
Write 2011 = (divisor)×(quotient) + 1011 and see what the divisor would have to divide.
Show solution
Approach: use that remainder < divisor
  1. If the remainder is 1011, the divisor must be larger than 1011.
  2. Then 2011 = d·q + 1011, so d·q = 1000, meaning d divides 1000 and d ≤ 1000.
  3. A divisor cannot be both greater than 1011 and at most 1000.
  4. So there is no such number, choice (E).
Mark: · log in to save
Problem 7 · 2011 Math Kangaroo Medium
Number Theory careful-counting

The date 01-03-05 (1st March 2005) has three consecutive odd numbers. This is the first day in the 21st Century with this property. How many days with this property are there in total in the 21st Century?

Show answer
Answer: A — 5
Show hints
Hint 1 of 2
The date reads day-month-year as three numbers that are consecutive odd numbers.
Still stuck? Show hint 2 →
Hint 2 of 2
List consecutive-odd triples and check that the day and month stay valid.
Show solution
Approach: list consecutive odd triples that form a valid date
  1. We need day, month, year to be three consecutive odd numbers, with day ≤ 31 and month ≤ 12.
  2. The triples that work: (1,3,5), (3,5,7), (5,7,9), (7,9,11), (9,11,13).
  3. (11,13,15) fails because month 13 does not exist.
  4. That gives 5 such dates in the 21st century.
Mark: · log in to save
Problem 9 · 2011 Math Kangaroo Medium
Number Theory divisioncareful-counting

A chicken farmer packs eggs in boxes of 6 and boxes of 12. What is the smallest number of boxes he needs to pack 66 eggs?

Show answer
Answer: B — 6
Show hints
Hint 1 of 2
Use as many big boxes (of 12) as you can first.
Still stuck? Show hint 2 →
Hint 2 of 2
After the big boxes, fill the rest with boxes of 6.
Show solution
Approach: greedy with the larger box
  1. 66 = 12 × 5 + 6, so five boxes of 12 hold 60 eggs and one box of 6 holds the last 6.
  2. That is 5 + 1 = 6 boxes, and no smaller number works, answer B.
Mark: · log in to save
Problem 9 · 2011 Math Kangaroo Medium
Number Theory digit-sumplace-value

From all whole numbers between 100 and 1000 whose digits sum to 8, the smallest and the largest number are chosen. How big is the sum of those two numbers?

Show answer
Answer: B — 907
Show hints
Hint 1 of 2
To make the smallest number, keep the hundreds digit tiny; to make the largest, make it big.
Still stuck? Show hint 2 →
Hint 2 of 2
Find 107 and 800, then add them.
Show solution
Approach: find the smallest and largest 3-digit numbers with digit sum 8
  1. Smallest such number puts weight at the end: 107 (1+0+7=8).
  2. Largest puts weight at the front: 800 (8+0+0=8).
  3. Their sum is 107+800 = 907.
Mark: · log in to save
Problem 9 · 2011 Math Kangaroo Medium
Number Theory divisibilitycareful-counting

Andrew wrote down all the odd numbers from 1 to 2011 on a board. Bob then deleted all the multiples of three. How many numbers remained on the board?

Show answer
Answer: C — 671
Show hints
Hint 1 of 2
First count all odd numbers up to 2011, then remove the odd ones divisible by 3.
Still stuck? Show hint 2 →
Hint 2 of 2
Odd multiples of 3 are 3, 9, 15, … (every 6 apart).
Show solution
Approach: count odds, subtract odd multiples of three
  1. Odd numbers from 1 to 2011: (2011−1)/2 + 1 = 1006.
  2. Odd multiples of 3 are 3, 9, 15, …, 2007: there are 335 of them.
  3. Remaining = 1006 − 335 = 671.
Mark: · log in to save
Problem 11 · 2011 Math Kangaroo Medium
Number Theory sum-constraintcareful-counting

Johannes has only 5 Cent coins and 10 Cent coins in his pocket. Altogether he has 13 coins. Which of the following amounts cannot be the total of his coins?

Show answer
Answer: B — 60 c
Show hints
Hint 1 of 2
With 13 coins, swapping a 5 c coin for a 10 c coin changes the total by a fixed step.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the smallest and largest possible totals, and the step between reachable totals.
Show solution
Approach: range and step of the total
  1. All 5 c gives 65 c; all 10 c gives 130 c; each 5→10 swap adds 5 c, so totals are 65, 70, 75, …, 130.
  2. 80, 70, 115 and 125 are all multiples of 5 in that range, but 60 c is below 65 c, so it cannot be the total, answer B.
Mark: · log in to save
Problem 12 · 2011 Math Kangaroo Medium
Number Theory careful-counting

All the four-digit numbers with the same digits as 2011 (i.e. 0, 1, 1, 2) are written in a row in ascending order. What is the difference between the two numbers that are next to 2011 in this list?

Show answer
Answer: B — 891
Show hints
Hint 1 of 2
List all four-digit numbers using the digits 0, 1, 1, 2 in increasing order.
Still stuck? Show hint 2 →
Hint 2 of 2
Find 2011 in the list and look at its immediate neighbours.
Show solution
Approach: order the arrangements and subtract the neighbours
  1. Using digits 0,1,1,2 (no leading zero), the ordered list is 1012, 1021, 1102, 1120, 1201, 1210, 2011, 2101, 2110.
  2. The numbers just before and after 2011 are 1210 and 2101.
  3. Their difference is 2101 − 1210 = 891.
Mark: · log in to save
Problem 8 · 2010 Math Kangaroo Medium
Number Theory divisibility

Which of the following numbers could be the number of edges of a prism?

Show answer
Answer: E — 2010
Show hints
Hint 1 of 2
A prism with an n-sided base has the same number of edges each time.
Still stuck? Show hint 2 →
Hint 2 of 2
Count: n on top, n on the bottom, n verticals.
Show solution
Approach: edge count of a prism is always a multiple of 3
  1. An n-gon prism has n top edges, n bottom edges, and n vertical edges: 3n total.
  2. So the number of edges must be a multiple of 3.
  3. Among the options only 2010 = 3×670 is a multiple of 3, so 2010.
Mark: · log in to save
Problem 11 · 2010 Math Kangaroo Medium
Number Theory divisibility

Grandma has baked a cake for her grandchildren. She does not know whether 3, 5, or all 6 grandchildren will come today. Into how many pieces does she have to cut the cake so that, no matter how many come, all the grandchildren present get the same amount of cake?

Show answer
Answer: E — 30
Show hints
Hint 1 of 2
The number of pieces must split evenly among 3, 5 or 6 children.
Still stuck? Show hint 2 →
Hint 2 of 2
So you need the smallest number divisible by all of 3, 5 and 6 — their least common multiple.
Show solution
Approach: least common multiple
  1. The pieces must divide evenly by 3, by 5 and by 6.
  2. LCM(3,5,6) = 30, so she cuts the cake into 30 pieces.
Mark: · log in to save
Problem 13 · 2010 Math Kangaroo Medium
Number Theory factor-pairsfactorization

My teacher says that the product of his age and the age of his father is 2010. In which year could my teacher have been born?

Show answer
Answer: C — 1980
Show hints
Hint 1 of 2
Factor 2010 and look for a pair of ages that make sense for a teacher and his father.
Still stuck? Show hint 2 →
Hint 2 of 2
A realistic age gap should guide which factor pair to pick.
Show solution
Approach: factor 2010 into a sensible age pair
  1. 2010 = 2 x 3 x 5 x 67.
  2. A teacher aged 30 and a father aged 67 give 30 x 67 = 2010, a believable pair.
  3. A 30-year-old in 2010 was born in 1980.
Mark: · log in to save
Problem 15 · 2010 Math Kangaroo Medium
Number Theory digit-sumcareful-counting

How many whole numbers are there whose digits sum to 2010 and have a product of 2?

Show answer
Answer: B — 2009
Show hints
Hint 1 of 2
If the digits multiply to 2, what can the digits be?
Still stuck? Show hint 2 →
Hint 2 of 2
Fix the digits, then count where the single 2 can go.
Show solution
Approach: digit-product forces the digits
  1. A digit product of 2 means one digit is 2 and all the rest are 1's.
  2. For the digits to add to 2010 we need 2 plus 2008 ones, so 2009 digits in all.
  3. The single 2 can sit in any of the 2009 places, giving 2009 numbers.
Mark: · log in to save
Problem 1 · 2009 Math Kangaroo Medium
Number Theory divisibilitydigit-sum

Which of the following numbers is divisible by 3?

Show answer
Answer: E — (2 + 0)·(0 + 9)
Show hints
Hint 1 of 2
A number is a multiple of 3 exactly when its digit sum is.
Still stuck? Show hint 2 →
Hint 2 of 2
Just evaluate each option and check for a factor of 3 — a product is easiest.
Show solution
Approach: evaluate each option and test divisibility by 3
  1. Option E is the product (2+0)·(0+9) = 2·9 = 18.
  2. 18 is a multiple of 3, so option E works.
  3. The others give 2009, 11, 191, and 512, none divisible by 3.
Mark: · log in to save
Problem 5 · 2009 Math Kangaroo Medium
Number Theory factorizationfactor-triples

The product of four different natural numbers is 100. What is the sum of the four numbers?

Show answer
Answer: D — 18
Show hints
Hint 1 of 2
100 = 2²·5²; you need four DIFFERENT factors whose product is 100.
Still stuck? Show hint 2 →
Hint 2 of 2
Try to peel off the smallest possible factors first.
Show solution
Approach: factor 100 into four distinct positive integers
  1. Write 100 = 1·2·5·10, four different numbers whose product is 100.
  2. Any other split repeats a factor (e.g. 1·4·5·5) or has too few numbers.
  3. Their sum is 1 + 2 + 5 + 10 = 18.
Mark: · log in to save
Problem 7 · 2009 Math Kangaroo Medium
Number Theory careful-countingplace-value

A long number is built by writing the number 2009 in a row 2009 times. What is the sum of all the odd digits in this number that are immediately to the left of an even digit?

Show answer
Answer: D — 18072
Show hints
Hint 1 of 2
Inside the repeated block 2009, which digit sits just before an even digit?
Still stuck? Show hint 2 →
Hint 2 of 2
Each copy of 2009 contributes the same fixed amount; count how many junctions there are.
Show solution
Approach: find the repeating pattern, then multiply
  1. The string is 2009 2009 2009 … (2009 copies).
  2. Within one block 2-0-0-9, the only odd digit followed by an even one is the 9 before the next block's 2.
  3. That happens at each junction between consecutive blocks: 2008 junctions, each adding 9.
  4. Total = 9 × 2008 = 18072.
Mark: · log in to save
Problem 9 · 2009 Math Kangaroo Medium
Number Theory careful-counting

For how many positive whole numbers a do a² and a³ have the same number of digits?

Show answer
Answer: B — 3
Show hints
Hint 1 of 2
Try small a and compare the digit-lengths of a² and a³.
Still stuck? Show hint 2 →
Hint 2 of 2
Once a is large enough, a³ always pulls ahead in digit count.
Show solution
Approach: check small cases until the lengths must differ
  1. a=1: 1 and 1 (1 and 1 digits) — same.
  2. a=2: 4 and 8 (1 and 1) — same; a=3: 9 and 27 (1 and 2) — differ.
  3. a=4: 16 and 64 (2 and 2) — same; from a=5 onward a³ always has more digits than a².
  4. Only a = 1, 2, 4 work, so there are 3.
Mark: · log in to save
Problem 11 · 2009 Math Kangaroo Medium
Number Theory place-value

For how many positive whole numbers a do a2 and a3 have the same number of digits?

Show answer
Answer: B — 3
Show hints
Hint 1 of 2
Test small values: compare digit counts of a^2 and a^3 for a = 1, 2, 3, ...
Still stuck? Show hint 2 →
Hint 2 of 2
Once a^3 pulls ahead in digit count it never falls back; just count the early matches.
Show solution
Approach: check digit counts for small a
  1. a=1: 1 and 1 (1 digit each). a=2: 4 and 8 (1 each). a=4: 16 and 64 (2 each) - all match.
  2. a=3 gives 9 and 27 (1 vs 2 digits) - no match; for a>=5 the cube always has more digits.
  3. So exactly 3 values work (a = 1, 2, 4).
Mark: · log in to save
Problem 23 · 2025 Math Kangaroo Stretch
Number Theory number-systemsfactorization

What is the smallest positive integer N such that the expression \(\sqrt{2\sqrt{3\sqrt{N}}}\) has an integer value?

Show answer
Answer: E — another number
Show hints
Hint 1 of 2
Write the nested radical as a single product of fractional powers of 2 and 3.
Still stuck? Show hint 2 →
Hint 2 of 2
The value is 21/2·31/4·N1/8; choose N = 2a3b to clear all the fractions.
Show solution
Approach: combine the radicals into fractional exponents
  1. √(2√(3√N)) = 21/2·31/4·N1/8.
  2. Need (4 + a)/8 and (2 + b)/8 to be integers, so smallest a = 4, b = 6: N = 2⁴·3⁶ = 11664.
  3. That is none of A–D, so the answer is another number.
Mark: · log in to save
Problem 25 · 2025 Math Kangaroo Stretch
Number Theory caseworkdivisibility

A four-digit number ABCD is multiplied by its units digit D. The result is a different four-digit number DXYA, whose units and thousands digits are swapped compared to the original number (that is, ABCD × D = DXYA). Different letters can stand for the same digits. How many four-digit numbers ABCD have this property?

Show answer
Answer: E — 11
Show hints
Hint 1 of 3
The product is still a 4-digit number whose thousands digit is the original units digit \(D\) and whose units digit is the original thousands digit \(A\).
Still stuck? Show hint 2 →
Hint 2 of 3
First nail down \(A\) and \(D\) from the size and the last-digit rules, then see how free the middle digits are.
Still stuck? Show hint 3 →
Hint 3 of 3
Since multiplying by \(D\) only just stays 4-digit, \(A\) must be very small; the units digit of \(A\times D\) must equal \(A\).
Show solution
Approach: pin the end digits, then count the free middle
  1. The result \(DXYA\) starts with \(D\) and ends with \(A\); for \(ABCD\times D\) to stay 4-digit while its leading digit jumps to \(D\), the only fit is \(A=1\) and \(D=9\) (then \(1BC9\times9\) lands in the 9000s and ends in \(\dots1\), since \(9\times9=81\)).
  2. With \(A=1,\,D=9\) the number is \(\overline{1BC9}\); checking shows every such number works because \(\overline{1BC9}\times9\) automatically becomes \(\overline{9XY1}\).
  3. So \(B\) and \(C\) are free over \(1009,1019,\dots,1109\) — that is 11 numbers, answer E.
Mark: · log in to save
Problem 26 · 2025 Math Kangaroo Stretch
Number Theory divisibilitycasework

The six-digit number ABCDEF consists of the digits 1, 2, 3, 4, 5 and 6, with each digit occurring exactly once. The number AB consisting of the first two digits is a multiple of 2. The number ABC is a multiple of 3. The number ABCD is a multiple of 4. The number ABCDE is a multiple of 5, and the entire number ABCDEF is a multiple of 6. What values can the digit F take?

Show answer
Answer: B — only 4
Show hints
Hint 1 of 3
Apply the rules in order: \(AB\) even, \(ABC\) a multiple of 3, \(ABCD\) of 4, \(ABCDE\) of 5, \(ABCDEF\) of 6.
Still stuck? Show hint 2 →
Hint 2 of 3
Divisible-by-5 with digits 1–6 forces \(E=5\); divisible-by-2 and divisible-by-6 force \(B\), \(D\), \(F\) to be the three even digits.
Still stuck? Show hint 3 →
Hint 3 of 3
So \(\{B,D,F\}=\{2,4,6\}\) and \(\{A,C\}=\{1,3\}\); pin them down with the multiple-of-3 and multiple-of-4 rules.
Show solution
Approach: apply the divisibility conditions step by step
  1. Since \(ABCDE\) is a multiple of 5, \(E=5\); \(B\) (and \(F\)) are even and \(D\) is even (for the 4-rule), so the even digits 2, 4, 6 fill \(B,D,F\) and the odd digits 1, 3 fill \(A,C\).
  2. \(ABC\) divisible by 3 needs \(A+B+C\) divisible by 3; with \(A+C=1+3=4\), \(B\) must be 2, leaving \(\{D,F\}=\{4,6\}\). The 4-rule on \(\overline{CD}\) (with \(C\in\{1,3\}\)) forces \(D=6\).
  3. That leaves \(F=4\), and indeed 123654 and 321654 satisfy every rule, so \(F\) can only be 4, answer B.
Mark: · log in to save
Problem 21 · 2024 Math Kangaroo Stretch
Number Theory divisibilityfactor-pairs

How many integers k have the property that \(k+6\) is a multiple of \(k-6\)?

Show answer
Answer: E — 12
Show hints
Hint 1 of 2
Write k + 6 as (k - 6) + 12.
Still stuck? Show hint 2 →
Hint 2 of 2
Then k - 6 must divide 12; count all its divisors, positive and negative.
Show solution
Approach: reduce to (k-6) divides 12 and count divisors
  1. Since k + 6 = (k - 6) + 12, the condition is that (k - 6) divides 12.
  2. The divisors of 12 are +-1, +-2, +-3, +-4, +-6, +-12, which is 12 values.
  3. Each gives one integer k, so there are 12 such integers.
Mark: · log in to save
Problem 22 · 2024 Math Kangaroo Stretch
Number Theory careful-countingoff-by-one

Daniel wants to cut a rope into 12 equal pieces and marks the places where he has to cut. Mohammed wants to cut the same rope into 16 equal pieces and marks his cuts as well. Maya finally cuts the rope at all the marked spots. How many pieces does Maya get?

Show answer
Answer: A — 24
Show hints
Hint 1 of 2
Count the marks each boy makes (11 for twelve pieces, 15 for sixteen pieces), but watch for marks that land on the same spot.
Still stuck? Show hint 2 →
Hint 2 of 2
Shared marks happen where the fractions agree; subtract those once, and remember the number of pieces is one more than the number of cuts.
Show solution
Approach: inclusion-exclusion on the cut marks, then add one
  1. Daniel makes 11 marks (at 1/12, 2/12, …, 11/12) and Mohammed makes 15 marks (at 1/16, …, 15/16).
  2. Marks coincide where the positions match, which happens at 1/4, 1/2 and 3/4 — that is 3 shared marks.
  3. Distinct cut points: 11 + 15 − 3 = 23.
  4. Cutting at 23 points gives 23 + 1 = 24 pieces.
Mark: · log in to save
Problem 23 · 2024 Math Kangaroo Stretch
Number Theory divisibilitycasework

Cristina has 12 cards numbered 1 to 12. She places eight of them in a circle so that the sum of any two adjacent numbers is a multiple of 3. Which numbers does Cristina not use?

Show answer
Answer: E — 3, 6, 9, 12
Show hints
Hint 1 of 2
Sort 1-12 by remainder when divided by 3: three groups of four.
Still stuck? Show hint 2 →
Hint 2 of 2
Two adjacent numbers sum to a multiple of 3 only if both are multiples of 3, or one is a 'remainder 1' and the other a 'remainder 2'.
Show solution
Approach: classify by residue mod 3 and build the circle
  1. Mod 3 the numbers split into {3,6,9,12}, {1,4,7,10}, {2,5,8,11}.
  2. Adjacent sums divisible by 3 force the circle to alternate the remainder-1 and remainder-2 groups, using all eight of those numbers.
  3. That leaves the multiples of 3 unused, so Christina does not use 3, 6, 9, 12.
Mark: · log in to save
Problem 25 · 2024 Math Kangaroo Stretch
Number Theory digit-sumplace-value

The sum of the digits of N is three times the sum of the digits of \(N+1\). What is the smallest possible sum of the digits of N?

Show answer
Answer: C — 12
Show hints
Hint 1 of 2
Adding 1 only changes the digit sum a lot when N ends in some nines (each trailing 9 turns into a 0).
Still stuck? Show hint 2 →
Hint 2 of 2
If N ends in exactly k nines, write the digit sum of N+1 in terms of the digit sum of N and solve.
Show solution
Approach: use trailing nines to relate the two digit sums, then minimise
  1. If N ends in exactly \(k\) nines, then \(N+1\) turns those \(k\) nines into zeros and raises the next digit by 1, so \(S(N+1)=S(N)-9k+1\).
  2. The condition \(S(N)=3\,S(N+1)\) becomes \(S(N)=3(S(N)-9k+1)\), which simplifies to \(2S(N)=27k-3\); the smallest valid case is \(k=1\), giving \(S(N)=12\).
  3. This is achievable, e.g. \(N=39\) has digit sum 12 and \(N+1=40\) has digit sum 4, with \(12=3\times4\); so the smallest digit sum of N is 12, answer C.
Mark: · log in to save
Problem 25 · 2024 Math Kangaroo Stretch
Number Theory factorization

Dagobert wants to complete the diagram so that each box in the middle and top rows equals the product of the two boxes directly underneath it. Each box must contain a positive whole number, and he wants the top box to contain 36. How many different values can the number n have?

Figure for Math Kangaroo 2024 Problem 25
Show answer
Answer: D — 4
Show hints
Hint 1 of 2
Write the top box as a product of the three bottom boxes, with n appearing twice.
Still stuck? Show hint 2 →
Hint 2 of 2
The top equals the bottom product with an n-squared factor, so n-squared must divide 36.
Show solution
Approach: express the top as a product and require n-squared divides 36
  1. With bottom boxes x, n, y, the middle row is xn and ny, and the top is xn · ny = x·y·n² = 36.
  2. So n² must divide 36: n can be 1, 2, 3 or 6.
  3. Each choice leaves a valid positive product for x·y, so n has 4 possible values.
Mark: · log in to save
Problem 27 · 2024 Math Kangaroo Stretch
Number Theory divisibility

A farmer sells chicken eggs and duck eggs. In different baskets he has 4, 6, 12, 13, 22 and 29 eggs, with each basket holding eggs of only one kind. Christoph buys all the eggs in one basket. The farmer then realises that he now has twice as many chicken eggs as duck eggs. How many eggs did Christoph buy?

Show answer
Answer: E — 29
Show hints
Hint 1 of 2
After Christoph takes one basket, the rest must split as chicken = twice duck, so the remaining total is a multiple of 3.
Still stuck? Show hint 2 →
Hint 2 of 2
Find which single basket, when removed, leaves a multiple of 3.
Show solution
Approach: use divisibility by 3 on the remaining total
  1. All baskets total 4+6+12+13+22+29 = 86.
  2. Remaining = chicken + duck = 2·duck + duck = 3·duck, so it must be a multiple of 3.
  3. 86 leaves remainder 2 mod 3, so the removed basket must be ≡ 2 mod 3; only 29 qualifies.
  4. Christoph bought the basket of 29 eggs.
Mark: · log in to save
Problem 29 · 2024 Math Kangaroo Stretch
Number Theory place-valuecareful-counting

A special four-digit number \(\overline{abcd}\) fulfils the equation \(\overline{abcd}=a^a+b^b+c^c+d^d\). What is the value of a?

Show answer
Answer: B — 3
Show hints
Hint 1 of 2
You need a 4-digit number equal to the sum of each digit raised to its own power.
Still stuck? Show hint 2 →
Hint 2 of 2
Search digit by digit: 3³ + 4⁴ + 3³ + 5⁵ lands exactly on a 4-digit number.
Show solution
Approach: each digit raised to itself
  1. We want abcd = aᵃ + bᵇ + cᶜ + dᵈ.
  2. Testing 3435: 3³ + 4⁴ + 3³ + 5⁵ = 27 + 256 + 27 + 3125 = 3435.
  3. So the number is 3435 and a = 3.
Mark: · log in to save
Problem 26 · 2023 Math Kangaroo Stretch
Number Theory factorizationcasework

Seven pairwise different single-digit numbers are distributed among the circles shown so that the product of the three numbers that are connected by a straight line is the same in all three cases. Which number is written in the circle with the question mark?

Figure for Math Kangaroo 2023 Problem 26
Show answer
Answer: A — 2
Show hints
Hint 1 of 2
The centre number is in all three products, so the two outer numbers on each line have equal products.
Still stuck? Show hint 2 →
Hint 2 of 2
Find three disjoint pairs of distinct digits with the same product, and see which centre value makes it work.
Show solution
Approach: equal products force matching pairs
  1. All seven digits must be different and non-zero (a zero would force every product to be 0).
  2. Trying the common product 72 = 8·9·1 = 6·4·3, the two horizontal lines can use {8,9,1} and {6,4,3}.
  3. The vertical line shares the two centres (9 and 4 in one valid layout), so its third number is 72 ÷ (9·4) = 2.
  4. Checking all arrangements, the question-mark circle always holds 2.
Mark: · log in to save
Problem 27 · 2023 Math Kangaroo Stretch
Number Theory divisibilityfactorization

What is the biggest common factor of all numbers of the form \(n^3 (n+1)^3 (n+2)^3 (n+3)^3 (n+4)^3\) where n is a positive integer?

Show answer
Answer: E — \(2^9 \cdot 3^3 \cdot 5^3\)
Show hints
Hint 1 of 2
Inside the cube, the base is a product of five consecutive integers.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the gcd of 'product of five consecutive integers' over all n, then cube it.
Show solution
Approach: find the gcd of five-consecutive-integer products, then cube
  1. A product of five consecutive integers is always divisible by 5! = 120, and n = 1 gives exactly 120, so the gcd of these products is 120 = 23·3·5.
  2. The given numbers are that product cubed, so their gcd is 1203 = 29·33·53.
  3. That is option 29·33·53.
Mark: · log in to save
Problem 30 · 2023 Math Kangaroo Stretch
Number Theory factorizationcareful-counting

The product of six consecutive numbers is a 12-digit number of the form abb cdd cdd abb, where the digits a, b, c and d are also consecutive numbers in any order. What is the value of the digit d?

Show answer
Answer: C — 3
Show hints
Hint 1 of 2
The product of six consecutive numbers is a 12-digit number, which narrows the starting value a lot.
Still stuck? Show hint 2 →
Hint 2 of 2
Search near that range and match the repeating abb cdd cdd abb digit pattern.
Show solution
Approach: bound the starting value, then match the digit pattern
  1. A 12-digit product of six consecutive integers forces the run to start in the mid-70s.
  2. Testing those, 74·75·76·77·78·79 = 200 133 133 200, of the form abb cdd cdd abb with a=2, b=0, c=1, d=3.
  3. The digits 0, 1, 2, 3 are consecutive, and d = 3.
Mark: · log in to save
Problem 21 · 2022 Math Kangaroo Stretch
Number Theory sum-constraintdivisibility

Once I met six sisters whose ages were six consecutive integers. I asked each one of them: How old is the oldest of your sisters? Which of the following numbers cannot be the sum of the six answers?

Show answer
Answer: D — 205
Show hints
Hint 1 of 2
Each sister names her oldest sister: five of them name the same person, but the oldest names someone different.
Still stuck? Show hint 2 →
Hint 2 of 2
Write the total of the six answers as one expression in the youngest age, then check it against each option.
Show solution
Approach: build the sum of the six answers, then test the fixed remainder
  1. Call the ages \(n, n+1, \dots, n+5\); the oldest is \(n+5\), and her own oldest sister is \(n+4\).
  2. Five sisters answer \(n+5\) and the oldest answers \(n+4\), so the six answers add to \(5(n+5)+(n+4)=6n+29\).
  3. So any valid sum minus 29 must be a multiple of 6; checking the options, only \(205-29=176\) is not, so 205 cannot occur.
Mark: · log in to save
Problem 23 · 2022 Math Kangaroo Stretch
Number Theory factorizationcasework

The numbers 1 to 8 are written in the circles shown, one per circle. Along each of the five straight arrows the three numbers in the circles are multiplied, and the product is written at the arrow’s tip. What is the sum of the numbers in the three circles in the bottom row?

Figure for Math Kangaroo 2022 Problem 23
Show answer
Answer: D — 17
Show hints
Hint 1 of 2
Each product label factors into three of the numbers 1-8; the arrow-tip products constrain which numbers sit where.
Still stuck? Show hint 2 →
Hint 2 of 2
Factor 30, 48, 105, 28, 144 into the digits 1-8 and find the three bottom-row circles in the consistent assignment.
Show solution
Approach: factor the arrow products to place numbers
  1. The numbers 1 to 8 fill the circles (total 36), and each arrow's label is the product of its three circles.
  2. Factoring a label like \(105 = 3 \times 5 \times 7\) forces those three numbers onto that arrow, and the other labels pin down the rest by elimination.
  3. The resulting placement puts numbers summing to 17 in the three bottom-row circles, so the answer is D.
Mark: · log in to save
Problem 24 · 2022 Math Kangaroo Stretch
Number Theory factorization

Kai puts the numbers 3, 4, 5, 6 and 7 into the five circles of the diagram. For each triangle, the product of the three numbers at its vertices must equal the number written inside that triangle. What is the sum of the numbers at the vertices of the triangle marked 168?

Figure for Math Kangaroo 2022 Problem 24
Show answer
Answer: D — 17
Show hints
Hint 1 of 2
Factor each label as a product of three of the numbers 3,4,5,6,7 to see which three meet in that triangle.
Still stuck? Show hint 2 →
Hint 2 of 2
The number sitting in every triangle is the shared centre; the 168 triangle uses the other two plus the centre.
Show solution
Approach: factor each product to identify the three vertices
  1. Factor the labels: 105 = 3 × 5 × 7, 84 = 3 × 4 × 7, 210 = 5 × 6 × 7, 168 = 4 × 6 × 7.
  2. The factor 7 appears in every product, so 7 is the central circle.
  3. The triangle labelled 168 has vertices 4, 6, 7, summing to 17.
  4. So the answer is D.
Mark: · log in to save
Problem 25 · 2022 Math Kangaroo Stretch
Number Theory casework

How many three-digit numbers are there that are equal to five times the product of their digits?

Show answer
Answer: A — 1
Show hints
Hint 1 of 2
You need a three-digit number equal to five times the product of its digits.
Still stuck? Show hint 2 →
Hint 2 of 2
The number must be a multiple of 5, so its last digit is 0 or 5; a 0 kills the product, so it ends in 5.
Show solution
Approach: search constrained three-digit numbers
  1. Since n = 5·(product of digits), n is a multiple of 5; the units digit can't be 0, so it is 5.
  2. Checking the candidates, only 175 works: 5·1·7·5 = 175.
  3. So there is exactly 1 such number.
Mark: · log in to save
Problem 27 · 2022 Math Kangaroo Stretch
Number Theory factorizationplace-value

The product of the digits of a number N is 20. Which of the following numbers cannot be the product of the digits of the number N + 1?

Show answer
Answer: D — 35
Show hints
Hint 1 of 2
A digit product of 20 forces specific digit sets like {4,5} or {1,4,5}.
Still stuck? Show hint 2 →
Hint 2 of 2
Compute N+1 for the small N with digit product 20 and see which target product never appears.
Show solution
Approach: enumerate N with digit product 20 and test N+1
  1. Numbers with digit product 20 use digits multiplying to 20 (e.g. 45, 54, 145, ...).
  2. For each, look at N+1 and its digit product; the reachable products include 24, 25, 30 and 40.
  3. A digit product of 35 = 5*7 would need a digit 7, which none of the N+1 cases produce, so 35 is impossible.
Mark: · log in to save
Problem 22 · 2021 Math Kangaroo Stretch
Number Theory sum-constraintcasework

The numbers 1, 2, 7, 9, 10, 15 and 19 are written down on a blackboard. Two players alternately delete one number each until only one number remains on the blackboard. The sum of the numbers deleted by one of the players is twice the sum of the numbers deleted by the other player. What is the number that remains?

Show answer
Answer: B — 9
Show hints
Hint 1 of 2
The whole list sums to 63; if one player's deletions are twice the other's, what must the remaining number satisfy?
Still stuck? Show hint 2 →
Hint 2 of 2
Check which candidate value can actually be split into the required two groups of three.
Show solution
Approach: use the total and a divisibility test, then verify a split
  1. Total is 1+2+7+9+10+15+19 = 63. If deletions are k and 2k, then 63 − r = 3k, so r is a multiple of 3.
  2. The multiples of 3 in the list are 9 and 15; only r = 9 allows a valid split: {1,2,15}=18 and {7,10,19}=36 = 2·18.
  3. So the remaining number is 9.
Mark: · log in to save
Problem 23 · 2021 Math Kangaroo Stretch
Number Theory digit-sumplace-value

Let N be the smallest positive integer whose digits sum to 2021. What is the sum of the digits of \(N+2021\)?

Show answer
Answer: A — 10
Show hints
Hint 1 of 2
To keep N smallest with digit sum 2021, use as many 9s as possible with a small leading digit.
Still stuck? Show hint 2 →
Hint 2 of 2
Adding 2021 to a string of trailing 9s triggers carries that turn many 9s into 0s.
Show solution
Approach: build the smallest N, then add and track carries
  1. 2021 = 224×9 + 5, so the smallest N is a 5 followed by 224 nines (digit sum 2021).
  2. Adding 2021 to the trailing ...9999 causes carries that ripple through every 9, turning them to 0 and bumping the leading 5 to 6.
  3. N+2021 becomes 6, then a block of zeros, ending in 2020.
  4. Its digit sum is 6+2+0+2+0 = 10, choice (A).
Mark: · log in to save
Problem 26 · 2021 Math Kangaroo Stretch
Number Theory difference-of-squaresfactorizationprimes

Each of the numbers a and b is the square of an integer. The difference \(a-b\) is a prime number. Which of the following could be the number b?

Show answer
Answer: D — 900
Show hints
Hint 1 of 2
If a and b are squares, a - b factors as (√a-√b)(√a+√b); for a prime the first factor must be 1.
Still stuck? Show hint 2 →
Hint 2 of 2
So √a and √b are consecutive, and 2√b+1 must be prime — test each b.
Show solution
Approach: difference of squares forces consecutive roots
  1. With a = m² and b = n², a - b = (m-n)(m+n); a prime needs m-n = 1.
  2. Then a - b = m+n = 2n+1, which must be prime.
  3. For b = 900, n = 30 gives 2(30)+1 = 61, which is prime (and a = 961 = 31²).
  4. The other options give composite differences, so b = 900, choice (D).
Mark: · log in to save
Problem 23 · 2020 Math Kangaroo Stretch
Number Theory sum-constraint

Jonas and Elias went to the beach for their vacation, where they had ice cream every day. Each ice cream they had, had two or three balls. On the last day of vacation, Jonas and Elias had had 23 and 19 ice cream balls in total, respectively. At least how many days were they on vacation?

Show answer
Answer: C — 8
Show hints
Hint 1 of 3
To use up the fewest days, give the bigger eater (Jonas, 23 balls) the most balls each day.
Still stuck? Show hint 2 →
Hint 2 of 3
Even eating 3 balls every single day, count how many days it takes to reach 23.
Still stuck? Show hint 3 →
Hint 3 of 3
The same number of days has to work for both boys, so check that 19 also fits in that many days.
Show solution
Approach: give the most balls per day to use the fewest days, then check both totals fit
  1. To finish in as few days as possible, eat the biggest ice cream (3 balls) every day.
  2. Counting by 3 toward Jonas's 23: seven days give only 21 balls, which is not enough, so they need at least 8 days.
  3. Eight days really works for both: Jonas eats 3 balls on 7 days and 2 balls on 1 day (21 + 2 = 23), and Elias eats 3 balls on 3 days and 2 balls on 5 days (9 + 10 = 19).
  4. So they were on vacation at least 8 days, choice C.
Mark: · log in to save
Problem 23 · 2020 Math Kangaroo Stretch
Geometry & Measurement Number Theory areaperfect-square

Sofia has 52 isosceles right triangles, each of area 1 cm². She wants to make a square using some of these triangles. What is the area of the largest square she can make?

Show answer
Answer: D — 50 cm²
Show hints
Hint 1 of 2
Each triangle has area 1, so a square built from k of them has area k.
Still stuck? Show hint 2 →
Hint 2 of 2
Right isosceles triangles assemble into squares whose area is twice a perfect square (2, 8, 18, 32, 50, ...).
Show solution
Approach: find the largest valid square area within the supply
  1. Each triangle has area 1, so a square of these has an integer area equal to the number used.
  2. These isosceles right triangles tile squares of area 2×1², 2×2², 2×3², ... = 2, 8, 18, 32, 50.
  3. The largest such area not exceeding 52 triangles is 50.
  4. So the biggest square is 50 cm², choice D.
Mark: · log in to save
Problem 24 · 2020 Math Kangaroo Stretch
Number Theory divisibilityfactorizationperfect-square

Let N be the smallest positive number such that half of N is divisible by 2, one-third of N is divisible by 3, one-quarter of N is divisible by 4, one-fifth of N is divisible by 5, one-sixth of N is divisible by 6, one-eighth of N is divisible by 8, and one-ninth of N is divisible by 9. The square root of N is a number of how many digits?

Show answer
Answer: A — 3
Show hints
Hint 1 of 2
'Half of N divisible by 2' means N is a multiple of 4; turn each clue into a divisibility of N.
Still stuck? Show hint 2 →
Hint 2 of 2
Take the least common multiple of all those requirements, then count the digits of its square root.
Show solution
Approach: translate the clues, then take the LCM
  1. The clues say N is a multiple of 4, 9, 16, 25, 36, 64 and 81.
  2. Their least common multiple is N = 129600.
  3. √129600 = 360, which has 3 digits.
  4. The answer is 3, choice A.
Mark: · log in to save
Problem 24 · 2020 Math Kangaroo Stretch
Number Theory divisibilityfactorization

A positive integer N is divisible by every integer from 2 to 11 except for two of them. Among the pairs \((6,7)\), \((7,8)\), \((8,9)\), \((9,10)\) and \((10,11)\), how many could be that pair of exceptions?

Show answer
Answer: B — 2
Show hints
Hint 1 of 2
If N misses two numbers, the LCM of the remaining nine must fail to divide each missing one.
Still stuck? Show hint 2 →
Hint 2 of 2
Test each candidate pair by building the LCM of the others.
Show solution
Approach: check each pair against the LCM of the kept numbers
  1. For a pair to be the exception, N can be the LCM of the other nine numbers and must NOT be divisible by either removed number.
  2. Testing each pair, only (7,8) and (8,9) work; the others leave an LCM still divisible by one of the removed numbers.
  3. So the count of possible exception pairs is 2.
Mark: · log in to save
Problem 25 · 2020 Math Kangaroo Stretch
Number Theory factor-triplescasework

Julia wrote four positive integers, one at each vertex of a triangular-based pyramid. She calculated the sum of the numbers written on the vertices of one face and the products of the numbers written on the vertices of the other two faces, obtaining 15, 20 and 30, respectively. What is the highest possible value of the product of the four numbers?

Figure for Math Kangaroo 2020 Problem 25
Show answer
Answer: E — 120
Show hints
Hint 1 of 2
Each face uses three of the four vertices; two faces share an edge (two vertices).
Still stuck? Show hint 2 →
Hint 2 of 2
Pick vertex values matching the two products that share a pair, then check the sum-15 face.
Show solution
Approach: match shared-edge factor triples and maximise the product
  1. The faces with products 20 and 30 share two vertices; try the shared pair {1,5}.
  2. Then the third vertices are 4 (for 20) and 6 (for 30), giving values 1, 5, 4, 6.
  3. The remaining face 5+4+6 = 15 matches the required sum.
  4. The product of all four is 1·5·4·6 = 120.
Mark: · log in to save
Problem 25 · 2020 Math Kangaroo Stretch
Ratios, Rates & Proportions Number Theory distance-speed-time

Jonas was driving his car and saw the following information on the car display: speed 90 km/h, distance travelled 116.0 km, and time 21h00min. Jonas kept driving at the same speed, and that same night he noticed that the four-digit sequence showing the distance travelled was the same four-digit sequence showing the time. At what time did this happen?

Show answer
Answer: D — 22h10min
Show hints
Hint 1 of 2
At 90 km/h he gains 90 km each hour (1.5 km per minute); update both the distance and the clock together.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the moment when the four digits of the distance match the four digits of the time.
Show solution
Approach: advance distance and time together
  1. At 90 km/h the distance climbs by 1.5 km per minute from 116.0 km at 21h00.
  2. After 70 minutes (at 22h10) the distance is 116 + 90·(70/60) = 221.0 km.
  3. The distance digits 2–2–1–0 match the time 22h10 exactly.
  4. So it happened at 22h10min, choice D.
Mark: · log in to save
Problem 26 · 2020 Math Kangaroo Stretch
Number Theory divisibilitydigit-sum

A three-digit number is called balanced if its middle digit is the average of the other two digits. How many balanced numbers are divisible by 18?

Show answer
Answer: C — 6
Show hints
Hint 1 of 2
Divisible by 18 means even and digit-sum divisible by 9; 'balanced' means the middle is the average of the outer two.
Still stuck? Show hint 2 →
Hint 2 of 2
Balanced makes the digit sum three times the middle digit, so the middle digit must be a multiple of 3.
Show solution
Approach: combine the balanced condition with divisibility by 18
  1. Balanced means middle = (first+last)/2, so the digit sum first+middle+last = 3 x middle.
  2. Divisible by 9 needs that sum divisible by 9, so the middle digit is 0, 3, 6 or 9; divisible by 2 needs an even last digit.
  3. Listing the cases gives 234, 432, 468, 630, 666, 864 - exactly 6 numbers.
Mark: · log in to save
Problem 28 · 2020 Math Kangaroo Stretch
Number Theory divisibilityfactorization

Maria writes each positive divisor of 2020 on its own card and puts all the cards in a box. She then closes her eyes and draws the cards out one at a time. How many cards must she draw to be sure that among them are two numbers a and b with a not a divisor of b and b not a divisor of a?

Show answer
Answer: B — 6
Show hints
Hint 1 of 2
List the 12 divisors of 2020 and think of chains where each divides the next.
Still stuck? Show hint 2 →
Hint 2 of 2
A set with no 'incomparable' pair is just one such chain — how long can it be?
Show solution
Approach: longest divisibility chain plus one
  1. 2020 = 2²·5·101 has 12 divisors.
  2. A set with no incomparable pair is a chain under divisibility; the longest chain (for example 1, 2, 4, 404, 2020) has 5 elements.
  3. To be sure of an incomparable pair she must draw 5 + 1 = 6 cards.
Mark: · log in to save
Problem 29 · 2020 Math Kangaroo Stretch
Number Theory place-valuedigit-sum

The number \(K = 9999\ldots9\) is formed by n digits 9. What is the sum of the digits of the number \(K^3\)?

Show answer
Answer: D — \(18n\)
Show hints
Hint 1 of 2
Write K as 10^n − 1 and cube it.
Still stuck? Show hint 2 →
Hint 2 of 2
Expand and check the digit sum for small n to spot the pattern.
Show solution
Approach: expand (10^n - 1)^3 and read the digit sum
  1. K = 10^n − 1, so K³ = 10^(3n) − 3·10^(2n) + 3·10^n − 1.
  2. For n = 1, K³ = 729 (digit sum 18); for n = 2, K³ = 970299 (digit sum 36).
  3. The digit sum is 18n.
  4. So the answer is 18n.
Mark: · log in to save
Problem 29 · 2020 Math Kangaroo Stretch
Number Theory Algebra & Patterns factorizationsubstitution

Sonia writes three consecutive whole numbers, one on each side of a triangle. Then, on each vertex of the triangle, she writes the sum of the numbers written on the two sides that meet at that vertex, and she multiplies these three vertex numbers, obtaining the product 504. What is the product of the three numbers written on the sides of the triangle?

Show answer
Answer: B — 60
Show hints
Hint 1 of 2
Call the three consecutive numbers n, n+1, n+2; each vertex product is a sum of two of them.
Still stuck? Show hint 2 →
Hint 2 of 2
The vertex sums are 2n+1, 2n+2, 2n+3; set their product to 504 and find n.
Show solution
Approach: set up the vertex products
  1. With sides n, n+1, n+2, the three vertices hold (2n+1), (2n+2), (2n+3), and their product is 504.
  2. Testing, 7 × 8 × 9 = 504, so 2n+1 = 7, giving n = 3 and sides 3, 4, 5.
  3. The product of the side numbers is 3 × 4 × 5 = 60.
  4. The answer is 60, choice B.
Mark: · log in to save
Problem 29 · 2020 Math Kangaroo Stretch
Number Theory careful-counting

There are n different prime numbers \(p_1, p_2, \ldots, p_n\) written from left to right on the bottom row of the table shown. The product of two neighbouring numbers in a row is written in the box above them. The number \(K = p_1^{\alpha_1} \cdot p_2^{\alpha_2} \cdots p_n^{\alpha_n}\) is written in the single box at the top. In such a table, where \(\alpha_2 = 9\), how many of the numbers are divisible by \(p_4\)?

Figure for Math Kangaroo 2020 Problem 29
Show answer
Answer: D — 28
Show hints
Hint 1 of 2
The exponent of each prime at the top follows Pascal's triangle; the second exponent being 9 fixes how many primes there are.
Still stuck? Show hint 2 →
Hint 2 of 2
A cell is divisible by the fourth prime exactly when its block of bottom primes includes position 4.
Show solution
Approach: Pascal's triangle for n, then count blocks containing position 4
  1. The exponent of the second prime at the apex is C(n−1, 1) = n−1 = 9, so there are n = 10 primes.
  2. Each cell is the product of a contiguous block of bottom primes, and it is divisible by the fourth prime iff its block contains position 4.
  3. The number of such blocks is 4·(10−4+1) = 28.
Mark: · log in to save
Problem 30 · 2020 Math Kangaroo Stretch
Logic & Word Problems Number Theory caseworkwork-backward

The clues below help identify a four-digit number N:

  • 2741 — one digit is right, but it is in the wrong place.
  • 4132 — two digits are right, but they are in the wrong places.
  • 7642 — none of the digits are right.
  • 9826 — one digit is right and in the right place.
  • 5079 — two digits are right; one is in the right place and the other is in the wrong place.

What is the hundreds digit of the number N?

Show answer
Answer: A — 0
Show hints
Hint 1 of 2
The clue '7642: none right' deletes the digits 7, 6, 4, 2 from N entirely — that prunes the others fast.
Still stuck? Show hint 2 →
Hint 2 of 2
Use the place/value hints to pin each digit; then read off the hundreds digit.
Show solution
Approach: eliminate, then place the surviving digits
  1. Clue 7642 (none right) removes 7, 6, 4 and 2 from N, simplifying the other clues.
  2. Working through the remaining position clues forces N = 9013 (the only number fitting all five hints).
  3. Its hundreds digit is 0.
  4. The answer is 0, choice A.
Mark: · log in to save
Problem 21 · 2019 Math Kangaroo Stretch
Number Theory off-by-one

n buttons are placed evenly around a circle. The buttons are labelled clockwise in order with the numbers 1 to n. The button numbered 7 is exactly opposite the button numbered 23. How big is n?

Figure for Math Kangaroo 2019 Problem 21
Show answer
Answer: B — 32
Show hints
Hint 1 of 2
Two buttons are exactly opposite when they are half the circle apart.
Still stuck? Show hint 2 →
Hint 2 of 2
The gap between button 7 and button 23 is therefore n/2.
Show solution
Approach: opposite means a half-circle apart
  1. If buttons 7 and 23 are exactly opposite, they are n/2 positions apart.
  2. The gap from 7 to 23 is 23 − 7 = 16, so n/2 = 16.
  3. Therefore n = 32.
Mark: · log in to save
Problem 21 · 2019 Math Kangaroo Stretch
Number Theory factorizationperfect-square

Let \(a\) be the sum of all positive factors of 1024 and \(b\) be the product of all positive factors of 1024. (Note that 1 and 1024 are also factors of 1024.) Then which statement holds?

Show answer
Answer: B — \((a+1)^{5} = b\)
Show hints
Hint 1 of 2
\(1024 = 2^{10}\) has eleven factors: \(2^{0}\) through \(2^{10}\).
Still stuck? Show hint 2 →
Hint 2 of 2
Their product is 2 raised to \(0 + 1 + \cdots + 10\); compare it with a power of the sum \(a\).
Show solution
Approach: use that \(1024 = 2^{10}\) has 11 factors
  1. The factors of \(1024 = 2^{10}\) are \(2^{0}, \ldots, 2^{10}\), so their product is \(b = 2^{0+1+\cdots+10} = 2^{55}\).
  2. The sum of all factors is \(a = 1 + 2 + \cdots + 1024 = 2^{11} - 1 = 2047\), so \(a + 1 = 2^{11}\).
  3. Then \((a+1)^{5} = (2^{11})^{5} = 2^{55} = b\).
  4. Answer (B) \((a+1)^{5} = b\).
Mark: · log in to save
Problem 26 · 2019 Math Kangaroo Stretch
Number Theory place-valuecareful-counting

The integers from 1 to 99 are written down in ascending order without a gap. This sequence of digits is divided up into triples (groups of three):

\(123456789101112\cdots979899 \longrightarrow (123)(456)(789)(101)(112)\cdots(979)(899).\)

Which of the following triples is not obtained?

Show answer
Answer: B — (444)
Show hints
Hint 1 of 2
Write 1234567891011… and chop into groups of three; track where each number lands.
Still stuck? Show hint 2 →
Hint 2 of 2
Check each candidate triple against the actual grouping — one never appears.
Show solution
Approach: generate the triples and check membership
  1. Concatenate 1 to 99 and split into threes; this gives a fixed list of triples.
  2. Scanning it, (123), (464), (646) and (888) all occur as groups.
  3. The triple (444) never lines up, so the answer is (444).
Mark: · log in to save
Problem 26 · 2019 Math Kangaroo Stretch
Number Theory factorizationprime-test

For how many integers \(n\) is \(|n^{2} - 2n - 3|\) a prime number?

Show answer
Answer: D — 4
Show hints
Hint 1 of 2
Factor \(n^{2} - 2n - 3 = (n-3)(n+1)\); a product of integers is prime only if one factor is \(\pm 1\).
Still stuck? Show hint 2 →
Hint 2 of 2
Set each factor to \(\pm 1\) and check whether the other factor's absolute value is prime.
Show solution
Approach: factor, then force one factor to be \(\pm 1\)
  1. \(|n^{2} - 2n - 3| = |(n-3)(n+1)|\); for this to be prime, one factor must be \(\pm 1\).
  2. \(n - 3 = \pm 1\) gives \(n = 4\) (value 5) or \(n = 2\) (value 3); \(n + 1 = \pm 1\) gives \(n = 0\) (value 3) or \(n = -2\) (value 5).
  3. All four results (3 or 5) are prime, so there are 4 such integers: \(n = -2, 0, 2, 4\).
  4. Answer (D) 4.
Mark: · log in to save
Problem 29 · 2019 Math Kangaroo Stretch
Number Theory place-valuecasework

The numbers a, b and c are three-digit numbers, and in each number the first digit is equal to the last one. Furthermore \(b = 2a + 1\) and \(c = 2b + 1\). How many possible values are there for the number a?

Show answer
Answer: C — 2
Show hints
Hint 1 of 2
“First digit equals last” means each of a, b, c is a 3-digit number of the form x?x.
Still stuck? Show hint 2 →
Hint 2 of 2
Use b = 2a + 1 and c = 2b + 1 and test which starting a keep all three in that form.
Show solution
Approach: chase the doubling chain through 3-digit ‘x?x’ numbers
  1. a, b, c each read x?x (first digit = last). With b = 2a + 1 and c = 2b + 1, only a few a work.
  2. a = 181 gives b = 363, c = 727; a = 191 gives b = 383, c = 767 — both valid.
  3. No other a works, so there are 2 possible values.
Mark: · log in to save
Problem 30 · 2019 Math Kangaroo Stretch
Number Theory factorizationperfect-square

What is the minimum number of elements of the set \(\{10, 20, 30, 40, 50, 60, 70, 80, 90\}\) that have to be removed so that the product of the remaining elements is a square number?

Show answer
Answer: B — 2
Show hints
Hint 1 of 3
A product is a square exactly when every prime appears an even number of times.
Still stuck? Show hint 2 →
Hint 2 of 3
Only one element, 70, carries the prime 7, so 70 must go — then check what its removal does to the other primes.
Still stuck? Show hint 3 →
Hint 3 of 3
Removing 70 throws the counts of 2 and 5 off, so a second element is needed to fix them.
Show solution
Approach: make every prime exponent even
  1. In the full product \(2^{16}\cdot 3^{4}\cdot 5^{10}\cdot 7^{1}\) the only odd exponent is the lone 7, which comes solely from 70.
  2. So 70 must be removed; but 70 = \(2\cdot 5\cdot 7\), and dropping it turns the exponents of 2 and 5 odd.
  3. Removing one more element that supplies an odd 2 and an odd 5 (for example 40 = \(2^{3}\cdot 5\)) makes everything even, so the minimum is 2.
Mark: · log in to save
Problem 21 · 2018 Math Kangaroo Stretch
Number Theory place-value

Three different digits A, B, and C are chosen. Then the biggest possible six-digit number is built in which the digit A appears 3 times, the digit B 2 times, and the digit C 1 time. Which arrangement is definitely not possible for this number?

Show answer
Answer: D — AAABCB
Show hints
Hint 1 of 2
The biggest number puts its six digits in order from largest on the left to smallest on the right, so reading left to right the digits never go back up.
Still stuck? Show hint 2 →
Hint 2 of 2
Watch the two copies of B: if any other letter sits between them, that letter would have to be no bigger than B and no smaller than B at the same time, forcing it to equal B - which is not allowed.
Show solution
Approach: the biggest number lists its digits from largest to smallest, so equal digits must be together
  1. To make the number as big as possible you write its six digits from largest to smallest, so going left to right the digits never increase.
  2. Then the two B's must sit side by side: any letter caught between them would have to be no bigger than B (to its left) yet no smaller than B (to its right), so it would equal B - impossible, since the digits are all different.
  3. In AAABCB the C sits between the two B's, which can never happen.
  4. Every other option keeps the two B's together, so the impossible one is AAABCB.
Mark: · log in to save
Problem 21 · 2018 Math Kangaroo Stretch
Number Theory factorizationcasework

Some whole numbers are written on a board, among them the number 2018. The sum of all of them is 2018, and the product of all of them is also 2018. Which of the following could be how many numbers are on the board?

Show answer
Answer: B — 2017
Show hints
Hint 1 of 2
The product is already 2018 from that one number, so every other number must be \(\pm 1\).
Still stuck? Show hint 2 →
Hint 2 of 2
The sum is already 2018, so the extra \(+1\)'s and \(-1\)'s must cancel; that forces an exact count.
Show solution
Approach: every other number is +1 or -1, then match the sum and product constraints
  1. The list already contains 2018, whose value equals both the required sum and the required product, so every other number must be a \(+1\) or a \(-1\) (these don't change a product and are the only integers that can).
  2. For the product to stay \(+2018\), the number of \(-1\)'s must be even; for the sum to stay 2018, the \(+1\)'s and \(-1\)'s must cancel, so there are equally many of each, say \(k\) of each.
  3. Then the board holds \(1 + k + k = 2k+1\) numbers, which is always odd, so among the options only 2017 is possible (take \(k = 1008\)).
Mark: · log in to save
Problem 23 · 2018 Math Kangaroo Stretch
Number Theory sum-constraint

Nick wants to split the numbers 2, 3, 4, 5, 6, 7, 8, 9, 10 into some groups so that the sum of the numbers in each group is the same. What is the biggest number of groups he can make this way?

Show answer
Answer: B — 3
Show hints
Hint 1 of 2
Add 2 through 10 first; each group's sum must divide that total evenly.
Still stuck? Show hint 2 →
Hint 2 of 2
The number 10 must sit in some group, so every group sum is at least 10 - that caps how many groups you can have.
Show solution
Approach: use the total and the largest element to bound the groups
  1. The numbers 2 + 3 + ... + 10 add to 54.
  2. Equal groups means each group's sum divides 54, and since 10 sits in one group every group sum is at least 10.
  3. The only divisor of 54 that is at least 10 and gives more than two groups is 18, which makes 54 / 18 = 3 groups (e.g. {10,8}, {9,7,2}, {6,5,4,3}).
  4. So the most groups is 3.
Mark: · log in to save
Problem 29 · 2018 Math Kangaroo Stretch
Number Theory casework

Ed builds a big cube from several identical small white dice and colours some of the big cube's faces red. His sister Nicole drops it and it breaks back into the small dice. 45 of them have no red face. How many faces of the big cube did Ed colour red?

Show answer
Answer: C — 4
Show hints
Hint 1 of 2
A small die stays all-white only if it touches none of the coloured big-cube faces.
Still stuck? Show hint 2 →
Hint 2 of 2
Find a cube size where exactly 45 small dice can avoid the coloured faces.
Show solution
Approach: count the small dice that avoid every coloured face
  1. Take the big cube as \(5\times5\times5\) (125 small dice) and colour the 4 side faces, leaving the top and bottom uncoloured.
  2. The dice touching no red face are the inner \(3\times3\) of each of the 5 layers: \(3\times 3\times 5 = 45\), exactly as stated.
  3. So Ed coloured 4 faces.
Mark: · log in to save
Problem 30 · 2018 Math Kangaroo Stretch
Number Theory divisibilitydigit-sum

Archimedes has calculated \(15!\) and the result is on the board, but two of the digits—the second and the tenth—cannot be read: \(1\,?\,0\,7\,6\,7\,4\,3\,6\,?\,0\,0\,0\). What are the two missing digits? (Remark: \(15! = 15 \cdot 14 \cdot 13 \cdots 2 \cdot 1\).)

Show answer
Answer: E — 3 and 8
Show hints
Hint 1 of 2
15! is divisible by 9 and by 11, which constrain the hidden digits through digit tests.
Still stuck? Show hint 2 →
Hint 2 of 2
Use the rule for 9 (digit sum) and the alternating rule for 11.
Show solution
Approach: apply divisibility tests for 9 and 11 to recover the hidden digits
  1. Write 15! as 1 a 0 7 6 7 4 3 6 b 0 0 0 with hidden 2nd digit a and 10th digit b.
  2. Divisibility by 9: the digit sum 34+a+b must be a multiple of 9, forcing a+b = 11.
  3. Divisibility by 11: the alternating digit sum forces b−a = 5.
  4. Solving gives a = 3, b = 8 — the missing digits are 3 and 8.
Mark: · log in to save
Problem 21 · 2017 Math Kangaroo Stretch
Number Theory factorizationfactor-pairs

In the primate enclosure in a zoo there are four gorillas. They are all younger than 18 years old. No two have the same age, and all their ages are whole numbers. The product of their ages is 882. How big is the sum of their ages?

Show answer
Answer: D — 31
Show hints
Hint 1 of 2
Factor 882 and split it into four different whole numbers, all under 18.
Still stuck? Show hint 2 →
Hint 2 of 2
Use the prime factorisation 882 = 2 · 3² · 7².
Show solution
Approach: factor 882 into four distinct factors below 18
  1. 882 = 2 · 3² · 7².
  2. The only way to write it as four distinct factors each under 18 is 1 · 7 · 9 · 14 = 882.
  3. Their sum is 1 + 7 + 9 + 14 = 31, choice D.
Mark: · log in to save
Problem 21 · 2017 Math Kangaroo Stretch
Number Theory place-value

How many positive whole numbers have the property that, if you delete the last digit, you obtain a new number that is exactly equal to 114 of the original number?

Show answer
Answer: C — 2
Show hints
Hint 1 of 2
Deleting the last digit of N leaves the number formed by the other digits; call that part a and the last digit d.
Still stuck? Show hint 2 →
Hint 2 of 2
Write N = 10a + d and set a = N/14, then see which digits d are possible.
Show solution
Approach: set up the place-value equation and solve for valid digits
  1. Let the number be 10a + d, where a is what remains after deleting the last digit d.
  2. The condition a = (10a + d)/14 gives 14a = 10a + d, so 4a = d.
  3. Since d is a single digit, a = 1 (d = 4, number 14) or a = 2 (d = 8, number 28).
  4. That is 2 such numbers.
Mark: · log in to save
Problem 22 · 2017 Math Kangaroo Stretch
Counting & Probability Number Theory careful-counting

The numbers −3, −2, −1, 0, 1, 2 are written on the six faces of a die. The die is rolled twice. The numbers that were rolled are multiplied. How big is the probability that this product is negative?

Show answer
Answer: E13
Show hints
Hint 1 of 2
A product is negative only when one factor is positive and the other is negative.
Still stuck? Show hint 2 →
Hint 2 of 2
Count the positive faces and the negative faces; zero never helps.
Show solution
Approach: count favourable ordered rolls over all 36 outcomes
  1. The faces are −3, −2, −1, 0, 1, 2: three negatives and two positives (0 gives product 0).
  2. Negative product needs one of each sign; ordered, that is 3·2 + 2·3 = 12 of the 36 equally likely pairs.
  3. Probability = 12/36 = 1/3, choice E.
Mark: · log in to save
Problem 24 · 2017 Math Kangaroo Stretch
Number Theory place-valuedivisibility

A popular two-digit number is made up of the digits a and b. If the number pair is written down three times one after the other, a six-digit number is obtained. This new number is always divisible by

Show answer
Answer: C — 7
Show hints
Hint 1 of 2
Writing the two-digit number three times equals it times some fixed number.
Still stuck? Show hint 2 →
Hint 2 of 2
Factor that fixed multiplier 10101.
Show solution
Approach: factor the repetition multiplier
  1. Writing the two-digit number ab three times gives ababab = ab × 10101.
  2. Factor 10101 = 3 · 7 · 13 · 37, so 7 always divides the result.
  3. Hence it is always divisible by 7, choice C.
Mark: · log in to save
Problem 25 · 2017 Math Kangaroo Stretch
Counting & Probability Number Theory caseworkcareful-counting

My friend Heinz wants to use a special password that is made up of seven digits. Each digit used in the password appears as many times in the password as is the value of the digit. Additionally, equal digits are always next to each other. Therefore he can for example use 4444333 or 1666666 as passwords. How many possible passwords can he choose from?

Show answer
Answer: E — 13
Show hints
Hint 1 of 2
Each chosen digit takes up as many of the 7 slots as its value, so the values must add to 7.
Still stuck? Show hint 2 →
Hint 2 of 2
Equal digits stay together as one block, so count orderings of the blocks.
Show solution
Approach: partition 7 into distinct digit-values, then order the blocks
  1. Since a digit d fills d slots and equal digits are adjacent, choose distinct digit-values that sum to 7: {7}, {1,6}, {2,5}, {3,4}, {1,2,4}.
  2. Each choice of k blocks can be arranged in k! orders: 1 + 2 + 2 + 2 + 6 = 13.
  3. So there are 13 possible passwords, choice E.
Mark: · log in to save
Problem 26 · 2017 Math Kangaroo Stretch
Logic & Word Problems Number Theory caseworkcareful-counting

Paul wants to write a positive whole number onto every tile in the number wall shown, so that every number is equal to the sum of the two numbers on the tiles that are directly below. What is the maximum number of odd numbers he can write on the tiles?

Figure for Math Kangaroo 2017 Problem 26
Show answer
Answer: B — 14
Show hints
Hint 1 of 2
Work in parity (odd/even): a tile is odd exactly when the two below it differ in parity.
Still stuck? Show hint 2 →
Hint 2 of 2
Search the bottom row patterns of the six-row wall to maximise odd tiles.
Show solution
Approach: reduce to parity and optimise the bottom row of the wall
  1. Only odd/even matters: a tile is odd exactly when the two tiles below it have different parities, so the whole wall is fixed once the bottom row's pattern of odds and evens is chosen.
  2. For the six-row (21-tile) wall, testing the bottom-row patterns, the best choice (such as even, odd, odd, even, odd, odd) makes 14 of the 21 tiles odd.
  3. So the maximum number of odd tiles is 14, choice B.
Mark: · log in to save
Problem 27 · 2017 Math Kangaroo Stretch
Geometry & Measurement Number Theory arithmetic-sequencedivisibility

Lisa places some points on a circle and then connects them in sequence to make a polygon. She adds up the interior angles of the polygon. By mistake she misses out one angle and obtains the sum 2017. How big is the angle that she has overlooked?

Show answer
Answer: E — 143°
Show hints
Hint 1 of 2
The true angle sum of a polygon is a multiple of 180°.
Still stuck? Show hint 2 →
Hint 2 of 2
The missed angle is the gap up to the next multiple of 180 above 2017.
Show solution
Approach: round up to the nearest valid polygon angle sum
  1. The interior angles of an n-gon sum to (n−2)·180°, a multiple of 180.
  2. The smallest multiple of 180 above 2017 is 2160 = 12·180.
  3. The overlooked angle is 2160 − 2017 = 143°, choice E.
Mark: · log in to save
Problem 29 · 2017 Math Kangaroo Stretch
Number Theory caseworksum-constraint

Sarah wants to write a positive whole number onto every tile in the number wall shown, so that every number is equal to the sum of the two numbers on the tiles that are directly below it. What is the maximum number of odd numbers Sarah can write on the tiles?

Figure for Math Kangaroo 2017 Problem 29
Show answer
Answer: D — 10
Show hints
Hint 1 of 2
A tile is the sum of the two below it, so it is odd only when exactly one of those two is odd.
Still stuck? Show hint 2 →
Hint 2 of 2
Arrange the bottom row's parities to keep as many tiles odd as possible.
Show solution
Approach: track parities up the wall
  1. With 15 tiles (rows of 5, 4, 3, 2, 1), each upper tile is odd exactly when the two below it differ in parity.
  2. Searching parity patterns for the bottom row, the most odd tiles achievable across the whole wall is 10.
  3. So the maximum number of odd tiles is 10.
Mark: · log in to save
Problem 29 · 2017 Math Kangaroo Stretch
Number Theory caseworkdivisibility

How many different three-digit numbers ABC are there such that \((A + B)^C\) is a three-digit power of two?

Show answer
Answer: E — 21
Show hints
Hint 1 of 2
The three-digit powers of two are 128, 256, and 512; each must be written as (A+B) raised to the digit C.
Still stuck? Show hint 2 →
Hint 2 of 2
For each target, list the ways it is a perfect power base^C, then count the (A,B) digit pairs with A from 1-9.
Show solution
Approach: casework over the three three-digit powers of two
  1. Targets: 128 = 2^7; 256 = 2^8 = 4^4 = 16^2; 512 = 2^9 = 8^3.
  2. Count digit pairs (A,B) with A>=1: 128 -> A+B=2 (2 numbers); 256 -> A+B=2 (2), A+B=4 (4), A+B=16 (3); 512 -> A+B=2 (2), A+B=8 (8).
  3. Total = 2 + (2+4+3) + (2+8) = 21 numbers.
Mark: · log in to save
Problem 30 · 2017 Math Kangaroo Stretch
Geometry & Measurement Number Theory divisibilityfactor-pairs

The points A and B lie on a circle with centre M. The point P lies on the straight line through A and M. PB touches the circle in B. The lengths of the segments PA and MB are whole numbers, and PB = PA + 6. How many possible values for MB are there?

Figure for Math Kangaroo 2017 Problem 30
Show answer
Answer: D — 6
Show hints
Hint 1 of 2
PB is tangent, so its square equals the product of the whole secant and its external part (power of the point P).
Still stuck? Show hint 2 →
Hint 2 of 2
Turn the relation into MB = 6 + 18/PA and require whole numbers.
Show solution
Approach: use the tangent-secant power of a point, then count integer solutions
  1. Power of the point P: \(PB^2 = PA \cdot (PA + 2\,MB)\), since the secant through A and M has external part PA and crosses the circle again a diameter (2·MB) further on.
  2. With PB = PA + 6: \((PA+6)^2 = PA^2 + 2\,PA\cdot MB\) gives \(12\,PA + 36 = 2\,PA\cdot MB\), so \(MB = 6 + \dfrac{18}{PA}\).
  3. MB is a whole number when PA divides 18: PA ∈ {1, 2, 3, 6, 9, 18}, giving 6 distinct values of MB, choice D.
Mark: · log in to save
Problem 22 · 2016 Math Kangaroo Stretch
Number Theory casework

What is the biggest remainder one can obtain by dividing a two-digit number by the sum of its digits?

Show answer
Answer: C — 15
Show hints
Hint 1 of 2
The remainder must be smaller than the digit sum you divide by.
Still stuck? Show hint 2 →
Hint 2 of 2
Test two-digit numbers with a large digit sum that are not multiples of it.
Show solution
Approach: maximise the remainder
  1. The remainder is always less than the digit sum, which is at most 18.
  2. Trying 79: digit sum 16 and 79 = 4×16 + 15, a remainder of 15.
  3. No two-digit number does better, so the biggest remainder is 15.
Mark: · log in to save
Problem 25 · 2016 Math Kangaroo Stretch
Number Theory primes

In the Kangaroo Republic, every month has 40 days, which are numbered through from 1 to 40. Every day with a number that is divisible by 6 is a public holiday, and likewise every day with a prime number. How often per month does it occur that there is exactly one working day between two public holidays?

Show answer
Answer: A — 1
Show hints
Hint 1 of 2
Mark every day that is a multiple of 6 or a prime as a holiday.
Still stuck? Show hint 2 →
Hint 2 of 2
Look for a holiday, then a single working day, then another holiday.
Show solution
Approach: list and scan
  1. Holidays are the primes and the multiples of 6 up to 40.
  2. Scanning for the pattern holiday–working–holiday, only day 4 sits alone between holidays 3 and 5.
  3. So it happens 1 time.
Mark: · log in to save
Problem 27 · 2016 Math Kangaroo Stretch
Number Theory primes

Jakob writes down four consecutive positive whole numbers. He calculates all possible sums of three of those numbers and realises that none of those sums is a prime number. What is the smallest number that Jakob could have written down?

Show answer
Answer: C — 7
Show hints
Hint 1 of 2
Adding three of four consecutive numbers leaves out one; write the four sums.
Still stuck? Show hint 2 →
Hint 2 of 2
Two of the sums are automatically multiples of 3; make the other two composite too.
Show solution
Approach: search the smallest start
  1. For a start n the four sums are 3n+3, 3n+4, 3n+5, 3n+6; the first and last are multiples of 3.
  2. Need 3n+4 and 3n+5 composite as well; the first n that works is n = 7 (25 and 26).
  3. So the smallest number written is 7.
Mark: · log in to save
Problem 28 · 2016 Math Kangaroo Stretch
Number Theory divisibilityprimes

Anna chooses a positive whole number n and writes down the sum of all positive whole numbers from 1 to n. A prime number p divides this sum but none of the summands. Which of the following numbers is a possible value of n + p?

Show answer
Answer: A — 217
Show hints
Hint 1 of 3
The sum \(1+2+\cdots+n\) equals \(\tfrac{n(n+1)}{2}\).
Still stuck? Show hint 2 →
Hint 2 of 3
A prime that divides the sum but none of the summands \(1,\dots,n\) must be larger than \(n\).
Still stuck? Show hint 3 →
Hint 3 of 3
The only way such a prime appears in \(\tfrac{n(n+1)}{2}\) is as \(n+1\) itself.
Show solution
Approach: the special prime must equal n+1
  1. The sum is \(\tfrac{n(n+1)}{2}\); if prime \(p\) divides it but no summand \(1,\dots,n\), then \(p > n\).
  2. A prime bigger than \(n\) can only come from the factor \(n+1\), so \(p = n+1\) and \(n+p = 2n+1\) is odd.
  3. Test the odd options: \(217 = 2(108)+1\) needs \(n=108\), \(p=109\), and 109 is prime, while the others give composite \(n+1\).
  4. For \(n=108\), \(p=109\) divides \(\tfrac{108\cdot109}{2}\) but no summand, so 217 works (A).
Mark: · log in to save
Problem 29 · 2016 Math Kangaroo Stretch
Number Theory careful-counting

A date can be written in the form DD.MM.YYYY; e.g. today’s date is 17.03.2016. We call a date “surprising” if all 8 digits used in this notation are different. In which month does the next surprising date occur?

Show answer
Answer: B — June
Show hints
Hint 1 of 3
All eight digits must differ, so the year YYYY itself must already use four distinct digits.
Still stuck? Show hint 2 →
Hint 2 of 3
A day's first digit is 0-3 and a month's first digit is 0 or 1, which sharply limits which years can work.
Still stuck? Show hint 3 →
Hint 3 of 3
Step forward from 2016 to the first year whose digits leave a legal day and month with no repeats.
Show solution
Approach: find the first year that leaves room for a valid day and month
  1. Any year from 2017 onward that starts 20.. reuses the 0 (months and small days also need a 0 or repeat), so no surprising date appears in the 2000s.
  2. Checking the 2100s, 2200s and early 2300s, the leading digits keep colliding with the only small digits a valid month (01-12) and day (01-31) can use, so none works.
  3. The first year that frees up enough distinct small digits is 2345, and its earliest surprising date is 17.06.2345 (digits 1,7,0,6,2,3,4,5 all different).
  4. That date is in June.
Mark: · log in to save
Problem 30 · 2016 Math Kangaroo Stretch
Number Theory factorizationfactor-pairs

The positive whole number N has exactly six different (positive) factors, including 1 and N. The product of five of these factors is 648. Which of these numbers is the sixth factor of N?

Show answer
Answer: C — 9
Show hints
Hint 1 of 3
Divisors pair up to multiply to N, so the product of all of them is a power of N.
Still stuck? Show hint 2 →
Hint 2 of 3
With six divisors, all six multiply to \(N^3\).
Still stuck? Show hint 3 →
Hint 3 of 3
Then the sixth factor is \(N^3\) divided by the given product 648.
Show solution
Approach: product of all divisors = N^(d/2)
  1. For \(N\) with 6 divisors, the product of all six is \(N^3\) (divisors pair up to give \(N\)).
  2. So the sixth factor is \(N^3 / 648\), meaning \(648\) must equal \(N^3\) divided by one divisor.
  3. Trying \(N = 18\): its factors \(1,2,3,6,9,18\) multiply to \(5832 = 18^3\), and \(5832 / 648 = 9\).
  4. So the missing sixth factor is 9 (C).
Mark: · log in to save
Problem 22 · 2015 Math Kangaroo Stretch
Number Theory divisibilitycasework

A train has 12 carriages. In each carriage there is the same number of compartments. Mike is sitting in the 18th compartment behind the engine, this is in the 3rd carriage. Joanna is sitting in the 50th compartment behind the engine, this is in the 7th carriage. How many compartments are in one carriage?

Show answer
Answer: B — 8
Show hints
Hint 1 of 3
Every carriage holds the same number of compartments, so try the answer choices one at a time.
Still stuck? Show hint 2 →
Hint 2 of 3
If each carriage has 8 compartments, carriages 1 and 2 use compartments 1–16, so carriage 3 holds 17–24.
Still stuck? Show hint 3 →
Hint 3 of 3
Check that the same guess also lands compartment 50 inside carriage 7.
Show solution
Approach: test the answer choices: find how many compartments fit before each carriage
  1. Try 8 compartments per carriage. Then carriages 1 and 2 fill compartments 1 through 16, so carriage 3 holds compartments 17 through 24 — and Mike's seat 18 lands there. ✓
  2. With 8 each, carriages 1–6 fill compartments 1 through 48, so carriage 7 holds 49 through 56 — and Joanna's seat 50 lands there. ✓
  3. Both facts work only with 8, so there are 8 compartments in one carriage.
Mark: · log in to save
Problem 26 · 2015 Math Kangaroo Stretch
Number Theory pythagorean-triplefactor-pairs

How many different triangles ABC whose side lengths are whole numbers are there, if ∠ABC = 90° and AB = 20? (Hint: two triangles are called different if they are not congruent.)

Show answer
Answer: D — 4
Show hints
Hint 1 of 2
With the right angle at B, AB and BC are the legs; you need integer BC and hypotenuse AC.
Still stuck? Show hint 2 →
Hint 2 of 2
Use AC² − BC² = 400 and factor it as a difference of squares.
Show solution
Approach: solve AC² − BC² = 20² by factoring
  1. The right angle is at B, so 20² + BC² = AC², i.e. (AC−BC)(AC+BC) = 400.
  2. Both factors must be even; the pairs (2,200),(4,100),(8,50),(10,40) give positive integer legs (the pair (20,20) gives a zero leg).
  3. That is 4 non-congruent triangles (D).
Mark: · log in to save
Problem 30 · 2015 Math Kangaroo Stretch
Number Theory divisibilityplace-value

Independently from each other, Bill and Bob substitute the letters in the word KANGAROO with numbers, so that the resulting numbers are multiples of 11. They both substitute different letters with different digits and same letters with the same digits (K ≠ 0). Bill obtains the biggest possible number and Bob the smallest possible. In both cases one letter is substituted with the same digit. Which digit is that?

Show answer
Answer: D — 5
Show hints
Hint 1 of 2
For divisibility by 11 use the alternating digit sum; in KANGAROO the repeated A and O sit in opposite positions and cancel.
Still stuck? Show hint 2 →
Hint 2 of 2
Build the largest number greedily from the front and the smallest greedily from the front, then see which letter lands on the same digit both times.
Show solution
Approach: alternating-digit-sum test for divisibility by 11, then optimise
  1. Labelling the positions of K A N G A R O O, the alternating sum reduces to \(K+N-G-R\) (the two A's and two O's cancel), so divisibility by 11 means \(K+N-G-R\equiv 0 \pmod{11}\).
  2. Pushing the largest digits to the front gives Bill's maximum 98758066 (K=9, A=8, N=7, G=5, R=0, O=6), and pushing the smallest gives Bob's minimum 10250933 (K=1, A=0, N=2, G=5, R=9, O=3).
  3. Comparing the two, the letter G takes the digit 5 in both, so the shared digit is 5 (D).
Mark: · log in to save
Problem 25 · 2014 Math Kangaroo Stretch
Number Theory divisibilitycasework

Thomas wants to write down pairwise different positive whole numbers, none of which is bigger than 100. Their product should not be divisible by 54. At most how many numbers can he write down?

Show answer
Answer: D — 69
Show hints
Hint 1 of 2
54 = 2 · 3³. The product fails to be divisible by 54 if it is short on 2's OR short on 3's.
Still stuck? Show hint 2 →
Hint 2 of 2
Keeping the total power of 3 below three is the cheaper restriction — how many numbers does that allow?
Show solution
Approach: avoid 3³ in the product to keep the most numbers
  1. Since 54 = 2·3³, the product avoids 54 if its total power of 3 stays under 3.
  2. All 67 numbers from 1 to 100 that are NOT multiples of 3 contribute no 3's at all.
  3. We may still add two multiples of 3 (each contributing one 3), keeping the total power of 3 at 2.
  4. That gives 67 + 2 = 69 numbers.
Mark: · log in to save
Problem 27 · 2014 Math Kangaroo Stretch
Number Theory factorizationcasework

The chain of equations \(k=(2014+m)^{ rac{1}{n}}=1024^{ rac{1}{n}}+1\) should hold for the positive whole numbers \(k\), \(m\), \(n\). How many different values can \(m\) take?

Show answer
Answer: C — 2
Show hints
Hint 1 of 2
From the right-hand side, 1024^{1/n} must be a whole number, so 1024 is a perfect n-th power.
Still stuck? Show hint 2 →
Hint 2 of 2
1024 = 2^{10}; which n make (k−1)^n = 2^{10} work, and then is m positive?
Show solution
Approach: force 1024 to be a perfect power, then check m > 0
  1. The equation needs (k−1)^n = 1024 = 2^{10}, so n must divide 10: n ∈ {1,2,5,10}.
  2. Then k = 2^{10/n} + 1 and m = k^n − 2014.
  3. n=1 and n=2 give negative m; n=5 gives m = 1111 and n=10 gives m = 57035 (both positive).
  4. So m can take 2 different values.
Mark: · log in to save
Problem 28 · 2014 Math Kangaroo Stretch
Number Theory divisibilitycasework

Several different positive whole numbers are written on a blackboard. Exactly two of these numbers are divisible by 2, and exactly 13 of these numbers are divisible by 13. The biggest number on the board is M. What is the smallest value that M can have?

Show answer
Answer: C — 273
Show hints
Hint 1 of 2
You need 13 multiples of 13, but only 2 of all the numbers may be even.
Still stuck? Show hint 2 →
Hint 2 of 2
Use odd multiples of 13 as much as possible; how many odd multiples of 13 do you need, and how big is the last one?
Show solution
Approach: use odd multiples of 13 to respect the 'only 2 even' limit
  1. Thirteen of the numbers are multiples of 13, but at most 2 numbers overall may be even.
  2. An even multiple of 13 is also divisible by 2, so among the thirteen multiples at most 2 can be even, meaning at least 11 must be odd multiples of 13.
  3. The odd multiples of 13 are 13·1, 13·3, 13·5, …; the 11th of these is 13 × 21 = 273.
  4. So the largest number M is at least 273.
Mark: · log in to save
Problem 22 · 2013 Math Kangaroo Stretch
Number Theory place-valuework-backward

The number 2013 is made up of the four consecutive digits 0, 1, 2, 3. How many years before the year 2013 was the date last made up of four consecutive digits?

Show answer
Answer: C — 581
Show hints
Hint 1 of 2
Search backward from 2013 for a year whose four digits are four consecutive values in some order.
Still stuck? Show hint 2 →
Hint 2 of 2
Try the digit-set {1,2,3,4} arranged to make the largest year below 2013.
Show solution
Approach: search backward for four-consecutive-digit years
  1. Just below 2013, the most recent year using four consecutive digits is 1432 (digits 1, 2, 3, 4).
  2. The gap is 2013 − 1432 = 581 years.
  3. So the answer is 581.
Mark: · log in to save
Problem 25 · 2013 Math Kangaroo Stretch
Number Theory perfect-squarefactorization

Let Q be the number of square numbers among the natural numbers from 1 to \(2013^{6}\), and K the number of cube numbers among the natural numbers from 1 to \(2013^{6}\). Which of the following holds true?

Show answer
Answer: A — \(Q = 2013\times K\)
Show hints
Hint 1 of 2
The count of perfect squares up to a number is the square root of that number (rounded down); the count of cubes is the cube root.
Still stuck? Show hint 2 →
Hint 2 of 2
Take the square root and cube root of 2013⁶ exactly.
Show solution
Approach: count squares and cubes by taking roots
  1. Squares up to 2013⁶: Q = √(2013⁶) = 2013³.
  2. Cubes up to 2013⁶: K = (2013⁶)^(1/3) = 2013².
  3. So Q = 2013³ = 2013 × 2013² = 2013 × K.
Mark: · log in to save
Problem 26 · 2013 Math Kangaroo Stretch
Number Theory divisibilitycareful-counting

Using the numbers 1, 2, 3, …, 22, eleven fractions \(\frac{a}{b}\) are formed where each number is used exactly once. What is the maximum number of these fractions that can have whole-number values?

Show answer
Answer: B — 10
Show hints
Hint 1 of 2
A fraction is a whole number when the numerator is a multiple of the denominator; pair the numbers 1–22 to make as many such pairs as possible.
Still stuck? Show hint 2 →
Hint 2 of 2
Big primes like 13, 17, 19 are hard to use as denominators — one pair is forced to be non-integer.
Show solution
Approach: pair numbers so one divides the other, maximising integer pairs
  1. A fraction \(\frac{a}{b}\) is a whole number when \(b\) divides \(a\), so pair each number with one it divides into.
  2. The large primes 13, 17 and 19 have no other multiple in 1–22, so each can only sit on top of 1 to give an integer — but there is just one number 1, so at least two of them are forced into a non-integer fraction.
  3. Matching the rest greedily (e.g. \(\frac{22}{11}, \frac{20}{10}, \frac{18}{9}, \dots\)) lets 10 fractions come out whole while one stays non-integer.
  4. So the maximum is 10.
Mark: · log in to save
Problem 30 · 2013 Math Kangaroo Stretch
Number Theory divisibilityfactorization

A positive integer N is smaller than the sum of its three biggest proper factors (N itself is not a proper factor of N). Which of the following statements is true?

Show answer
Answer: B — All such numbers N are divisible by 6.
Show hints
Hint 1 of 2
The biggest proper factors of N are N/2, N/3, N/4, ... — write the sum of the top three this way.
Still stuck? Show hint 2 →
Hint 2 of 2
For that sum to exceed N, the small divisors 2 and 3 must both divide N.
Show solution
Approach: express the largest proper factors as N over its smallest divisors
  1. The three biggest proper factors are N divided by its three smallest divisors (other than 1).
  2. Their sum can exceed N only when both 2 and 3 divide N (for example N/2 + N/3 + N/4 = 13N/12 > N).
  3. So every such N is divisible by 6.
Mark: · log in to save
Problem 23 · 2012 Math Kangaroo Stretch
Number Theory factorization

Peter wrote the number 2012 in the form \(2012 = m^{m}(m^{k} - k)\) where m and k are natural numbers. Find the value of k.

Show answer
Answer: D — 9
Show hints
Hint 1 of 2
Factor 2012 and try to write it as m^m times (m^k − k).
Still stuck? Show hint 2 →
Hint 2 of 2
The m^m factor must divide 2012; test small m.
Show solution
Approach: factor 2012 and match the form
  1. Factor 2012 = 4 × 503 = 2² × 503.
  2. Take m = 2, so m^m = 4 and the remaining factor must be m^k − k = 503.
  3. Then 2^k − k = 503 holds at k = 9 (512 − 9 = 503), so k = 9 (D).
Mark: · log in to save
Problem 24 · 2012 Math Kangaroo Stretch
Number Theory last-digitfactorization

What is the last non zero digit of \(K = 2^{59} \times 3^{4} \times 5^{53}\)?

Show answer
Answer: C — 4
Show hints
Hint 1 of 2
Pair up 2s and 5s to make 10s, which only add trailing zeros.
Still stuck? Show hint 2 →
Hint 2 of 2
What's left after pulling out the 10s decides the last non-zero digit.
Show solution
Approach: strip out factors of 10, then read the last digit
  1. Write K = 2^59 · 3^4 · 5^53 = (2^53 · 5^53) · 2^6 · 3^4 = 10^53 · (2^6 · 3^4).
  2. The 10^53 only contributes trailing zeros, so the last non-zero digit comes from 2^6 · 3^4 = 64 · 81 = 5184.
  3. Its last digit is 4 (C).
Mark: · log in to save
Problem 30 · 2012 Math Kangaroo Stretch
Number Theory factorizationsum-constraint

Gerhard chooses two numbers a and b from the set {1, 2, 3, …, 26}. The product ab of these two numbers is equal to the sum of the remaining 24 numbers from this set. How big is |ab|?

Show answer
Answer: E — 6
Show hints
Hint 1 of 2
Write 'product equals sum of the other 24' using the total \(1+2+\cdots+26 = 351\).
Still stuck? Show hint 2 →
Hint 2 of 2
Rearrange \(ab + a + b = 351\) into a product of two shifted factors (Simon's trick).
Show solution
Approach: turn the condition into a factoring of 352
  1. The remaining 24 numbers total \(351 - a - b\), so the condition is \(ab = 351 - a - b\).
  2. Add 1 to both sides: \(ab + a + b + 1 = 352\), i.e. \((a+1)(b+1) = 352\).
  3. The only factor pair of \(352 = 16\cdot22\) with both numbers \(\le 27\) gives \(\{a,b\} = \{15,21\}\), so \(|a-b| = 6\), choice E.
Mark: · log in to save
Problem 20 · 2011 Math Kangaroo Stretch
Number Theory divisibilityfactorization

10 children are at a judo club. Their teacher has 80 sweets. If he gives each girl the same amount of sweets, there are three sweets left over. How many boys are at the club?

Show answer
Answer: C — 3
Show hints
Hint 1 of 2
Take away the 3 leftover sweets; the rest split evenly among the girls.
Still stuck? Show hint 2 →
Hint 2 of 2
The number of girls must divide that leftover-free amount exactly, and be fewer than 10.
Show solution
Approach: share the leftover-free sweets evenly among the girls
  1. After 3 are left over, 80 − 3 = 77 sweets are shared equally among the girls.
  2. 77 splits evenly only into 7 groups of 11 (or 11 groups of 7), and only 7 girls fits a club of 10, so there are 7 girls.
  3. Then boys = 10 − 7 = 3.
Mark: · log in to save
Problem 21 · 2011 Math Kangaroo Stretch
Number Theory divisibilitylast-digit

The five-digit number 24X8Y is divisible by 4, 5 and 9. What is the sum of X and Y?

Show answer
Answer: E — 4
Show hints
Hint 1 of 2
Use the rule for 5 first, then narrow Y with the rule for 4.
Still stuck? Show hint 2 →
Hint 2 of 2
Finally make the digit sum a multiple of 9 to find X.
Show solution
Approach: apply the divisibility rules for 5, 4, then 9
  1. Divisible by 5 means Y is 0 or 5; divisible by 4 needs the last two digits 8Y divisible by 4, forcing Y = 0.
  2. Divisible by 9 means 2+4+X+8+0 = 14+X is a multiple of 9, so X = 4.
  3. Then X + Y = 4 + 0 = 4.
Mark: · log in to save
Problem 21 · 2011 Math Kangaroo Stretch
Number Theory divisibility

A drum contains a number of balls, each marked with a different positive whole number. On 30 of the balls the numbers are divisible by 6, on 20 balls the numbers are divisible by 7, and on 10 balls the numbers are divisible by 42. What is the minimum number of balls in the drum?

Show answer
Answer: B — 40
Show hints
Hint 1 of 2
Balls labelled with a multiple of 42 are counted in both the 'divisible by 6' and 'divisible by 7' groups.
Still stuck? Show hint 2 →
Hint 2 of 2
Use inclusion–exclusion on the 6- and 7-divisible counts.
Show solution
Approach: inclusion–exclusion on overlapping divisibility groups
  1. Multiples of 42 are exactly the numbers divisible by both 6 and 7, and there are 10 of them.
  2. Balls divisible by 6 or 7 = 30 + 20 − 10 = 40.
  3. The drum needs at least 40 balls.
Mark: · log in to save
Problem 24 · 2011 Math Kangaroo Stretch
Number Theory divisibilitycasework

Numbers are to be built using only the digits 1, 2, 3, 4 and 5 in such a way that each digit is only used once in each number. How many of these numbers will have the following property: the first digit is divisible by 1, the first 2 digits make a number divisible by 2, the first 3 digits make a number divisible by 3, the first 4 digits make a number divisible by 4, and all 5 digits make a number divisible by 5?

Show answer
Answer: A — It's not possible
Show hints
Hint 1 of 2
Each prefix has a divisibility rule: the 5th digit forces a 5 at the end, the even positions force even digits.
Still stuck? Show hint 2 →
Hint 2 of 2
Check whether the first-four-digits-divisible-by-4 rule can still be met.
Show solution
Approach: apply the prefix rules and hit a contradiction
  1. The 5-digit number must end in 5 (divisible by 5 with no 0 available), and digits 2 and 4 must be even, so they are 2 and 4.
  2. Divisibility of the first three digits by 3 forces digit 2 = 2, hence digit 4 = 4 and digits 1,3 are 1 and 3.
  3. Then the first four digits end in '14' or '34', and neither is divisible by 4 — a contradiction.
  4. So no such number exists: it's not possible.
Mark: · log in to save
Problem 26 · 2011 Math Kangaroo Stretch
Number Theory factorizationfactor-pairs

How many ordered pairs of positive whole numbers \((x, y)\) solve the equation \(\dfrac{1}{x} + \dfrac{1}{y} = \dfrac{1}{3}\)?

Show answer
Answer: D — 3
Show hints
Hint 1 of 2
Clear the fractions and rearrange into a product of two factors equal to a fixed number.
Still stuck? Show hint 2 →
Hint 2 of 2
Then count the positive factor pairs of that number.
Show solution
Approach: turn it into (x-3)(y-3) = 9
  1. From 1/x + 1/y = 1/3, clearing denominators gives 3y + 3x = xy, i.e. (x−3)(y−3) = 9.
  2. Positive solutions need x−3 and y−3 to be a positive factor pair of 9: (1,9), (3,3), (9,1).
  3. These give (x,y) = (4,12), (6,6), (12,4).
  4. So there are 3 ordered pairs, choice (D).
Mark: · log in to save
Problem 26 · 2011 Math Kangaroo Stretch
Number Theory divisibility

Determine the sum of all positive whole numbers x less than 100 for which \(x^{2}-81\) is a multiple of 100.

Show answer
Answer: A — 200
Show hints
Hint 1 of 2
x² − 81 is a multiple of 100 means x² ≡ 81 (mod 100).
Still stuck? Show hint 2 →
Hint 2 of 2
Solve modulo 4 and modulo 25 separately, then combine.
Show solution
Approach: solve the quadratic congruence mod 4 and mod 25
  1. x must be odd (mod 4) and x ≡ ±9 (mod 25).
  2. Combining gives x = 9, 41, 59, 91 below 100.
  3. Their sum is 9+41+59+91 = 200.
Mark: · log in to save
Problem 27 · 2011 Math Kangaroo Stretch
Number Theory primescasework

For a positive whole number \(n \ge 2\), let \(\langle n\rangle\) denote the largest prime number less than or equal to n. How many positive whole numbers k satisfy the condition \(\langle k+1\rangle + \langle k+2\rangle = \langle 2k+3\rangle\)?

Show answer
Answer: B — 1
Show hints
Hint 1 of 2
Both sides are at most 2k+3, and the left side hits that maximum only when k+1 and k+2 are both prime.
Still stuck? Show hint 2 →
Hint 2 of 2
Test small k directly; the equality is very restrictive.
Show solution
Approach: bound both sides, then test small k
  1. The left side is at most (k+1)+(k+2) = 2k+3, and the right side ⟨2k+3⟩ is at most 2k+3.
  2. Equality forces a tight prime arrangement; checking k = 1 gives 2 + 3 = 5 = ⟨5⟩, which works.
  3. For k = 2, 3, 4, ... the largest primes drop below the needed totals, so none work.
  4. Exactly one k works, choice (B).
Mark: · log in to save
Problem 27 · 2011 Math Kangaroo Stretch
Number Theory divisibilitycasework

Seven years ago Eva’s age was a multiple of 8. In eight years it will be a multiple of 7. Eight years ago Raffi’s age was a multiple of 7. In seven years it will be a multiple of 8. Which of the following statements can be true?

Show answer
Answer: A — Raffi is two years older than Eva.
Show hints
Hint 1 of 2
Write each clue as 'age plus or minus something is a multiple of 7 or 8' and combine them.
Still stuck? Show hint 2 →
Hint 2 of 2
Compare the possible ages of Eva and Raffi to read off their age difference.
Show solution
Approach: find the smallest age each set of clues allows, then compare
  1. Eva needs \(E-7\) a multiple of 8 and \(E+8\) a multiple of 7; the smallest realistic age that fits both is \(E=55\) (since \(48\) and \(63\) work).
  2. Raffi needs \(R-8\) a multiple of 7 and \(R+7\) a multiple of 8; the smallest realistic age that fits both is \(R=57\) (since \(49\) and \(64\) work).
  3. With \(E=55\) and \(R=57\), Raffi is exactly 2 years older than Eva, so statement A can be true.
Mark: · log in to save
Problem 28 · 2011 Math Kangaroo Stretch
Number Theory cryptarithmfactorization

Which is the smallest possible positive whole-number value of the expression K × A × N × G × A × R × O × OG × A × M × E if different letters stand for different digits not equal to 0, and the same letters stand for the same digits?

Show answer
Answer: B — 2
Show hints
Hint 1 of 2
First simplify by cancelling the letters that appear in both top and bottom.
Still stuck? Show hint 2 →
Hint 2 of 2
Then assign distinct digits so the remaining fraction is a small whole number.
Show solution
Approach: cancel repeated letters, then make the leftover product smallest
  1. The expression is K·A·N·G·A·R·O·O divided by G·A·M·E; the G and one A cancel.
  2. What is left is K·A·N·R·O·O / (M·E) with distinct nonzero digits.
  3. Choosing digits so the bottom nearly matches the top makes the smallest whole-number value 2.
Mark: · log in to save
Problem 28 · 2011 Math Kangaroo Stretch
Number Theory factorizationprime-test

Let a, b and c be positive whole numbers for which \(a^{2}=2b^{3}=3c^{5}\). What is the smallest possible number of divisors of \(abc\), counting 1 and \(abc\) themselves?

Show answer
Answer: D — 77
Show hints
Hint 1 of 2
Write the common value as 2x3y and impose the square, cube and fifth-power conditions on the exponents.
Still stuck? Show hint 2 →
Hint 2 of 2
Each exponent must satisfy three modular conditions at once.
Show solution
Approach: force the exponents to meet all three power conditions
  1. Let a² = 2b³ = 3c⁵ = 2x3y; then x,y even, x≡1 and y≡0 (mod 3), x≡0 and y≡1 (mod 5).
  2. Smallest solution: x = 10, y = 6, giving abc = 2103⁶.
  3. Number of factors = (10+1)(6+1) = 77.
Mark: · log in to save
Problem 29 · 2011 Math Kangaroo Stretch
Number Theory divisibility

Twenty different positive whole numbers are written into a 4×5 table. Any two numbers in cells that share a common side always have a common factor greater than 1. Determine the smallest possible value of n, where n is the largest number in the table.

Show answer
Answer: C — 26
Show hints
Hint 1 of 2
Neighbouring numbers must share a prime, so colour the grid like a checkerboard of two prime 'families'.
Still stuck? Show hint 2 →
Hint 2 of 2
Build the table from the smallest usable multiples of small primes to keep the maximum down.
Show solution
Approach: assign small-prime multiples to keep the largest entry minimal
  1. Adjacent cells need a common factor, so arrange numbers from the smallest multiples of 2, 3, 5, … that still keep all 20 distinct.
  2. Optimising the layout to minimise the biggest value gives a maximum of 26.
Mark: · log in to save
Problem 22 · 2010 Math Kangaroo Stretch
Number Theory cryptarithmdivisibility

In the multiplication of a three-digit number by a one-digit number, PPQ × Q = RQ5Q, the letters P, Q and R stand for different digits. What is P + Q + R?

Show answer
Answer: D — 17
Show hints
Hint 1 of 2
Look at the last digit: \(Q \times Q\) must end in \(Q\) again, which narrows \(Q\) down to very few digits.
Still stuck? Show hint 2 →
Hint 2 of 2
Once you know \(Q\), try the few three-digit numbers \(PPQ\) until the product matches the pattern \(RQ5Q\).
Show solution
Approach: use the last digit, then test
  1. The last digit of \(PPQ \times Q\) is the last digit of \(Q \times Q\), and it must equal \(Q\); the only digit that works in a 4-digit product is \(Q = 6\) (since \(6 \times 6 = 36\) ends in 6).
  2. Testing \(PP6 \times 6\), the value \(776 \times 6 = 4656\) fits \(RQ5Q = 4\,6\,5\,6\), giving \(P = 7,\ Q = 6,\ R = 4\).
  3. So \(P + Q + R = 7 + 6 + 4 = 17\) — the answer is D.
Mark: · log in to save
Problem 28 · 2010 Math Kangaroo Stretch
Number Theory fraction-to-decimal

\(\sqrt{0.\underbrace{44\ldots4}_{100\text{ times}}}\) is written as a decimal. What is the 100th digit after the decimal point?

Show answer
Answer: E — 6
Show hints
Hint 1 of 2
A long run of 4s after the point is very close to a familiar fraction.
Still stuck? Show hint 2 →
Hint 2 of 2
Take the square root of that fraction and read off the repeating digit.
Show solution
Approach: compare with the nearby fraction 4/9
  1. The full repeating decimal \(0.\overline{4}=\tfrac{4}{9}\), and \(\sqrt{\tfrac{4}{9}}=\tfrac{2}{3}=0.\overline{6}\).
  2. Our number (one hundred 4s) is a hair below \(\tfrac49\), so its root is a hair below \(0.6666\ldots\); the difference only shows up far past the 100th place.
  3. So through the 100th digit the value reads \(0.6666\ldots\), making the 100th digit 6 — choice E.
Mark: · log in to save
Problem 19 · 2009 Math Kangaroo Stretch
Number Theory digit-sumplace-value

A secret agent wants to crack a six-digit code. He knows that the sum of the digits in the even positions is equal to the sum of the digits in the odd positions. Which of the following numbers is the code? (Each ? stands for an unknown digit.)

Show answer
Answer: D — 12?9?8
Show hints
Hint 1 of 3
For each number, circle the digits in the 1st, 3rd and 5th spots, and box the digits in the 2nd, 4th and 6th spots.
Still stuck? Show hint 2 →
Hint 2 of 3
The known digits in one group might already be too big for the other group to ever catch up, even using a 9 in each blank.
Still stuck? Show hint 3 →
Hint 3 of 3
Look for the one number whose two groups CAN be made equal.
Show solution
Approach: compare the known digits in the two groups and see which one can balance
  1. Add up the known digits in the odd spots (1st, 3rd, 5th) and in the even spots (2nd, 4th, 6th), and remember a blank can be at most 9.
  2. In A, B, C and E one group's known digits are already so far ahead that even filling the other group's blanks with 9 cannot make them equal.
  3. In D the number is 12?9?8: the even spots give 2 + 9 + 8 = 19, and the odd spots are 1 + ? + ?, which reaches 19 when both blanks are 9 (1 + 9 + 9 = 19).
  4. Only option D can have its two groups equal, so the code is option D.
Mark: · log in to save
Problem 23 · 2009 Math Kangaroo Stretch
Number Theory number-systems

If a = 2²⁵, b = 8⁸ and c = 3¹¹, then

Show answer
Answer: Ec < b < a
Show hints
Hint 1 of 2
Rewrite everything with the same base or compare sizes directly.
Still stuck? Show hint 2 →
Hint 2 of 2
8⁸ is a power of 2; compare it to 2²⁵, and estimate 3¹¹.
Show solution
Approach: convert to common bases and compare
  1. b = 8⁸ = 2²⁴ and a = 2²⁵, so a = 2·b, meaning b < a.
  2. c = 3¹¹ ≈ 177 000, far smaller than b = 2²⁴ ≈ 16.8 million.
  3. So c < b < a, which is option E.
Mark: · log in to save
Problem 24 · 2009 Math Kangaroo Stretch
Number Theory factorizationfactor-pairs

All factors of a number N (with the exception of 1 and N itself) are written down one after another. It turns out that the biggest of these factors is 45 times as big as the smallest. For how many numbers N is this true?

Show answer
Answer: C — 2
Show hints
Hint 1 of 2
The smallest proper factor is the least prime p; the largest proper factor is N/p.
Still stuck? Show hint 2 →
Hint 2 of 2
Set N/p = 45p, so N = 45p², and require p to really be the smallest prime factor.
Show solution
Approach: express N through its smallest and largest proper factors
  1. The smallest proper factor is the least prime p of N and the largest is N/p.
  2. 'Largest = 45 × smallest' means N/p = 45p, so N = 45p².
  3. Since 45 = 3²·5, p must be 2 or 3 for p to stay the smallest prime: N = 180 or N = 405.
  4. Both work (factors of 180 run 2…90, of 405 run 3…135), so there are 2 such numbers.
Mark: · log in to save
Problem 25 · 2009 Math Kangaroo Stretch
Number Theory factorizationprimes

All factors of a number N (with the exception of 1 and N itself) are written down one after the other. It turns out that the biggest factor is 45 times as big as the smallest factor. For how many numbers N is that true?

Show answer
Answer: C — 2
Show hints
Hint 1 of 2
The smallest factor above 1 is the least prime p; the largest below N is N/p.
Still stuck? Show hint 2 →
Hint 2 of 2
Set N/p = 45p, so N = 45 p^2, and check p is really the smallest prime of N.
Show solution
Approach: translate the factor condition into N = 45 p^2
  1. The condition (largest proper factor) = 45 x (smallest proper factor) gives N/p = 45p, so N = 45 p^2.
  2. Because 45 = 3^2 x 5, N always has factor 3, so the smallest prime p can only be 2 or 3: p=2 gives N=180, p=3 gives N=405, both valid.
  3. Hence there are 2 such numbers.
Mark: · log in to save
Problem 26 · 2009 Math Kangaroo Stretch
Number Theory perfect-squarecasework

A square is cut into 2009 smaller squares. The side length of each smaller square is a whole number. What is the minimum possible side length of the original square?

Show answer
Answer: B — 45
Show hints
Hint 1 of 2
A side-n square split into unit squares gives n^2 pieces; merging blocks lowers the count.
Still stuck? Show hint 2 →
Hint 2 of 2
You need n^2 at least 2009 and must hit exactly 2009 by merging.
Show solution
Approach: bound n then adjust the piece count
  1. Side 44 allows at most 44^2 = 1936 < 2009 pieces, so 44 is too small.
  2. Side 45 starts at 2025 unit squares; replacing a 3x3 block by one square removes 8 pieces, and doing it twice removes 16 to reach exactly 2009.
  3. So the minimum side length is 45.
Mark: · log in to save
Problem 28 · 2009 Math Kangaroo Stretch
Number Theory factorizationperfect-square

What is the smallest whole number n for which the expression (2²−1)·(3²−1)·(4²−1)·…·(n²−1) is a square number?

Show answer
Answer: B — 8
Show hints
Hint 1 of 2
Factor each k²−1 as (k−1)(k+1) and see what stays unpaired.
Still stuck? Show hint 2 →
Hint 2 of 2
Test the running product for being a perfect square as n grows.
Show solution
Approach: track the running product and test for a square
  1. Each factor is k²−1 = (k−1)(k+1); the product up to n is (n−1)!·(n+1)!/2.
  2. Checking n = 2,3,… the product first becomes a perfect square at n = 8 (its value is 25401600 = 5040²).
  3. So the smallest n is 8.
Mark: · log in to save
Problem 28 · 2009 Math Kangaroo Stretch
Number Theory divisibilitycasework

The numbers 1, 2, 3, …, 99 are divided up into n groups. The following rules apply:

• Each number is in exactly one group.
• There are at least two numbers in each group.
• If two numbers are in the same group, then their sum is not divisible by 3.

Determine the smallest n which fulfils these rules.

Show answer
Answer: C — 33
Show hints
Hint 1 of 2
Sort the numbers 1–99 by their remainder when divided by 3—there are 33 of each remainder.
Still stuck? Show hint 2 →
Hint 2 of 2
Two numbers add to a multiple of 3 only in certain remainder pairs; that limits what can share a group.
Show solution
Approach: work with remainders mod 3
  1. There are 33 numbers each of remainder 0, 1 and 2. Two remainder-0 numbers, or a remainder-1 with a remainder-2, sum to a multiple of 3.
  2. So a group holds at most one remainder-0 number and never mixes remainder-1 with remainder-2.
  3. Each of the 33 remainder-0 numbers needs its own group (paired with allowed others), forcing at least 33 groups, which is achievable.
Mark: · log in to save
Problem 29 · 2009 Math Kangaroo Stretch
Number Theory divisibility

Friday writes different positive whole numbers that are all less than 11 next to each other in the sand. Robinson Crusoe looks at the sequence and notices with amusement that adjacent numbers are always divisible by each other. What is the maximum amount of numbers he could possibly have written in the sand?

Show answer
Answer: D — 9
Show hints
Hint 1 of 2
Join two numbers when one divides the other; you want the longest chain of distinct numbers 1-10.
Still stuck? Show hint 2 →
Hint 2 of 2
Small numbers like 1 and 2 connect to many others - use them as bridges.
Show solution
Approach: find the longest divisibility chain in 1-10
  1. Make a chain where each neighbouring pair has one dividing the other, e.g. 4, 8, 1, 5, 10, 2, 6, 3, 9.
  2. That uses 9 distinct numbers below 11; all 10 is impossible because 7 cannot neighbour any of them.
  3. The maximum is 9 numbers.
Mark: · log in to save
Problem 30 · 2009 Math Kangaroo Stretch
Number Theory primescareful-counting

A single-digit prime number is called “strange.” A prime number with more than one digit is called “strange” if the numbers obtained by deleting its first digit and by deleting its last digit are both strange prime numbers again. How many strange prime numbers are there?

Show answer
Answer: D — 9
Show hints
Hint 1 of 2
Start from the single-digit 'strange' primes 2, 3, 5, 7 and build longer ones digit by digit.
Still stuck? Show hint 2 →
Hint 2 of 2
A longer prime is strange only if dropping its first digit AND dropping its last digit each give a strange prime.
Show solution
Approach: build strange primes upward by length
  1. The single-digit strange primes are 2, 3, 5, 7.
  2. A two-digit prime is strange if removing either end digit leaves a strange prime: 23, 37, 53, 73 qualify.
  3. A three-digit prime needs both trimmed numbers strange: only 373 works (37 and 73 are strange).
  4. No four-digit prime qualifies, so the count is 4 + 4 + 1 = 9.
Mark: · log in to save
Problem 30 · 2009 Math Kangaroo Stretch
Number Theory mod-10divisibility

A sequence of whole numbers is defined by \(a_0=1\), \(a_1=2\) and \(a_{n+2}=a_n+(a_{n+1})^2\) for \(n\ge 0\). When \(a_{2009}\) is divided by 7, the remainder is

Show answer
Answer: B — 1
Show hints
Hint 1 of 2
Remainders on division by 7 repeat, so compute the sequence mod 7 until it cycles.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the cycle length, then locate 2009 within the cycle.
Show solution
Approach: find the period of the sequence modulo 7
  1. Reducing a₀ = 1, a₁ = 2, aₙ₊₂ = aₙ + aₙ₊₁² modulo 7 gives a repeating block of length 10.
  2. Since 2009 ≡ 9 (mod 10), a₂₀₀₉ matches the 9th term of the cycle.
  3. That remainder is 1.
Mark: · log in to save