login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A122434
Expansion of (1+x)^3/(1+x+x^2).
1
1, 2, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0
OFFSET
0,2
COMMENTS
Row sums of number triangle A122433. Binomial transform is A077859.
FORMULA
a(n) = 2*sqrt(3)*cos(2*Pi*n/3+Pi/6)/3+C(1,n)+C(0,n).
a(n) = -A049347(n) if n>=2 . - R. J. Mathar, Feb 08 2008
MATHEMATICA
CoefficientList[Series[(1+x)^3/(1+x+x^2), {x, 0, 70}], x] (* or *) PadRight[ {1, 2, 0}, 71, {-1, 1, 0}] (* Harvey P. Dale, Apr 25 2012 *)
CROSSREFS
Sequence in context: A362221 A260728 A065339 * A141571 A164067 A353918
KEYWORD
easy,sign
AUTHOR
Paul Barry, Sep 04 2006
STATUS
approved