Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

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

Created by @bmtran

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


Problem Group

Solution Statistics

64 correct solutions 18 incorrect solutions
Last solution submitted on Sep 27, 2015

Solution Comments