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.

Showing 1-10 of 20 results. Next

A000698 A problem of configurations: a(0) = 1; for n>0, a(n) = (2n-1)!! - Sum_{k=1..n-1} (2k-1)!! a(n-k). Also the number of shellings of an n-cube, divided by 2^n n!.

Original entry on oeis.org

1, 1, 2, 10, 74, 706, 8162, 110410, 1708394, 29752066, 576037442, 12277827850, 285764591114, 7213364729026, 196316804255522, 5731249477826890, 178676789473121834, 5925085744543837186, 208256802758892355202, 7734158085942678174730
Offset: 0

Views

Author

Keywords

Comments

Also number of nonisomorphic unlabeled connected Feynman diagrams of order 2n-2 for the electron propagator of quantum electrodynamics (QED), including vanishing diagrams. [Corrected by Charles R Greathouse IV, Jan 24 2014][Clarified by Robert Coquereaux, Sep 14 2014]
a(n+1) is the moment of order 2*n for the probability density function rho(x) = (1/sqrt(2*Pi))*exp(x^2/2)/[(u(x))^2+Pi/2], with u(x) = Integral_{t=0..x} exp(t*t/2) dt, on the real interval -infinity..infinity. - Groux Roland, Jan 13 2009
Starting (1, 2, 10, 74, ...) = INVERTi transform of A001147: (1, 3, 15, 105, ...). - Gary W. Adamson, Oct 21 2009
The Cvitanovic et al. paper relates this sequence to A005411 and A005413. - Robert Munafo, Jan 24 2010
Hankel transform of a(n+1) is A168467. - Paul Barry, Nov 26 2009
a(n) = number of labeled Dyck (n-1)-paths (A000108) in which each vertex that terminates an upstep is labeled with an integer i in [0,h], where h is the height of the vertex . For example UDUD contributes 4 labeled paths--0D0D, 0D1D, 1D0D, 1D1D where upsteps are replaced by their labels--and UUDD contributes 6 labeled paths to a(3)=10. The Deléham (Mar 24 2007) formula below counts these labeled paths by number of "0" labels. - David Callan, Aug 23 2011
a(n) is the number of indecomposable perfect matchings on [2n]. A perfect matching on [2n] is decomposable if a nonempty subset of the edges forms a perfect matching on [2k] for some kDavid Callan, Nov 29 2012
From Robert Coquereaux, Sep 12 2014: (Start)
QED diagrams are graphs with two kinds of edges (lines): a (non-oriented), f (oriented), and only one kind of (internal) vertex: aff. They may have internal and external (i.e., pendant) lines. The order is the number of (internal) vertices. Vanishing diagrams: QED diagrams containing loops of type f with an odd number of vertices are set to 0 (Furry theorem). Proper diagrams: connected QED diagrams that remain connected when an arbitrary internal line is cut.
The number of Feynman diagrams of order 2n for the electron propagator (2-point function of QED), vanishing or not, proper or not, of order 2n, starting from n = 0, is given by 1, 2, 10, 74, 706, 8162, ..., i.e., this sequence A000698, with the first term (equal to 1) dropped. Call Sf the associated g.f.
The number of non-vanishing Feynman diagrams, for the same 2-point function, is given by 1, 1, 4, 25, 208, 2146, ..., i.e., by the sequence A005411, with a first term of order 0, equal to 1, added. Call S the associated g.f.
If one does not remove the vanishing diagram, but, at the same time, considers only those graphs that are proper, one obtains the Feynman diagrams (vanishing and non-vanishing) for the self-energy function of QED, 0, 1, 3, 21, 207, 2529, ..., i.e., the sequence A115974 with a first term of order 0, equal to 0, added. A115974 is twice A167872. Call Sigmaf the associated g.f.
If one removes the vanishing diagrams and, at the same time, considers only those graphs that are proper, one obtains the Feynman diagrams for the self-energy function of QED given by 0, 1, 3, 18, 153, 1638, ..., i.e., by the sequence A005412, with a first term of order 0, equal to 0, added. Call Sigma the associated g.f.
Then Sf = 1/(1-Sigmaf) and S = 1/(1-Sigma). (End)
For n>0 sum over all Dyck paths of semilength n-1 of products over all peaks p of (x_p+y_p)/y_p, where x_p and y_p are the coordinates of peak p. - Alois P. Heinz, May 22 2015
Also, counts certain isomorphism classes of closed normal linear lambda terms. [N. Zeilberger, 2015]. - N. J. A. Sloane, Sep 18 2016
The September 2018 talk by Noam Zeilberger (see link to video) connects three topics (planar maps, Tamari lattices, lambda calculus) and eight sequences: A000168, A000260, A000309, A000698, A000699, A002005, A062980, A267827. - N. J. A. Sloane, Sep 17 2018
For n >= 2, a(n) is the number of coalescent histories for a pair consisting of a matching lodgepole gene tree and species tree with 2n-1 leaves. - Noah A Rosenberg, Jun 21 2022

