solved problem 76 using Euler's pentagonal number theorem