|
|
A050062
|
|
a(n) = a(n-1)+a(m), where m=n-1-2^p and 2^p<n-1<=2^(p+1), for n >= 4.
|
|
4
|
|
|
1, 3, 2, 3, 6, 7, 10, 12, 15, 16, 19, 21, 24, 30, 37, 47, 59, 60, 63, 65, 68, 74, 81, 91, 103, 118, 134, 153, 174, 198, 228, 265, 312, 313, 316, 318, 321, 327, 334, 344, 356, 371, 387, 406, 427, 451, 481, 518
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
MATHEMATICA
|
Fold[Append[#1, #1[[-1]] + #1[[#2]]] &, {1, 3, 2}, Flatten@Table[k, {n, 5}, {k, 2^n}]] (* Ivan Neretin, Sep 08 2015 *)
|
|
CROSSREFS
|
Cf. similar sequences, with different initial conditions, listed in A050034.
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|