login
A050070
a(n) = a(n-1)+a(m), where m=n-1-2^p and 2^p<n-1<=2^(p+1), for m >= 4.
4
1, 3, 4, 5, 8, 9, 12, 16, 21, 22, 25, 29, 34, 42, 51, 63, 79, 80, 83, 87, 92, 100, 109, 121, 137, 158, 180, 205, 234, 268, 310, 361, 424, 425, 428, 432, 437, 445, 454, 466, 482, 503, 525, 550, 579, 613, 655
OFFSET
1,2
LINKS
MATHEMATICA
Fold[Append[#1, #1[[-1]] + #1[[#2]]] &, {1, 3, 4}, Flatten@Table[k, {n, 5}, {k, 2^n}]] (* Ivan Neretin, Sep 08 2015 *)
CROSSREFS
Cf. similar sequences, with different initial conditions, listed in A050034.
Sequence in context: A207005 A316976 A256173 * A050590 A329856 A327984
KEYWORD
nonn
STATUS
approved