|
Search: id:A117444
|
|
|
| A117444 |
|
Periodic {0,1,2,-2,-1}. |
|
+0 3
|
|
| 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1
(list; graph; listen)
|
|
|
OFFSET
|
0,3
|
|
|
FORMULA
|
G.f.: x(1+3x+x^2)/(1+x+x^2+x^3+x^4)=x(1+2x^2-2x^3-x^4)/(1-x^5); a(n)=sum{k=0..5, L(k(k^2-n)/5)}/2, where L(j/p) is the Legendre symbol of j and p; a(n)=sqrt(2+2/sqrt(5))*sin(2*pi*n/5)-sqrt(2-2/sqrt(5))*sin(4*pi*n/5).
a(n)=-(1/5)*{(n mod 5)+[(n+1) mod 5]-4*[(n+2) mod 5]+[(n+3) mod 5]+[(n+4) mod 5]}, with n>=0 - Paolo P. Lava (ppl(AT)spl.at), Jun 11 2007
|
|
CROSSREFS
|
Sequence in context: A108423 A092339 A079693 this_sequence A015504 A055892 A104244
Adjacent sequences: A117441 A117442 A117443 this_sequence A117445 A117446 A117447
|
|
KEYWORD
|
easy,sign
|
|
AUTHOR
|
Paul Barry (pbarry(AT)wit.ie), Mar 16 2006
|
|
|
Search completed in 0.002 seconds
|