OFFSET
1,3
COMMENTS
Sequence has a fractal-like structure. Each generation (between consecutive powers of 2) provides a pattern which looks like an EKG signal since maximum value of a(n) (in corresponding generation) is damped step by step.
LINKS
Altug Alkan, Table of n, a(n) for n = 1..32768
Altug Alkan, Line plot of a(n) for n <= 2^17
PROG
(PARI) t=vector(99); t[1]=t[2]=1; for(n=3, #t, t[n] = t[n-t[n-1]]+t[t[n-1]]); a=vector(99); a[1]=a[2]=1; for(n=3, #a, a[n] = 3*a[t[n]]-a[n-t[n]]); a
CROSSREFS
KEYWORD
sign,look
AUTHOR
Altug Alkan, Aug 11 2018
STATUS
approved