solved problem 44. Ugly brute force. Time to do research on pentagonal
numbers...