Checking if pentagonal
Checking if a number is tri pent and hex number
Generating all tris pents and hexes numbers
very slow, but works