Well, initial coding is done. First test: r=1, k=0 mod 3. Simplest possible case, should hardly have to do any computation at all. Actual result: The program uses up a bunch of processor and doesn't return an answer. Yay. Now I'm going to have to learn how to debug Haskell.
-Harry
-Harry