(from Wikipedia: Collatz Conjecture )
The 3x+1 problem is a conjecture in mathematics which can be summarized as follows:
Take any positive integer n. If n is even, divide it by 2 to get n / 2. If n is odd, multiply it by 3 and add 1 to obtain 3n + 1. Repeat the process indefinitely. The conjecture is that no matter what number you start with, you will always eventually reach 1.
Image from Wikipedia:
Try yourself the Collatz Conjecture with this tool:
https://www.youtube.com/watch?v=LqKpkdRRLZw
And The briliant response to this video by Adrian Wadley:
Video Answer by: Video from: Adrian Wadley @wadleysf
:
https://www.youtube.com/watch?v=RzQE2Q7lsT4
Another way to show the Collatz Tree by: Matei Copot:
Post made after a collection of messages on twitter: https://twitter.com/macajo/status/869506214891315201
No comments:
Post a Comment