the recursion-equation now almost works (there is a small error, which seems to be larger for small n. the source of this is being investigated. Furthermore, the code is too slow for solutions to be feasable at n=50 (tests are being run, and improvements are being sought).