is the number happy? - MATLAB Cody - MATLAB Central

Problem 2051. is the number happy?

Difficulty:Rate
test is a given integer number is Happy of not?
answer 1 if yes or 0 is no

Solution Stats

55.64% Correct | 44.36% Incorrect
Last Solution submitted on Feb 07, 2025

Problem Comments

Solution Comments

Show comments

Group

Magic Numbers III Image
Magic Numbers III
  • 15 Problems
  • 10 Finishers

Problem Recent Solvers68

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page