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 24 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

A005412 Number of non-vanishing Feynman diagrams of order 2n for the vacuum polarization (the proper two-point function of the photon) and for the self-energy (the proper two-point function of the electron) in quantum electrodynamics (QED).

Original entry on oeis.org

1, 3, 18, 153, 1638, 20898, 307908, 5134293, 95518278, 1961333838, 44069970348, 1075902476058, 28367410077468, 803551902237828, 24342558819042888, 785445178323709773, 26896354975287884358, 974297972094661642518, 37225733779871789177628, 1496237868417003741147438
Offset: 1

Views

Author

Keywords

Comments

There was a typo in the value of a(10) = 1967333838 previously given in the database (taken from the self-energies column of Table 1 in P. Cvitanovic et al.). The corrected value is given above. - Peter Bala, Mar 07 2011
From Robert Coquereaux, Sep 12 2014: (Start)
Proper diagrams also called one-particle-irreducible diagrams (1PI) are connected diagrams that remain connected when an arbitrary internal line is cut (see the Comments in A005413 for other terminological details).
The number of non-vanishing Feynman diagrams for these two functions (see Name field) is the same. It is given by the coefficients of Sigma(g) = g^2 + 3*g^4 + 18*g^6 + 153*g^8 + ... where the exponent p of g^p refers to the number of (internal) vertices. Setting x=g^2, the sequence a(n) gives the coefficient of x^n.
If one relaxes the "proper" condition, the number of non-vanishing Feynman diagrams for the corresponding (complete) two-point functions, also called propagators, is given by 1,1,4,25,208,..., i.e., by the sequence A005411 with offset 0 and A005411(0)=1. The relation between the two is given by Sigma(g) = 1 - 1/S(g) where S(g) is defined by A005411 as S(g) = 1 + g^2 + 4*g^4 + 25*g^6 + ...
(End)
For n > 0 sum over all Dyck paths of semilength n-1 of products over all peaks p of (x_p+2*y_p)/y_p, where x_p and y_p are the coordinates of peak p. - Alois P. Heinz, May 22 2015

Examples

			x + 3*x^2 + 18*x^3 + 153*x^4 + 1638*x^5 + 20898*x^6 + 307908*x^7 + ...
		

References

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

Crossrefs

Cf. A005411.
Column k=2 of A258219.

Programs

  • Haskell
    a005412 n = a005412_list !! (n-1)
    a005412_list = 1 : f 2 [1] where
       f v ws@(w:_) = y : f (v + 2) (y : ws) where
                      y = v * w + (sum $ zipWith (*) ws $ reverse ws)
    -- Reinhard Zumkeller, Jan 24 2014
  • 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*y)/y, 1) +
                       b(x-1, y+1, true)  ))
        end:
    a:= n-> b(2*n-2, 0, false):
    seq(a(n), n=1..25);  # Alois P. Heinz, May 23 2015
  • Mathematica
    a[n_]:=SeriesCoefficient[1 - (2*x)/(1 - BesselK[1, -(1/(4*x))]/BesselK[0, -(1/(4*x))]),{x,0,n}] (* Robert Coquereaux, Sep 12 2014 *)
    Clear[a]; a[1] = 1; a[n_]:= a[n] = (2*n-2)*a[n-1] + Sum[a[k]*a[n-k], {k, 1, n-1}]; Table[a[n], {n, 1, 20}] (* Vaclav Kotesovec, Jan 19 2015 *)
  • PARI
    {a(n) = local(A); if( n<1, 0, A = vector(n); A[1] = 1; for( k=2, n, A[k] = (2*k - 2) * A[k-1] + sum( j=1, k-1, A[j] * A[k-j])); A[n])} /* Michael Somos, Jul 23 2011 */
    

Formula

See recurrence in Martin-Kearney paper.
From Peter Bala, Mar 07 2011: (Start)
The o.g.f. A(x) = x^2 + 3*x^4 + 18*x^6 + 153*x^8 + ... satisfies the differential equation A(x) = x^2 + x^3*A'(x) + A(x)^2 (equation 3.55, P. Cvitanovic et al., A'(x) the derivative of A(x)).
Conjectural o.g.f. as a continued fraction:
x^2/(1-3*x^2/(1-3*x^2/(1-5*x^2/(1-5*x^2/(1-7*x^2/(1-7*x^2/(1-...))))))).
[follows by applying the result of Stokes to the g.f. G(x) := (1/x)*A(sqrt(x)), which satisfies the Riccati differential equation 2*x^2*G'(x) + 1 + (2*x - 1)*G(x) + x*G^2(x) = 0 - added by Peter Bala, Jun 22 2022]. (End).
a(n) = (2*n - 2) * a(n-1) + Sum_{k=1..n-1} a(k) * a(n-k) if n>1. - Michael Somos, Jul 23 2011
G.f.: 1/x - Q(0)/x, where Q(k) = 1 - x*(2*k+1)/(1 - x*(2*k+3)/Q(k+1)); (continued fraction). - Sergei N. Gladkovskii, May 20 2013
G.f.: 1/x - 2 - Q(0)/x, where Q(k) = 1 - x*(2*k+3)/(1 - x*(2*k+1)/Q(k+1)); (continued fraction). - Sergei N. Gladkovskii, May 21 2013
G.f.: 1/x + 1/( Q(0)-1 ), where Q(k) = 1 - (2*k+1)*x/(1 - (2*k+1)*x/Q(k+1) ); (continued fraction). - Sergei N. Gladkovskii, Sep 18 2013
G.f.: 1/x - Q(0)/x, where Q(k) = 1 + x*(2*k+2) - (2*k+3)*x/Q(k+1); (continued fraction). - Sergei N. Gladkovskii, Oct 09 2013
From the relation with A005411, one finds the g.f.: 1 - (2*x)/(1 - BesselK[1, -(1/(4*x))]/BesselK[0, -(1/(4*x))]). - Robert Coquereaux, Sep 12 2014
This satisfies the d.e. 2*x^2*g'(x) - g(x) + g(x)^2 = -x, which can be obtained from the d.e. for A(x) by A(sqrt(x)) = g(x). - Robert Israel, Sep 12 2014
a(n) ~ 2^(n+1) * n! / Pi. - Vaclav Kotesovec, Jan 19 2015

Extensions

Name corrected by Charles R Greathouse IV, Jan 24 2014
Name clarified by Robert Coquereaux, Sep 12 2014

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 24 results. Next