OFFSET
1,2
REFERENCES
Joshua Zucker, Posting to Seq Fan mailing list, Nov 24 2005
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..5000
Index entries for linear recurrences with constant coefficients, signature (0,0,0,4,0,0,0,-3).
FORMULA
G.f.: -x*(6*x^7-3*x^4-3*x^3-x^2-2*x-1) / ((x-1)*(x+1)*(x^2+1)*(3*x^4-1)). - Colin Barker, Jul 28 2013
MAPLE
a[1]:=1; k:=1; for n from 1 to 16 do k:=k+1; a[k]:=a[k-1]+1; k:=k+1; a[k]:=a[k-1]/2; k:=k+1; a[k]:=a[k-1]+2; k:=k+1; a[k]:=a[k-1]+a[k-2]+a[k-3]+a[k-4]; od;
MATHEMATICA
LinearRecurrence[{0, 0, 0, 4, 0, 0, 0, -3}, {1, 2, 1, 3, 7, 8, 4, 6}, 50] (* Paolo Xausa, May 20 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Nov 24 2005
EXTENSIONS
Definition found by Franklin T. Adams-Watters, Feb 01 2006
More terms from N. J. A. Sloane, Feb 22 2006
STATUS
approved