login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A049873
a(n)=Sum{a(k): k=0,1,2,...,n-4,n-2,n-1}; a(n-3) is not a summand; 3 initial terms required.
0
2, 2, 3, 5, 10, 19, 36, 67, 125, 233, 435, 812, 1516, 2830, 5283, 9862, 18410, 34367, 64155, 119762, 223567, 417346, 779085, 1454365, 2714951, 5068163, 9461046, 17661506, 32969800, 61546717, 114892974, 214477654, 400378391
OFFSET
0,1
FORMULA
a(n)=2*a(n-1)-a(n-3)+a(n-4); 4 initial terms required.
MATHEMATICA
LinearRecurrence[{2, 0, -1, 1}, {2, 2, 3, 5}, 40] (* Harvey P. Dale, May 08 2017 *)
CROSSREFS
Sequence in context: A344708 A322113 A153900 * A127180 A317809 A249241
KEYWORD
nonn
STATUS
approved