OFFSET
0,6
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Fan Chung, R. L. Graham, Primitive juggling sequences, Am. Math. Monthly 115 (3) (2008) 185-194
Index entries for linear recurrences with constant coefficients, signature (4,0,0,-1,2,2)
FORMULA
a(0)=a(1)=a(2)=a(3)=0,a(4)=1,a(5)=2,a(6)=6; for n>6 a(n) = 4*a(n-1) - a(n-4) + 2*a(n-5) + 2*a(n-6). - Zak Seidov, Mar 06 2006
MATHEMATICA
{a[0]=a[1]=a[2]=a[3]=0, a[4]=1, a[5]=2, a[6]=6}; a[n_]:=a[n]=2*a[ -6+n]+2*a[ -5+n]-a[ -4+n]+4*a[ -1+n]; Table[a[n], {n, 0, 29}] (* Zak Seidov, Mar 06 2006 *)
CoefficientList[Series[x^4*(1-2*x-2*x^2)/(1-4*x+x^4-2*x^5-2*x^6), {x, 0, 40}], x] (* Vincenzo Librandi, Jun 27 2012 *)
LinearRecurrence[{4, 0, 0, -1, 2, 2}, {0, 0, 0, 0, 1, 2, 6}, 30] (* Harvey P. Dale, Dec 02 2015 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Mar 05 2006
STATUS
approved