OFFSET
1,3
COMMENTS
A triply recursive version of A005229.
MATHEMATICA
a[1] = a[2] = 1;
a[n_Integer?Positive] := a[n] =a[a[a[n-2]]] +a[n - a[n-2]];
Table[a[n], {n, 1, 200}]
PROG
(PARI) a=vector(100); a[1]=a[2]=1; for(n=3, #a, a[n] = a[a[a[n-2]]]+a[n-a[n-2]]); a \\ Altug Alkan, Oct 01 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Oct 06 2003
STATUS
approved