OFFSET
1,2
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..1000
FORMULA
n-th triangular number = T(n) = n*(n+1)/2.
EXAMPLE
a(3) = 63: T(3) = 3/2*(3+1) = 6 and 6^2 = 36. Writing it backwards gives 63.
a(6) = 144: T(6) = 6/2*(6+1) = 21 and 21^2 = 441. Writing it backwards gives 144.
MAPLE
with(StringTools):KD:= proc() local a; a:= parse(Reverse(convert(((n/2*(n+1))^2), string))); RETURN (a): end: seq(KD(), n=1..100);
MATHEMATICA
Table[FromDigits[Reverse[IntegerDigits[(n*(n + 1)/2)^2]]], {n, 1, 100}]
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
K. D. Bajpai, Sep 27 2013
STATUS
approved