OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..2000
EXAMPLE
153 and 190 are members yielding 351 and 091. But 66, 666 are not members.
MATHEMATICA
trl=Rest[FoldList[Plus, 0, Range[2000]]]; okQ[n_] := Module[{p=Complement[FromDigits/@Permutations[IntegerDigits[n]], {n}]}, Length[Intersection[p, trl]]>0]; Select[Take[trl, 100], okQ]
Select[Accumulate[Range[150]], Count[FromDigits/@Permutations[IntegerDigits[#]], _?(OddQ[ Sqrt[ 8#+1]]&)]>1&] (* Harvey P. Dale, Nov 21 2023 *)
PROG
(PARI) isok(t) = {my(d=digits(t)); forperm(#d, p, my(tt = fromdigits(Vec(vector(#d, k, d[p[k]])))); if ((tt!=t) && ispolygonal(tt, 3), return (1)); ); return(0); }
lista(nn) = {for (n=0, nn, my(t=n*(n+1)/2); if (isok(t), print1(t, ", ")); ); } \\ Michel Marcus, May 04 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Amarnath Murthy, Nov 16 2002
EXTENSIONS
More terms from Harvey P. Dale, Nov 22 2002
Extended by Ray Chandler, Jun 29 2004
Offset changed to 1 by Jinyuan Wang, Aug 06 2021
STATUS
approved