Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A099837
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A099837 Expansion of (1-x^2)/(1+x+x^2). +0
10
1, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1, 2, -1, -1 (list; graph; listen)
OFFSET

0,4

COMMENT

A transform of (-1)^n.

Row sums of Riordan array ((1-x)/(1+x),x/(1+x)^2), A110162.

Let b(n)=sum{k=0..floor(n/2), binomial(n-k,k)(-1)^(n-2k)}. Then a(n)=b(n)-b(n-2)=A049347(n)-A049347(n-2) (n>0). The g.f. 1/(1+x) of (-1)^n is transformed to (1-x^2)/(1+x+x^2) under the mapping G(x)->((1-x^2)/(1+x^2))G(x/(1+x^2)). Partial sums of A099838.

FORMULA

G.f.: (1-x^2)/(1+x+x^2); a(n)=sum{j=0..n, (C(1, j/2)(-1)^(j/2)(1+(-1)^j)/2)*sum{k=0..floor((n-j)/2), C(n-j-k, k)(-1)^(n-j-k)}}; a(n)=2cos(2*pi*n/3)-0^n.

CROSSREFS

Cf. A100051, A100063.

Cf. A061347, A098554.

Sequence in context: A015182 A057559 A016010 this_sequence A100051 A122876 A100063

Adjacent sequences: A099834 A099835 A099836 this_sequence A099838 A099839 A099840

KEYWORD

easy,sign

AUTHOR

Paul Barry (pbarry(AT)wit.ie), Oct 27 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 21 14:49 EST 2008. Contains 150807 sequences.


AT&T Labs Research