Problem 58013. Find a number m such that 2m and the square of m have the same digit sum

The number m = 29 has the property that 2m = 58 and m^2 = 841 have the same digit sum. It is the seventh number, including zero, in the sequence of numbers with that property.
Write a function to find the nth term in the sequence, where n can be a vector.

Solution Stats

50.0% Correct | 50.0% Incorrect
Last Solution submitted on May 19, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers5

Suggested Problems

More from this Author265

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!