|
Search: id:A117447
|
|
|
| A117447 |
|
Expansion of (1+2x+3x^2+x^3)/(1+x-x^3-x^4). |
|
+0 2
|
|
| 1, 1, 2, 0, 2, 1, 1, 1, 2, 0, 2, 1, 1, 1, 2, 0, 2, 1, 1, 1, 2, 0, 2, 1, 1, 1, 2, 0, 2, 1, 1, 1, 2, 0, 2, 1, 1, 1, 2, 0, 2, 1, 1, 1, 2, 0, 2, 1, 1, 1, 2
(list; graph; listen)
|
|
|
OFFSET
|
0,3
|
|
|
COMMENT
|
The sequence a(n+3) is periodic {0,2,1,1,1,2} with g.f. x(2+3x+2x^2)/(1+x-x^3-x^4). Row sums of number triangle A117446.
|
|
FORMULA
|
G.f.: 1+x+2x^2+x^4(2+3x+2x^2)/(1+x-x^3-x^4); a(n)=sum{k=0..n, C(L(k/3),n-k)}, where L(j/p) is the Legendre symbol of j and p.
a(n)=1/90*{7*(n mod 6)+22*[(n+1) mod 6]-23*[(n+2) mod 6]+37*[(n+3) mod 6]-8*[(n+4) mod 6]+7*[(n+5) mod 6]} with n>=0 - Paolo P. Lava (ppl(AT)spl.at), Nov 21 2006
a(n)=7/6 - 1/2*( - 1)^n - 2/3*cos(2*Pi*n/3) [From Richard Choulet (richardchoulet(AT)yahoo.fr), Dec 12 2008]
|
|
CROSSREFS
|
Sequence in context: A135220 A068320 A111330 this_sequence A053250 A160813 A116664
Adjacent sequences: A117444 A117445 A117446 this_sequence A117448 A117449 A117450
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Paul Barry (pbarry(AT)wit.ie), Mar 16 2006
|
|
|
Search completed in 0.002 seconds
|