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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A084103 Expansion of (1+x)^3/(1+x^3). 3
1, 3, 3, 0, -3, -3, 0, 3, 3, 0, -3, -3, 0, 3, 3, 0, -3, -3, 0, 3, 3, 0, -3, -3, 0, 3, 3, 0, -3, -3, 0, 3, 3, 0, -3, -3, 0, 3, 3, 0, -3, -3, 0, 3, 3, 0, -3, -3, 0, 3, 3, 0, -3, -3, 0, 3, 3, 0, -3, -3, 0, 3, 3, 0, -3, -3, 0, 3, 3, 0, -3, -3, 0, 3, 3, 0, -3, -3, 0, 3, 3, 0, -3, -3, 0, 3, 3, 0, -3, -3 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

Partial sums are A084104.

LINKS

Index to sequences with linear recurrences with constant coefficients, signature (1,-1).

FORMULA

a(n)=sum{k=0..n, binomial(2n-k-1, k)(-1)^k*3(n-k)} - Paul Barry (pbarry(AT)wit.ie), Jan 21 2005

a(0)=1 and a(n)= 2*sqrt(3)*sin(n*Pi/3) [From Nour-Eddine Fahssi (fahssin(AT)yahoo.fr), Mar 04 2010]

Euler transform of length 6 sequence [ 3, -3, -1, 0, 0, 1]. - Michael Somos Feb 13 2011

a(n) = - a(-n) = 3 * A128834(n) except a(0) = 1. - Michael Somos Feb 13 2011

EXAMPLE

1 + 3*x + 3*x^2 - 3*x^4 - 3*x^5 + 3*x^7 + 3*x^8 - 3*x^10 - 3*x^11 + ...

PROG

(PARI) {a(n) = (n==0) + [0, 3, 3, 0, -3, -3][n%6 + 1]} /* Michael Somos Feb 13 2011 */

(PARI) {a(n) = (n==0) - 3 * (-1)^n * kronecker(-3, n)} /* Michael Somos Feb 13 2011 */

CROSSREFS

Sequence in context: A098316 A160165 A084055 * A036477 A128164 A140686

Adjacent sequences:  A084100 A084101 A084102 * A084104 A084105 A084106

KEYWORD

easy,sign

AUTHOR

Paul Barry (pbarry(AT)wit.ie), May 15 2003

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 14 20:38 EST 2012. Contains 205663 sequences.