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
-
Find the numeric mean of the prime numbers in a matrix.
9006 Solvers
-
Sum all integers from 1 to 2^n
16070 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2326 Solvers
-
Determine if input is a perfect number
242 Solvers
-
5339 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!