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”).

A130525
Diagonal immediately above the main diagonal of square array A130523.
2
1, 3, 13, 63, 324, 1733, 9541, 53725, 308085, 1793528, 10574165, 63018105, 379061652, 2298508872, 14035737150, 86239762294, 532743452260, 3305228985864, 20546951820588, 127237301998014, 774257153670067
OFFSET
0,2
FORMULA
G.f.: A(x) = D(x)*F(x), where D(x) = 1/[1 - xC(x)F(x) - xF(x)^2)] is the g.f. of the main diagonal (A007857), C(x) = 1 + xC(x)^2 is the g.f. of Catalan numbers (A000108) and F(x) = 1 + xF(x)^3 is the g.f. of ternary numbers (A001764).
PROG
(PARI) {a(n)=local(C, F, D); C=Ser(vector(n+1, r, binomial(2*r-2, r-1)/r)); F=Ser(vector(n+1, r, binomial(3*r-3, r-1)/(2*r-1))); D=1/(1-x*C*F-x*F^2); polcoeff(D*F+x*O(x^n), n, x)}
CROSSREFS
Cf. A130523; diagonals: A007857, A130524; related: A000108, A001764.
Sequence in context: A034478 A026715 A001850 * A362744 A350519 A243280
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Jun 02 2007
STATUS
approved