Smith numbers - MATLAB Cody - MATLAB Central

Problem 1925. Smith numbers

Difficulty:Rate
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

24.33% Correct | 75.67% Incorrect
Last Solution submitted on Mar 03, 2025

Problem Comments

Solution Comments

Show comments

Group

Number theory Image
Number theory
  • 44 Problems
  • 21 Finishers

Problem Recent Solvers674

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page