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

Problem 29

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