Your program lists 30-not 24 permuted triplets , equivalent in substance to 6 sets of squares.
Both figures are correct, you may edit the typo if you wish
blackjack
flooble's webmaster puzzle