Qm

The two-digit number that is the square of its digit sum

Find every two-digit number that is equal to the square of the sum of its own digits.

For example, 25 has digit sum 7, and 7 squared is 49, not 25, so 25 does not work. Explain why the search is short, and name the analogous question for cubes.

Show a hint

The number is a perfect square between 10 and 99, so its digit sum is one of 4, 5, 6, 7, 8, 9. Check those six squares.

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

The number equal to the sum of the cubes of its digitsThe number that equals the sum of the factorials of its digitsThe nine-digit number whose every prefix dividesThe person whose age is the square root of the yearThe cannonballs that make a square and a pyramid
All questions →