OFFSET
1,1
COMMENTS
There are 53 pandigital heptagonal numbers with no repeated digits, i.e., 10-digit pandigital heptagonal numbers. - Harvey P. Dale, Mar 26 2022
MATHEMATICA
h[n_] := n*(5*n - 3)/2; Select[h /@ Range[33000], Length @ DeleteDuplicates @ IntegerDigits[#] == 10 &] (* Amiram Eldar, Aug 19 2021 *)
Select[PolygonalNumber[7, Range[20234, 62854]], Sort[IntegerDigits[#]] == Range[ 0, 9]&] (* Harvey P. Dale, Mar 26 2022 *)
PROG
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
Dumitru Damian, Aug 19 2021
STATUS
approved