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

Problem 11

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