OFFSET
0,3
LINKS
Harry J. Smith, Table of n, a(n) for n = 0..400
Index entries for linear recurrences with constant coefficients, signature (9,-36,84,-126,126,-84,36,-9,1).
FORMULA
EXAMPLE
a(4) = 1540 because 4th triangular number is 10, 10th triangular number is 55 and 55th triangular number is 1540.
MAPLE
a:= n-> ((k-> binomial(k+1, 2))@@3)(n):
seq(a(n), n=0..30); # Alois P. Heinz, Apr 19 2012
MATHEMATICA
f[n_] := n(n + 1)/2; Table[ Nest[f, n, 3], {n, 0, 25}] (* Robert G. Wilson v, Jun 30 2004 *)
PROG
(PARI) a(n) = { my(Tri(m)= m*(m + 1)/2); Tri(Tri(Tri(n))) } \\ Harry J. Smith, Sep 11 2009
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
Henry Bottomley, Oct 15 2001
STATUS
approved