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 Solvers70
Suggested Problems
-
Reverse the Words (not letters) of a String
457 Solvers
-
First non-zero element in each column
913 Solvers
-
510 Solvers
-
Make a random, non-repeating vector.
10571 Solvers
-
Number of Even Elements in Fibonacci Sequence
1459 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!