OFFSET
1,2
COMMENTS
There are substantial jumps between generations (i.e. a(2^19) = 2^18 and a(2^19 + 1) = 327608). See also scatterplot in links section.
LINKS
MAPLE
N:= 2^10: # to get a(1) to a(N)
C[1]:= 1:
C[2]:= 2:
C[3]:= 2:
C[4]:= 2:
for n from 5 to N do
C[n]:= C[C[n-1]] + C[C[n-C[n-1]] + C[n-C[n-2]]];
od:
S:=seq(C[n], n=1..N);
PROG
(Scheme)
;; An implementation of memoization-macro definec can be found for example in: http://oeis.org/wiki/Memoization
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, May 30 2017
STATUS
approved