Cody

Problem 1925. Smith numbers

Return true if the input is a Smith number in base ten. Otherwise, return false. Read about Smith numbers at http://en.wikipedia.org/wiki/Smith_number.

A Smith number must be positive and have more than one factor.

Solution Stats

25.99% Correct | 74.01% Incorrect
Last solution submitted on Jan 02, 2017

Problem Comments

Tags

Discover MakerZone

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

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!