Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
[QUIZ] Happy Numbers (#93)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Sander Land, post: 4525295"] Something which reduces to HP is not equivalent to HP, only if you can reduce HP to this problem is it equivalent to HP/undecidable. Basic math does. number of length 100 : 99999...., next step = 100*9^2 = 8100, i.e. large numbers always go down _a lot_, and therefore cannot be part of a cycle. Proving this for n >= 243 (or even smaller n) is left as an exercise for the reader ;) [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
[QUIZ] Happy Numbers (#93)
Top