All Questions
1 question
12
votes
2
answers
1k
views
Haskell ways to the 3n+1 problem
Here is a simple programming problem from SPOJ: http://www.spoj.com/problems/PROBTRES/.
Basically, you are asked to output the biggest Collatz cycle for numbers between i and j. (Collatz cycle of a ...