|
Search: id:A134565
|
|
|
| A134565 |
|
Expansion of reversion of (x - 2 * x^2) / (1 - x)^3. |
|
+0 1
|
|
| 1, -1, 2, -3, 7, -12, 30, -55, 143, -273, 728, -1428, 3876, -7752, 21318, -43263, 120175, -246675, 690690, -1430715, 4032015, -8414640, 23841480, -50067108, 142498692, -300830572, 859515920, -1822766520, 5225264024, -11124755664, 31983672534
(list; graph; listen)
|
|
|
OFFSET
|
1,3
|
|
|
FORMULA
|
Given g.f. A(x), then 1 = (1 / A(x) + 1 / A(-x)) / 2.
a(n) = -(-1)^n * binomial( n + m, n - m) / (2 * m + 1) where m = [n/2] if n>0.
|
|
EXAMPLE
|
x - x^2 + 2*x^3 - 3*x^4 + 7*x^5 - 12*x^6 + 30*x^7 - 55*x^8 + 143*x^9 + ...
|
|
PROGRAM
|
(PARI) {a(n) = local( m = n\2); if( n<1, 0, -(-1)^n * binomial( n + m, n - m) / (2 * m + 1))}
(PARI) {a(n) = if( n<1, 0, polcoeff( serreverse( (x - 2 * x^2) / (1 - x)^3 + x * O(x^n) ), n))}
(PARI) {a(n) = if( n<1, 0, polcoeff( 1 / ( 1 + 1 / serreverse( x - x^3 + x * O(x^n) )), n))}
|
|
CROSSREFS
|
-(-1)^n * A047749(n) = a(n) unless n=0. A006013(n) = a(2*n+1). - A001764(n) = a(2*n) unless n=0.
Adjacent sequences: A134562 A134563 A134564 this_sequence A134566 A134567 A134568
Sequence in context: A089324 A111759 A047749 this_sequence A100982 A034786 A080107
|
|
KEYWORD
|
sign
|
|
AUTHOR
|
Michael Somos, Nov 01 2007
|
|
|
Search completed in 0.002 seconds
|