Examples

			G.f. = 1 + x + 2*x^2 + 10*x^3 + 74*x^4 + 706*x^5 + 8162*x^6 + 110410*x^7 + ...
		

References

  • Dubois C., Giorgetti A., Genestier R. (2016) Tests and Proofs for Enumerative Combinatorics. In: Aichernig B., Furia C. (eds) Tests and Proofs. TAP 2016. Lecture Notes in Computer Science, vol 9762. Springer.
  • R. W. Robinson, Counting irreducible Feynman diagrams exactly and asymptotically, Abstracts Amer. Math. Soc., 2002, #975-05-270.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Sequences mentioned in the Noam Zeilberger 2018 video: A000168, A000260, A000309, A000698, A000699, A002005, A062980, A267827.
Column k=1 of A258219, A258222.
Row sums of A322398.

Programs

  • Maple
    A006882 := proc(n) option remember; if n <= 1 then 1 else n*procname(n-2); fi; end;
    A000698:=proc(n) option remember; global df; local k; if n=0 then RETURN(1); fi; A006882(2*n-1) - add(A006882(2*k-1)*A000698(n-k),k=1..n-1); end;
    A000698 := proc(n::integer) local resul,fac,pows,c,c1,p,i ; if n = 0 then RETURN(1) ; else pows := combinat[partition](n) ; resul := 0 ; for p from 1 to nops(pows) do c := combinat[permute](op(p,pows)) ; c1 := op(1,c) ; fac := nops(c) ; for i from 1 to nops(c1) do fac := fac*doublefactorial(2*op(i,c1)-1) ; od ; resul := resul-(-1)^nops(c1)*fac ; od : fi ; RETURN(resul) ; end; # R. J. Mathar, Apr 24 2006
    # alternative Maple program:
    b:= proc(x, y, t) option remember; `if`(y>x or y<0, 0,
          `if`(x=0, 1, b(x-1, y-1, false)*`if`(t, (x+y)/y, 1) +
                       b(x-1, y+1, true)  ))
        end:
    a:= n-> `if`(n=0, 1, b(2*n-2, 0, false)):
    seq(a(n), n=0..25);  # Alois P. Heinz, May 23 2015
    a_list := proc(len) local n, A; if len=1 then return [1] fi: A := Array(-1..len-2); A[-1] := 1; A[0] := 1; for n to len-2 do A[n] := (2*n-1)*A[n-1]+add(A[j]*A[n-j-1], j=0..n-1) od: convert(A, list) end: a_list(20); # Peter Luschny, Jul 18 2017
  • Mathematica
    a[n_] := a[n] = (2n - 1)!! - Sum[ a[n - k](2k - 1)!!, {k, n-1}]; Array[a, 18, 0] (* Ignacio D. Peixoto, Jun 23 2006 *)
    a[ n_] := If[ n < 0, 0, SeriesCoefficient[ 2 - 1 / Sum[ (2 k - 1)!! x^k, {k, 0, n}], {x, 0, n}]]; (* Michael Somos, Nov 16 2011 *)
    a[n_]:= SeriesCoefficient[1+x(1/x+(E^((1/2)/x) Sqrt[2/\[Pi]] Sqrt[-(1/x)])/Erfc[Sqrt[-(1/x)]/Sqrt[2]]), {x,0,n}, Assumptions -> x >0](* Robert Coquereaux, Sep 14 2014 *)
    max = 20; g = t/Fold[1 - ((t + #2)*z)/#1 &, 1, Range[max, 1, -1]]; T[n_, k_] := SeriesCoefficient[g, {z, 0, n}, {t, 0, k}]; a[0] = 1; a[n_] := Sum[T[n-1, k], {k, 0, n}]; Table[a[n], {n, 0, 20}] (* Jean-François Alcover, Jan 31 2016, after Philippe Deléham *)
  • PARI
    {a(n) = if( n<0, 0, polcoeff( 2 - 1 / sum( k=0, n, x^k * (2*k)! /(2^k * k!), x * O(x^n)), n))}; /* Michael Somos, Feb 08 2011 */
    
  • PARI
    {a(n) = my(A); if( n<1, n==0, A = vector(n); A[1] = 1; for( k=2, n, A[k] = (2*k - 3) * A[k-1] + sum( j=1, k-1, A[j] * A[k-j])); A[n])}; /* Michael Somos, Jul 24 2011 */
    
  • Python
    from sympy import factorial2, cacheit
    @cacheit
    def a(n): return 1 if n == 0 else factorial2(2*n - 1) - sum(factorial2(2*k - 1)*a(n - k) for k in range(1, n))
    [a(n) for n in range(51)]  # Indranil Ghosh, Jul 18 2017

Formula

G.f.: 2 - 1/(1 + Sum_{n>=1} (2*n-1)!! * x^n ).
a(n+1) = Sum_{k=0..n} A089949(n, k)*2^k. - Philippe Deléham, Aug 15 2005
a(n+1) = Sum_{k=0..n} A053979(n,k). - Philippe Deléham, Mar 24 2007
From Paul Barry, Nov 26 2009: (Start)
G.f.: 1+x/(1-2x/(1-3x/(1-4x/(1-5x/(1-6x/(1-... (continued fraction).
G.f.: 1+x/(1-2x-6x^2/(1-7x-20x^2/(1-11x-42x^2/(1-15x-72x^2/(1-19x-110x^2/(1-... (continued fraction). (End)
G.f.: 1 + x * B(x) * C(x) where B(x) is the g.f. for A001147 and C(x) is the g.f. for A005416. - Michael Somos, Feb 08 2011
G.f.: 1+x/W(0); where W(k)=1+x+x*2k-x*(2k+3)/W(k+1); (continued fraction). - Sergei N. Gladkovskii, Nov 17 2011
From Peter Bala, Dec 22 2011: (Start)
Recurrence relation: a(n+1) = (2*n-1)*a(n) + Sum_{k = 1..n} a(k)*a(n+1-k) for n >= 0 and a(1) = 1.
The o.g.f. B(x) = Sum_{n>=1} a(n)*x^(2*n-1) = x + 2*x^3 + 10*x^5 + 74*x^7 + ... satisfies the Riccati differential equation y'(x) = -1/x^2 + (1/x^3)*y(x) - (1/x^2)*y(x)^2 with initial condition y(0) = 0 (cf. A005412). The solution is B(x) = 1/z(x) + 1/x, where z(x) = -Sum_{n>=0} A001147(n) * x^(2*n+1) = -(x + x^3 + 3*x^5 + 15*x^7 + ...). The function b(x) = -B(1/x) satisfies b'(x) = -1 - (x + b(x))*b(x). Hence the differential operator (D^2 + x*D + 1), where D = d/dx, factorizes as (D - a(x))*(D - b(x)), where a(x) = -(x + b(x)), as conjectured by [Edgar, Problem 4.32]. For a refinement of this sequence see A053979. (End)
From Sergei N. Gladkovskii, Aug 19 2012, Oct 24 2012, Mar 19 2013, May 20 2013, May 29 2013, Aug 04 2013, Aug 05 2013: (Start)
Continued fractions:
G.f.: 2 - G(0) where G(k) = 1 - (k+1)*x/G(k+1).
G.f.: 2 - U(0) where U(k) = 1 - (2*k+1)*x/(1 - (2*k+2)*x/U(k+1)).
G.f.: 2 - U(0) where U(k) = 1 - (4*k+1)*x - (2*k+1)*(2*k+2)*x^2/U(k+1).
G.f.: 1/Q(0) where Q(k) = 1 - x*(2*k+2)/(1 - x*(2*k+3)/Q(k+1)).
G.f.: 1 + x/Q(0) where Q(k) = 1 - x*(k+2)/Q(k+1).
G.f.: 2 - G(0)/2 where G(k) = 1 + 1/(1 - 2*x*(2*k+1)/(2*x*(2*k+1) - 1 + 2*x*(2*k+2)/ G(k+1))).
G.f.: 1 + x*G(0) where G(k) = 1 - x*(k+2)/(x*(k+2) - 1/G(k+1)).
G.f.: 2 - 1/B(x) where B(x) is the g.f. of A001147.
G.f.: 1 + x/(1-2*x*B(x)) where B(x) is the g.f. of A167872. (End)
a(n) ~ 2^(n+1/2) * n^n / exp(n). - Vaclav Kotesovec, Mar 10 2014
G.f.: 1 + x*(1/x + (sqrt(2/Pi) * exp(1/(2*x)) * sqrt(-1/x))/Erfc(sqrt(-1/x)/sqrt(2))) where Erfc(z) = 1 - Erf(z) is the complementary error function, and Erf(z) is the integral of the Gaussian distribution. This generating function is obtained from the generating functional of (4-dimensional) QED, evaluated in dimension 0 for the 2-point function, without the modification implementing Furry theorem. - Robert Coquereaux, Sep 14 2014
From Peter Bala, May 23 2017: (Start)
G.f. A(x) = 1 + x/(1 + x - 3*x/(1 + 3*x - 5*x/(1 + 5*x - 7*x/(1 + 7*x - ...)))).
A(x) = 1 + x/(1 + x - 3*x/(1 - 2*x/(1 - 5*x/(1 - 4*x/(1 - 7*x/(1 - 6*x/(1 - ...))))))). (End)

Extensions

Formula corrected by Ignacio D. Peixoto, Jun 23 2006
More terms from Sean A. Irvine, Feb 27 2011

A005411 Number of non-vanishing Feynman diagrams of order 2n for the electron or the photon propagators in quantum electrodynamics.

Original entry on oeis.org

1, 1, 4, 25, 208, 2146, 26368, 375733, 6092032, 110769550, 2232792064, 49426061818, 1192151302144, 31123028996164, 874428204384256, 26308967412122125, 843984969276915712, 28757604639850111894, 1037239628039528906752, 39481325230750749160462
Offset: 0

Views

Author

Keywords

Comments

Cvitanovic et al. paper relates this sequence to A000698 and A005413. - Robert Munafo, Jan 24 2010
(x + 4x^2 + 25x^3 + 208x^4 + ...) = (x + 2x^2 + 7x^3 + 38x^4 + ...) * 1/(1 + x + 2x^2 + 7x^3 + 38x^4 + ...); where A094664 = (1, 1, 2, 7, 38, 286, ...). - Gary W. Adamson, Nov 16 2011.
The Martin and Kearney article has S(2,-4,1) = [1,1,4,25,...] where u_1 = u_2 = 1, u_3 = 4, u_4 =25, etc. This is almost the same as this sequence. - Michael Somos, Feb 27 2014
From Robert Coquereaux, Sep 05 2014: (Start)
Evaluation of quantum electrodynamics functional integrals in dimension 0 become usual Lebesgue integrals, their Taylor expansion around g=0 at order n give the number of Feynman diagrams.
These are graphs with two kinds of edges: a (non-oriented), f (oriented), and only one kind of vertex: aff.
Electron propagator: all the diagrams with two external edges of type f.
Photon propagator: all the diagrams with two external edges of type a.
The exponent n of g^n gives the number of vertices.
Diagrams containing loops of type f with an odd number of vertices are set to 0 (vanishing diagrams).
The coefficients of the series S(g)=Sum a(n) g^(2n) give the number of non-vanishing Feynman diagrams for the electron (or the photon) propagator.
S(g) is obtained as < 1/(1-g^2 a^2) > for the measure (E^(-(a^2/2)))/sqrt[1-g^2 a^2]da, assuming g^2 < 0, hence a formula for S(g) in terms of modified Bessel functions (setting x=g^2 gives the G.f. below).
(End)
Sum over all Dyck paths of semilength n of products over all peaks p of x_p/y_p, where x_p and y_p are the coordinates of peak p. a(3) = 3/3 +2/2*5/1 +1/1*4/2 +2/2*4/2 +1/1*3/1*5/1 = 25. - Alois P. Heinz, May 21 2015
From Sasha Kolpakov, Dec 11 2017: (Start)
Number of free index 2n subgroups in the free product Z_2*Z_2*Z_2.
Number of oriented rooted pavings (after Arques & Koch, Spehner, Lienhardt) with 2n darts.
(End)

Examples

			G.f. = 1 + x + 4*x^2 + 25*x^3 + 208*x^4 + 2146*x^5 + 26368*x^6 + 375733*x^7 + ... [Deleted g.f. restored by _N. J. A. Sloane_, Jan 30 2016]
		

References

  • C. Itzykson and J.-B. Zuber, Quantum Field Theory, McGraw-Hill, 1980, pages 466-467.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Programs

  • Maple
    b:= proc(x, y, t) option remember; `if`(y>x or y<0, 0,
          `if`(x=0, 1, b(x-1, y-1, false)*`if`(t, x/y, 1) +
                       b(x-1, y+1, true)  ))
        end:
    a:= n-> b(2*n, 0, false):
    seq(a(n), n=0..20);  # Alois P. Heinz, May 21 2015
  • Mathematica
    a[n_] := Module[{A}, A[1] = 1; A[k_] := A[k] = (2*k-4)*A[k-1]+Sum[A[j]*A[k-j], {j, 1, k-1}]; A[n]]; Table[a[n], {n, 2, 20}] (* Jean-François Alcover, Feb 27 2014, after Michael Somos *)
    a[ n_] := Module[{m = n + 1, u}, If[ n < 2, Boole[n >= 0], u = Range[m]; Do[ u[[k]] = (2 k - 4) u[[k - 1]] + Sum[ u[[j]] u[[k - j]], {j, k - 1}], {k, 2, m}]; u[[m]]]]; (* Michael Somos, Feb 27 2014 *)
    a[n_]:=SeriesCoefficient[(1-BesselK[1,-(1/(4 g^2))]/BesselK[0,-(1/(4 g^2))])/(2 g^2),{g,0,2*n}]; (* Robert Coquereaux, Sep 05 2014 *)
  • PARI
    {a(n) = my(A); if( n<1, n==0, n++; A = vector(n); A[1] = 1; for( k=2, n, A[k] = (2 * k - 4) * A[k-1] + sum( j=1, k-1, A[j] * A[k-j])); A[n])}; /* Michael Somos, Jul 24 2011 */

Formula

From Peter Bala, Mar 07 2011: (Start)
Given the o.g.f. A(x), the function F(x) := A(x^2) satisfies the differential equation F(x) = 1 + x^3*d/dx(F(x)) + x^2*F(x)^2 (equation 3.53, P. Cvitanovic et al.).
Conjectural o.g.f. A(x) as a continued fraction:
1 + x/(1 - 4*x - 3^2*x^2/(1 - 8*x - 5^2*x^2/(1 - 12*x - 7^2*x^2/(1 - 16*x - ...)))).
Asymptotics: a(n) ~ 1/Pi*2^(n+1)*n!*(1 - 1/(2*n) - 3/(8*n^2)). (End)
Given u(1) = 1, u(n) = (2*n - 4) * u(n-1) + Sum_{k=1..n-1} u(k) * u(n-k) when n>1, then a(n) = u(n+1) if n>0. - Michael Somos, Jul 24 2011
G.f.: 1/Q(0) where Q(k) = 1 - x*(2*k+1)/(1 - x*(2*k+3)/Q(k+1) ); (continued fraction). - Sergei N. Gladkovskii, Mar 19 2013
G.f.: 1/x^2 - 1/x - Q(0)/x^2, where Q(k) = 1 - x*(2*k+1)/(1 - x*(2*k+1)/Q(k+1)); (continued fraction). - Sergei N. Gladkovskii, May 20 2013
G.f.: 1/x^2 - 1/x - G(0)/(2*x^2), where G(k) = 1 + 1/(1 - 2*x*(2*k+1)/(2*x*(2*k+1) - 1 + 2*x*(2*k+1)/G(k+1))); (continued fraction). - Sergei N. Gladkovskii, May 29 2013
G.f.: W(0)/x - 1/x, where W(k) = 1 - x*(2*k+1)/( x*(2*k+1) - 1/(1 - x*(2*k+3)/( x*(2*k+3) - 1/W(k+1) ))); (continued fraction). - Sergei N. Gladkovskii, Aug 26 2013
G.f.: G(0)/x -1/x, where G(k) = 1 - x*(2*k+1)/(x - 1/G(k+1) ); (continued fraction). - Sergei N. Gladkovskii, Jan 21 2014
G.f.: 1/(2*x) - BesselK(1,-1/(4*x))/(2*x*BesselK(0,-1/(4*x))) where BesselK[p,z] denotes the modified Bessel function of the second kind (order p, argument z). This is a small improvement of a result obtained in 1980 book "Quantum Field Theory". - Robert Coquereaux, Sep 05 2014
Asymptotics: a(n) ~ 2*(2/Pi)^(1/2)*(2/e)^n*n^(n+1/2), cf. Ciobanu and Kolpakov in Links. - Sasha Kolpakov, Dec 11 2017
From Peter Bala, Jun 27 2022: (Start)
O.g.f. as a continued fraction of Stieltjes type: A(x) = 1/(1 - x/(1 - 3*x/(1 - 3*x/(1 - 5*x/(1 - 5*x/(1 - 7*x/(1 - 7*x/(1 - ...)))))))) follows by applying the result of Stokes to the Riccati differential equation 2*x^2*A'(x) = -1 + A(x) - x*A^2(x).
The even part of the continued fraction gives A(x) = 1/(1 - x - 3*x^2/(1 - 6*x - 15*x^2/(1 - 10*x - 35*x^2/(1 - 14*x - 63*x^2/(1 - 18*x - ... - (4*n^2-1)*x^2/(1 - (4*n+2)*x -...)))))), a continued fraction of Jacobi type (a J-fraction). (End)

Extensions

Name corrected by Charles R Greathouse IV, Jan 24 2014
Name clarified by Robert Coquereaux, Sep 05 2014
a(0)=1 prepended, programs and formulas edited by Alois P. Heinz, Jun 22 2015

A167872 A sequence of moments connected with Feynman numbers (A000698): Half the number of Feynman diagrams of order 2(n+1), for the electron self-energy in quantum electrodynamics (QED), i.e., all proper diagrams including Furry vanishing diagrams (those that vanish in 4-dimensional QED because of Furry theorem).

Original entry on oeis.org

1, 3, 21, 207, 2529, 36243, 591381, 10786527, 217179009, 4782674403, 114370025301, 2952426526767, 81864375589089, 2427523337157363, 76683680366193621, 2571609710380950207, 91265370849151405569, 3417956847888948899523
Offset: 0

Views

Author

Groux Roland, Nov 14 2009

Keywords

Comments

a(n) is the moment of order 2*n of the probability density function defined by rho(x) = sqrt(Pi/2)*exp(-x^2/2)/((x*phi(x)+1)^2 + Pi^2*x^2*exp(-x^2)), where phi(x) = Integral_{t=-oo..oo} t*log(abs(x-t))*exp(-t^2/2) dt.

Examples

			G.f. = 1 + 3*x + 21*x^2 + 207*x^3 + 2529*x^4 + 36243*x^5 + 591381*x^6 + ...
		

References

  • Roland Groux. Polynômes orthogonaux et transformations intégrales. Cepadues. 2008. pages 195..206.

Crossrefs

Programs

  • Mathematica
    (* f = A000698 *) f[n_] := f[n] = (2*n - 1)!! - Sum[f[n - k]*(2*k - 1)!!, {k, 1, n - 1}]; a[n_] := a[n] = f[n + 2]/2 - Sum[f[n + 1 - k]*a[k], {k, 0, n - 1}]; Table[a[n], {n, 0, 17}] (* Jean-François Alcover, Jul 03 2013, from 3rd formula *)
    nmax = 20; CoefficientList[Series[1/(1 + x + ContinuedFractionK[-(k - (-1)^k)*x, 1, {k, 3, nmax}]), {x, 0, nmax}], x] (* Vaclav Kotesovec, Jun 06 2022, after Peter Bala *)
  • PARI
    {a(n) = local(A); n++; if( n<1, 0, A = vector(n); A[1] = 1; for( k=2, n, A[k] = (2*k - 3) * A[k-1] + 2 * sum( j=1, k-1, A[j] * A[k-j])); A[n])}; /* Michael Somos, Jul 23 2011 */

Formula

Sum_{n>=0} a(n)/z^(2n+1) = (1/2)*(z-S(z)/(z*S(z)-1)) with S(z) = Sum_{n>=0} (2*n)!/(2^n*n!*z^(2*n+1)).
a(n) = (2*n - 1) * a(n-1) + 2 * Sum_{k=1..n} a(k-1) * a(n-k) if n>0. - Michael Somos, Jul 23 2011
a(0)=1; for n > 0, a(n) = A000698(n+2)/2 - Sum_{k=0..n-1} A000698(n+1-k)*a(k).
G.f.: 1/(1-3*x/(1-4*x/(1-5*x/(1-6*x/(1-7*x/(1-8*x/(...))))))) (continued fraction). - Philippe Deléham, Nov 20 2011
G.f.: 1/Q(0), where Q(k) = 1 - x*(k+3)/Q(k+1); (continued fraction). - Sergei N. Gladkovskii, May 20 2013
Let A(x) be the g.f. of A127059 and B(x) be the g.f. of A167872. Then A(x) = (1 - 1/B(x))/x.
G.f.: 1/Q(0), where Q(k) = 1 - x*(2*k+3)/(1 - x*(2*k+4)/Q(k+1)); (continued fraction). - Sergei N. Gladkovskii, May 21 2013
G.f.: G(0)/2, where G(k) = 1 + 1/(1 - (2*k+3)*x/((2*k+2)*x + 1/G(k+1))); (continued fraction). - Sergei N. Gladkovskii, Jun 14 2013
G.f.: G(0), where G(k) = 1 - x*(k+3)/(x*(k+3) - 1/G(k+1)); (continued fraction). - Sergei N. Gladkovskii, Aug 05 2013
a(n) = A115974(n)/2, see comments in A115974. See also A000698, A005411, A005412. - Robert Coquereaux, Sep 14 2014
a(n) ~ 2^(n + 3/2) * n^(n+2) / exp(n). - Vaclav Kotesovec, Jan 02 2019
G.f.: 1/(1 + x - 4*x/(1 - 3*x/(1 - 6*x/(1 - 5*x/(1 - 8*x/(1 - 7*x/(1 - ...))))))). - Peter Bala, May 30 2022

Extensions

Name clarified from Robert Coquereaux, Sep 14 2014

A258173 Sum over all Dyck paths of semilength n of products over all peaks p of y_p, where y_p is the y-coordinate of peak p.

Original entry on oeis.org

1, 1, 3, 12, 58, 321, 1975, 13265, 96073, 743753, 6113769, 53086314, 484861924, 4641853003, 46441475253, 484327870652, 5252981412262, 59132909030463, 689642443691329, 8319172260103292, 103645882500123026, 1331832693574410475, 17629142345935969713
Offset: 0

Views

Author

Alois P. Heinz, May 22 2015

Keywords

Comments

A Dyck path of semilength n is a (x,y)-lattice path from (0,0) to (2n,0) that does not go below the x-axis and consists of steps U=(1,1) and D=(1,-1). A peak of a Dyck path is any lattice point visited between two consecutive steps UD.
Number of general rooted ordered trees with n edges and "back edges", which are additional edges connecting vertices to their ancestors. Every vertex specifies an ordering on the edges to its children and back edges to its ancestors altogether; it may be connected to the same ancestor by multiple back edges, distinguishable only by their relative ordering under that vertex. - Li-yao Xia, Mar 06 2017

Crossrefs

Programs

  • Maple
    b:= proc(x, y, t) option remember; `if`(y>x or y<0, 0,
         `if`(x=0, 1, b(x-1, y-1, 0)*y^t+b(x-1, y+1, 1)))
        end:
    a:= n-> b(2*n, 0$2):
    seq(a(n), n=0..25);
  • Mathematica
    nmax = 25; Clear[g]; g[nmax+1] = 1; g[k_] := g[k] = 1 - x/(k*x + 2*x - 1/g[k+1]); CoefficientList[Series[g[0], {x, 0, nmax}], x] (* Vaclav Kotesovec, Aug 20 2015, after Sergei N. Gladkovskii *)

Formula

G.f.: T(0), where T(k) = 1 - x/(k*x + 2*x - 1/T(k+1) ); (continued fraction). - Sergei N. Gladkovskii, Aug 20 2015
Conjecture: a(n) = A371567(n-1,0) for n > 0 with a(0) = 1. - Mikhail Kurkov, Nov 07 2024

A258172 Sum over all Dyck paths of semilength n of products over all peaks p of x_p, where x_p is the x-coordinate of peak p.

Original entry on oeis.org

1, 1, 5, 40, 434, 5901, 95997, 1812525, 38875265, 932135347, 24678938063, 714385754446, 22428656766320, 758632387171075, 27489135956517315, 1061913384743418360, 43550536908458238570, 1889211624465639489675, 86406059558668152123975, 4154647501527354507485040
Offset: 0

Views

Author

Alois P. Heinz, May 22 2015

Keywords

Comments

A Dyck path of semilength n is a (x,y)-lattice path from (0,0) to (2n,0) that does not go below the x-axis and consists of steps U=(1,1) and D=(1,-1). A peak of a Dyck path is any lattice point visited between two consecutive steps UD.

Crossrefs

Programs

  • Maple
    b:= proc(x, y, t) option remember; `if`(y>x or y<0, 0,
          `if`(x=0, 1, b(x-1, y-1, false)*`if`(t, x, 1) +
                       b(x-1, y+1, true)  ))
        end:
    a:= n-> b(2*n, 0, false):
    seq(a(n), n=0..20);
  • Mathematica
    b[x_, y_, t_] := b[x, y, t] = If[y > x || y < 0, 0, If[x == 0, 1, b[x - 1, y - 1, False]*If[t, x, 1] + b[x - 1, y + 1, True]]];
    a[n_] := b[2*n, 0, False];
    Table[a[n], {n, 0, 20}] (* Jean-François Alcover, Apr 23 2016, translated from Maple *)

A258174 Sum over all Dyck paths of semilength n of products over all peaks p of x_p*y_p, where x_p and y_p are the coordinates of peak p.

Original entry on oeis.org

1, 1, 7, 84, 1486, 35753, 1111931, 43150593, 2035666985, 114412223081, 7538224510181, 574552299138202, 50096579094908148, 4949493445607316419, 549534510282406667069, 68071071679372210762156, 9347203754680124767253730, 1414740620049957735248175695
Offset: 0

Views

Author

Alois P. Heinz, May 22 2015

Keywords

Comments

A Dyck path of semilength n is a (x,y)-lattice path from (0,0) to (2n,0) that does not go below the x-axis and consists of steps U=(1,1) and D=(1,-1). A peak of a Dyck path is any lattice point visited between two consecutive steps UD.

Crossrefs

Programs

  • Maple
    b:= proc(x, y, t) option remember; `if`(y>x or y<0, 0,
          `if`(x=0, 1, b(x-1, y-1, false)*`if`(t, x*y, 1) +
                       b(x-1, y+1, true)  ))
        end:
    a:= n-> b(2*n, 0, false):
    seq(a(n), n=0..20);
  • Mathematica
    b[x_, y_, t_] := b[x, y, t] = If[y > x || y < 0, 0, If[x == 0, 1, b[x - 1, y - 1, False]*If[t, x*y, 1] + b[x - 1, y + 1, True]]];
    a[n_] := b[2*n, 0, False];
    Table[a[n], {n, 0, 20}] (* Jean-François Alcover, Apr 23 2016, translated from Maple *)

A258175 Sum over all Dyck paths of semilength n of products over all peaks p of x_p+y_p, where x_p and y_p are the coordinates of peak p.

Original entry on oeis.org

1, 2, 12, 114, 1448, 22770, 424164, 9095450, 220023184, 5914998594, 174682531260, 5614908340866, 194967208057272, 7267467723747218, 289270983756577620, 12239218862861690250, 548301077168477951520, 25918121712918957399426, 1288797080051656060595820
Offset: 0

Views

Author

Alois P. Heinz, May 22 2015

Keywords

Comments

A Dyck path of semilength n is a (x,y)-lattice path from (0,0) to (2n,0) that does not go below the x-axis and consists of steps U=(1,1) and D=(1,-1). A peak of a Dyck path is any lattice point visited between two consecutive steps UD.

Crossrefs

Programs

  • Maple
    b:= proc(x, y, t) option remember; `if`(y>x or y<0, 0,
          `if`(x=0, 1, b(x-1, y-1, false)*`if`(t, x+y, 1) +
                       b(x-1, y+1, true)  ))
        end:
    a:= n-> b(2*n, 0, false):
    seq(a(n), n=0..20);
  • Mathematica
    b[x_, y_, t_] := b[x, y, t] = If[y > x || y < 0, 0, If[x == 0, 1, b[x - 1, y - 1, False]*If[t, x + y, 1] + b[x - 1, y + 1, True]]];
    a[n_] := b[2*n, 0, False];
    Table[a[n], {n, 0, 20}] (* Jean-François Alcover, Apr 23 2016, translated from Maple *)

A258176 Sum over all Dyck paths of semilength n of products over all peaks p of x_p^y_p, where x_p and y_p are the coordinates of peak p.

Original entry on oeis.org

1, 1, 7, 142, 9354, 2503597, 3260627607, 24105227716863, 1028836978599566213, 290383808553140390346475, 511963364817949502725911280781, 6704846980724405836568589845161191576, 584709361918378923208855262622537662297053728
Offset: 0

Views

Author

Alois P. Heinz, May 22 2015

Keywords

Comments

A Dyck path of semilength n is a (x,y)-lattice path from (0,0) to (2n,0) that does not go below the x-axis and consists of steps U=(1,1) and D=(1,-1). A peak of a Dyck path is any lattice point visited between two consecutive steps UD.

Crossrefs

Programs

  • Maple
    b:= proc(x, y, t) option remember; `if`(y>x or y<0, 0,
          `if`(x=0, 1, b(x-1, y-1, false)*`if`(t, x^y, 1) +
                       b(x-1, y+1, true)  ))
        end:
    a:= n-> b(2*n, 0, false):
    seq(a(n), n=0..15);
  • Mathematica
    b[x_, y_, t_] := b[x, y, t] = If[y > x || y < 0, 0, If[x == 0, 1, b[x - 1, y - 1, False]*If[t, x^y, 1] + b[x - 1, y + 1, True]]];
    a[n_] :=  b[2*n, 0, False];
    Table[a[n], {n, 0, 15}] (* Jean-François Alcover, Apr 23 2016, translated from Maple *)

A258177 Sum over all Dyck paths of semilength n of products over all peaks p of y_p^x_p, where x_p and y_p are the coordinates of peak p.

Original entry on oeis.org

1, 1, 5, 112, 15312, 22928885, 475971133797, 164769697242392241, 1674694178196441599627207, 434453335415659344048321288040053, 2772047111897899211702422870954450438220795, 919691726760748842849028933552012720445531166591469510
Offset: 0

Views

Author

Alois P. Heinz, May 22 2015

Keywords

Comments

A Dyck path of semilength n is a (x,y)-lattice path from (0,0) to (2n,0) that does not go below the x-axis and consists of steps U=(1,1) and D=(1,-1). A peak of a Dyck path is any lattice point visited between two consecutive steps UD.

Crossrefs

Programs

  • Maple
    b:= proc(x, y, t) option remember; `if`(y>x or y<0, 0,
          `if`(x=0, 1, b(x-1, y-1, false)*`if`(t, y^x, 1) +
                       b(x-1, y+1, true)  ))
        end:
    a:= n-> b(2*n, 0, false):
    seq(a(n), n=0..15);
  • Mathematica
    b[x_, y_, t_] := b[x, y, t] = If[y > x || y < 0, 0, If[x == 0, 1, b[x - 1, y - 1, False]*If[t, y^x, 1] + b[x - 1, y + 1, True]]];
    a[n_] :=  b[2*n, 0, False];
    Table[a[n], {n, 0, 15}] (* Jean-François Alcover, Apr 23 2016, translated from Maple *)

A258178 Sum over all Dyck paths of semilength n of products over all peaks p of x_p^2, where x_p is the x-coordinate of peak p.

Original entry on oeis.org

1, 1, 13, 414, 24324, 2279209, 311524201, 58467947511, 14424374692879, 4525566110365523, 1759527523008436279, 830255082140922306224, 467382831980334193769718, 309419146352957449765072455, 237980526477430552734199922151, 210427994109788912088395561755374
Offset: 0

Views

Author

Alois P. Heinz, May 22 2015

Keywords

Comments

A Dyck path of semilength n is a (x,y)-lattice path from (0,0) to (2n,0) that does not go below the x-axis and consists of steps U=(1,1) and D=(1,-1). A peak of a Dyck path is any lattice point visited between two consecutive steps UD.

Crossrefs

Programs

  • Maple
    b:= proc(x, y, t) option remember; `if`(y>x or y<0, 0,
          `if`(x=0, 1, b(x-1, y-1, false)*`if`(t, x^2, 1) +
                       b(x-1, y+1, true)  ))
        end:
    a:= n-> b(2*n, 0, false):
    seq(a(n), n=0..20);
  • Mathematica
    b[x_, y_, t_] := b[x, y, t] = If[y > x || y < 0, 0, If[x == 0, 1, b[x - 1, y - 1, False]*If[t, x^2, 1] + b[x - 1, y + 1, True] ]];
    a[n_] :=  b[2*n, 0, False];
    Table[a[n], {n, 0, 20}] (* Jean-François Alcover, Apr 23 2016, translated from Maple *)
Showing 1-10 of 20 results. Next