|
Search: id:A101675
|
|
|
| A101675 |
|
G.f.: (1-x-x^2)/(1+x^2+x^4). |
|
+0 3
|
|
| 1, -1, -2, 1, 1, 0, 1, -1, -2, 1, 1, 0, 1, -1, -2, 1, 1, 0, 1, -1, -2, 1, 1, 0, 1, -1, -2, 1, 1, 0, 1, -1, -2, 1, 1, 0, 1, -1, -2, 1, 1, 0, 1, -1, -2, 1, 1, 0, 1, -1, -2, 1, 1, 0, 1, -1, -2, 1, 1, 0, 1, -1, -2, 1, 1, 0, 1, -1, -2, 1, 1, 0, 1, -1, -2, 1, 1, 0, 1, -1, -2, 1, 1, 0, 1, -1, -2, 1, 1, 0, 1, -1, -2, 1, 1, 0, 1, -1, -2, 1, 1, 0, 1, -1, -2
(list; graph; listen)
|
|
|
OFFSET
|
0,3
|
|
|
COMMENT
|
Contribution from Gary W. Adamson (qntmpkt(AT)yahoo.com), Nov 04 2008: (Start)
The sequence has a 12 term periodic cycle if indexed with offset 1, starting:
(1, 1, 0, -1, -1, -2, -1, -1, 0, 1, 1, 2,...(repeat)); such that even terms =
2*Cos(n*Pi/6) and odds = (2/(sqrt3))*Cos(n*Pi/6). (End)
|
|
LINKS
|
Index entries for sequences related to linear recurrences with constant coefficients
|
|
FORMULA
|
a(0) = 1, a(1) = -1, a(2) = -2, a(3) = 1; for n >= 4, a(n)=-a(n-2)-a(n-4).
a(n)=sum{k=0..floor(n/2), (-1)^A010060(n-2k)*mod(binomial(n-k, k), 2)(-1)^k}; a(n)=cos(2*pi*n/3+pi/6)/sqrt(3)+sin(2*pi*n/3+pi/6)+cos(pi*n/3+pi/3)-sin(pi*n/3+pi/3)/sqrt(3).
|
|
CROSSREFS
|
Partial sums are A101676.
Sequence in context: A075685 A037906 A120936 this_sequence A051764 A025906 A020944
Adjacent sequences: A101672 A101673 A101674 this_sequence A101676 A101677 A101678
|
|
KEYWORD
|
easy,sign
|
|
AUTHOR
|
Paul Barry (pbarry(AT)wit.ie), Dec 11 2004
|
|
|
Search completed in 0.002 seconds
|