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

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.

Adjacent sequences: A101672 A101673 A101674 this_sequence A101676 A101677 A101678

Sequence in context: A075685 A037906 A120936 this_sequence A051764 A025906 A020944

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 October 7 14:39 EDT 2008. Contains 144666 sequences.


AT&T Labs Research