DEV Community

Discussion on: Write a script to find "Happy Numbers"

Collapse
 
nektro profile image
Meghan (she/her)

Hmmm, good catch :D Although the fact you found all the sad numbers end in 4 is even more interesting to me.🤔🤔

Thread Thread
 
ripsup profile image
Richard Orelup

I read the wikipedia article cause I was like "wait if it's not happy wouldn't that go in to an infinite loop?" :)

Thread Thread
 
heikodudzus profile image
Heiko Dudzus

The number 42 is also in that loop, by the way. :)