OFFSET
0,3
LINKS
Robert Israel, Table of n, a(n) for n = 0..3318
Index entries for linear recurrences with constant coefficients, signature (2,0,4,-8).
FORMULA
G.f.: x/((1-2*x)*(1-4*x^3)). - Robert Israel, Sep 01 2017
MAPLE
seq(2^n-2^floor(2*n/3), n=0..50); # Robert Israel, Sep 01 2017
MATHEMATICA
LinearRecurrence[{2, 0, 4, -8}, {0, 1, 2, 4}, 37] (* Jean-François Alcover, Apr 02 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Don Reble and N. J. A. Sloane, Sep 01 2017
STATUS
approved