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 Solvers66
Suggested Problems
-
947 Solvers
-
Create a square matrix of multiples
463 Solvers
-
Getting the indices from a matrix
621 Solvers
-
Multiples of a Number in a Given Range
599 Solvers
-
Generate a random matrix A of (1,-1)
289 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!