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!)
A113310 Riordan array ((1+x)/(1-x),x/(1+x)). 3
1, 2, 1, 2, 1, 1, 2, 1, 0, 1, 2, 1, 1, -1, 1, 2, 1, 0, 2, -2, 1, 2, 1, 1, -2, 4, -3, 1, 2, 1, 0, 3, -6, 7, -4, 1, 2, 1, 1, -3, 9, -13, 11, -5, 1, 2, 1, 0, 4, -12, 22, -24, 16, -6, 1, 2, 1, 1, -4, 16, -34, 46, -40, 22, -7, 1, 2, 1, 0, 5, -20, 50, -80, 86, -62, 29, -8, 1, 2, 1, 1, -5, 25, -70, 130, -166, 148, -91, 37, -9, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Row sums are A113311. Diagonal sums are A113312. Inverse is A113313. The family of Riordan arrays ((1+x)/(1-(q-1)x),x/(1+x)) allow one to calculate the weight distribution of MDS codes.
REFERENCES
F.J. MacWilliams, N. J. A. Sloane, The Theory of Error-Correcting Codes, North-Holland, 2003, p. 321.
LINKS
FORMULA
T(n, k)=sum{j=0..n-k, (-1)^j*C(j+k-2, i)}; T(n, k)=sum{j=0..n-k, (-1)^(n-k-j)C(n-j-2, n-j-k); T(n, k)=sum{j=k..n, (-1)^(n-j)*C(n, j)(2^(j-k+1)-1).
EXAMPLE
Triangle begins
1;
2,1;
2,1,1;
2,1,0,1;
2,1,1,-1,1;
2,1,0,2,-2,1;
MATHEMATICA
T[n_, k_] := Sum[(-1)^(n-j) Binomial[n, j] (2^(j-k+1) - 1), {j, k, n}]; Table[T[n, k], {n, 0, 12}, {k, 0, n}] // Flatten (* Jean-François Alcover, Apr 27 2017 *)
CROSSREFS
Sequence in context: A351819 A076348 A263835 * A359537 A081653 A249615
KEYWORD
easy,sign,tabl
AUTHOR
Paul Barry, Oct 25 2005
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 16 14:00 EDT 2024. Contains 371734 sequences. (Running on oeis4.)