problem 15 solved algebraically to be 137846528820
problem 16 solution: 1366
solution to p17: 21124