cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A158840 Row sums of triangle A158835.

Original entry on oeis.org

1, 2, 7, 42, 374, 4391, 63637, 1095362, 21823226, 493898216, 12515588806, 351062669154, 10798972965266, 361471373319171, 13080119556342713, 508813238759275712, 21174032937728251318, 938646693399848483498
Offset: 0

Views

Author

Paul D. Hanna, Mar 28 2009

Keywords

Comments

Triangle A158835 transforms diagonals in the array A158825 of coefficients of successive iterations of x*C(x) where C(x) is the Catalan function (A000108).

Crossrefs

Programs

  • PARI
    {a(n)=local(F=x, CAT=serreverse(x-x^2+x*O(x^(n+2))), M, N, P); M=matrix(n+2, n+2, r, c, F=x; for(i=1, r+c-2, F=subst(F, x, CAT)); polcoeff(F, c)); N=matrix(n+1, n+1, r, c, M[r, c]); P=matrix(n+1, n+1, r, c, M[r+1, c]); sum(k=0,n,(P~*N~^-1)[n+1, k+1])}