15
The Collatz Conjecture

Fun little math problem, explained by Professor David Eisenbud in a video by Brady Haran. (I’m learning Swift, and wrote a little playground to mess around with this. Update: Here’s my code in plain text, too. And Charles Parnot posted a more elegant solution.)

Monday, 8 August 2016