Solved Pentegonal Numbers problems.