DS-Algo-Point icon indicating copy to clipboard operation
DS-Algo-Point copied to clipboard

Happy Number

Open xma8lu opened this issue 4 years ago • 0 comments

Have you read the Contribution Guidelines?

Yes

Description

The happy number can be defined as a number which will yield 1 when it is replaced by the sum of the square of its digits repeatedly. If this process results in an endless cycle of numbers containing 4, then the number is called an unhappy number.

Checklist

  • [ ] I've read the contribution guidelines.
  • [ ] I've checked the issue list before deciding what to submit.
  • [ ] I've edited the README.md and link to my code.

Related Issues (Mention Issue no. like #xxx)

#795
(Write your answer above.)

xma8lu avatar Oct 27 '20 11:10 xma8lu