|
|
A099129
|
|
Let T(n) be the n-th triangular number n*(n+1)/2; then a(n) = n-th iteration T(T(T(...(n)))).
|
|
4
|
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
The sequence grows like O(n^2^n*1/2^n). This can be derived from the growth O(n^2*1/2) of the triangle sum by iteration. - Hieronymus Fischer, Jan 21 2006
|
|
EXAMPLE
|
a(3) = 231 because we can write the 3-time iterated expression on T(3), the triangular number sequence n*(n+1)/2, namely: T(T(T(3))) = 231.
|
|
MAPLE
|
a:= n-> (t-> (t@@n)(n))(j-> j*(j+1)/2):
|
|
MATHEMATICA
|
Table[Nest[(#(#+1))/2&, n, n], {n, 8}] (* Harvey P. Dale, May 29 2013 *)
|
|
PROG
|
(PARI) a(n) = my(k = n); for (j=1, n, k = k*(k+1)/2; ); k; \\ Michel Marcus, Jan 01 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|