Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A101675
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research