OFFSET
0,5
COMMENTS
A033138 with three zeros prepended. - Joerg Arndt, Mar 10 2015
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (2,0,1,-2).
FORMULA
a(n) = a(n-3)+2^(n-3) = a(n-3)+A000079(n-3). Here, a(.) can also be one of its higher order differences.
a(n) = 2*a(n-1)+a(n-3)-2*a(n-4). G.f.: x^3/((x-1)*(2*x-1)*(1+x+x^2)). [R. J. Mathar, Jul 23 2009]
a(n) = floor(2^n/7). [Mircea Merca, Dec 22 2010]
MAPLE
A023001 := proc(n) (8^n-1)/7; end: A155803 := proc(n) RETURN( A023001(n), 2*A023001(n), 4*A023001(n)) ; end: L := [seq(A155803(n), n=0..30)] ; # R. J. Mathar, Jul 23 2009
seq(floor(2^n/7), n=0..30) # Mircea Merca, Dec 22 2010
MATHEMATICA
CoefficientList[Series[x^3/(1-2 x-x^3+2 x^4), {x, 0, 50}], x] (* Harvey P. Dale, Mar 13 2011 *)
PROG
(Magma) [Floor(2^n/7): n in [0..40]]; // Vincenzo Librandi, Sep 17 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Jan 27 2009
EXTENSIONS
Edited and extended by R. J. Mathar, Jul 23 2009
STATUS
approved