login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A101676 a(n)=a(n-1)-a(n-2)+a(n-3)-a(n-4)+a(n-5). 2
1, 0, -2, -1, 0, 0, 1, 0, -2, -1, 0, 0, 1, 0, -2, -1, 0, 0, 1, 0, -2, -1, 0, 0, 1, 0, -2, -1, 0, 0, 1, 0, -2, -1, 0, 0, 1, 0, -2, -1, 0, 0, 1, 0, -2, -1, 0, 0, 1, 0, -2, -1, 0, 0, 1, 0, -2, -1, 0, 0, 1, 0, -2, -1, 0, 0, 1, 0, -2, -1, 0, 0, 1, 0, -2, -1, 0, 0, 1, 0, -2, -1, 0, 0, 1, 0, -2, -1, 0, 0, 1, 0, -2, -1, 0, 0, 1, 0, -2, -1, 0, 0, 1, 0, -2 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

COMMENTS

Partial sums of A101675. Partial sums are A101677.

Sequence has period 6. - Ralf Stephan, May 16 2007

FORMULA

G.f.: (1-x-x^2)/((1-x)(1+x^2+x^4)); a(n)=-cos(2*pi*n/3+pi/3)/3+sin(2*pi*n/3+pi/3)/sqrt(3)+2cos(pi*n/3+pi/6)/sqrt(3)-1/3.

CROSSREFS

Sequence in context: A060564 A031267 A065360 * A056560 A096608 A155102

Adjacent sequences:  A101673 A101674 A101675 * A101677 A101678 A101679

KEYWORD

easy,sign

AUTHOR

Paul Barry (pbarry(AT)wit.ie), Dec 11 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 04:23 EST 2012. Contains 205694 sequences.