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
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
554 Solvers
-
1225 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13578 Solvers
-
919 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2134 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!