A050070
a(n) = a(n-1)+a(m), where m=n-1-2^p and 2^p= 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
Keywords
Links
- Ivan Neretin, Table of n, a(n) for n = 1..8193
Crossrefs
Cf. similar sequences, with different initial conditions, listed in A050034.
Programs
-
Mathematica
Fold[Append[#1, #1[[-1]] + #1[[#2]]] &, {1, 3, 4}, Flatten@Table[k, {n, 5}, {k, 2^n}]] (* Ivan Neretin, Sep 08 2015 *)