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

85.71% Correct | 14.29% Incorrect
Last Solution submitted on Nov 25, 2023

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers5

Suggested Problems

More from this Author249

Problem Tags

Community Treasure Hunt

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

Start Hunting!