Problem 2051. is the number happy?
test is a given integer number is Happy of not?
answer 1 if yes or 0 is no
Solution Stats
Problem Comments
-
1 Comment
Wesley Maa
on 21 Oct 2020
gotta be honest, I did a double take when I saw that numbers could be happy.
Solution Comments
Show commentsProblem Recent Solvers77
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15768 Solvers
-
7458 Solvers
-
Extract leading non-zero digit
2244 Solvers
-
223 Solvers
-
Matlab Basics - Absolute Value
667 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!