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 Solvers68
Suggested Problems
-
Swap the first and last columns
21265 Solvers
-
4570 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
638 Solvers
-
Who has power to do everything in this world?
454 Solvers
-
5348 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!