Non-divisible 2-3 Power Sums

POJ - 3092