Problem 1084. Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)

Given a number n, return the terminal value of the number chain formed by summing the square of the digits. According to the Project Euler problem, this number chain always terminates with either 1 or 89.

Project Euler Problem 92: Link

Solution Stats

59.91% Correct | 40.09% Incorrect
Last Solution submitted on Mar 27, 2024

Problem Comments

Solution Comments

Show comments


Problem Recent Solvers214

Community Treasure Hunt

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

Start Hunting!