login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A140575 Triangle read by rows: the coefficient of [x^k] of the polynomial 1-(x-1)^n in row n and column k, 0<=k<n. 1
0, 2, -1, 0, 2, -1, 2, -3, 3, -1, 0, 4, -6, 4, -1, 2, -5, 10, -10, 5, -1, 0, 6, -15, 20, -15, 6, -1, 2, -7, 21, -35, 35, -21, 7, -1, 0, 8, -28, 56, -70, 56, -28, 8, -1, 2, -9, 36, -84, 126, -126, 84, -36, 9, -1, 0, 10, -45, 120, -210, 252, -210, 120, -45, 10, -1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Row sums are: 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,...;
This is the Pascal Triangle A007318 with alternating signs and the leading column of 1's replaced alternatingly by 0 and 2. - R. J. Mathar, Sep 09 2013
With T(0,0) = 1, this is (2, -2, -1/2, 1/2, 0, 0, 0, 0, 0, 0, 0, ...) DELTA (-1, 2, 0, 0, 0, 0, 0, 0, 0, ...) where DELTA is the operator defined in A084938. - Philippe Deléham, May 24 2015
G.f.: (1+2*x-x^2-2*x*y+x^2*y)/((-1+x)*(-x+x*y-1)) -1 - R. J. Mathar, Aug 12 2015
LINKS
FORMULA
T(n,k) = T(n-1,k-1) + T(n-2,k) - T(n-2,k-1), T(0,0) = 0, T(1,0) = 2, T(1,1) = -1, T(n,k) = 0 if k>n or if k<0. - Philippe Deléham, May 24 2015
EXAMPLE
0;
2, -1;
0, 2, -1;
2, -3, 3, -1;
0, 4, -6, 4, -1;
2, -5, 10, -10, 5, -1;
0, 6, -15, 20, -15, 6, -1;
2, -7, 21, -35, 35, -21, 7, -1;
0, 8, -28,56, -70, 56, -28, 8, -1;
2, -9, 36, -84, 126, -126, 84, -36, 9, -1;
0, 10, -45, 120, -210, 252, -210, 120, -45, 10, -1;
MATHEMATICA
Clear[p] p[x, 0] = 1; p[x, 1] = x - 1; p[x_, n_] := x^n*(1/x^n - (1 - 1/x)^n); a = Table[ExpandAll[p[x, n]], {n, 0, 10}]; b = Table[CoefficientList[ExpandAll[p[x, n]], x], {n, 0, 10}]; Flatten[b]
CROSSREFS
Cf. A091917.
Sequence in context: A180430 A246369 A036261 * A091917 A025657 A025686
KEYWORD
tabl,easy,sign
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 12:14 EDT 2024. Contains 371792 sequences. (Running on oeis4.)