OFFSET
1,1
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..64 (terms < 2*10^24)
EXAMPLE
153 and 351 are both triangular.
MATHEMATICA
dtn[L_] := Fold[10#1+#2&, 0, L]; tritest[n_] := Module[{t}, t=Floor[N[Sqrt[2n]]]; 2n==t(t+1)]; A={}; For[i=1, i>0, i++, t=i(i+1)/2; If[tritest[tt=dtn[Reverse[IntegerDigits[t]]]]&&Mod[t, 10]>0&&t=!=tt, AppendTo[A, t]; Print[A]]]
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Erich Friedman, Jan 08 2002
EXTENSIONS
a(22)-a(24) from Giovanni Resta, Jun 20 2015
STATUS
approved