Move pentagonal sum checking into pentagonalDiff, solving the problem.