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-4 of 4 results.

A003430 Number of unlabeled series-parallel posets (i.e., generated by unions and sums) with n nodes.

Original entry on oeis.org

1, 1, 2, 5, 15, 48, 167, 602, 2256, 8660, 33958, 135292, 546422, 2231462, 9199869, 38237213, 160047496, 674034147, 2854137769, 12144094756, 51895919734, 222634125803, 958474338539, 4139623680861, 17931324678301, 77880642231286, 339093495674090, 1479789701661116
Offset: 0

Views

Author

Keywords

Comments

Number of oriented series-parallel networks with n elements. A series configuration is a unit element or an ordered concatenation of two or more parallel configurations and a parallel configuration is a unit element or a multiset of two or more series configurations. a(n) is the number of series or parallel configurations with n elements. The sequences A007453 and A007454 enumerate respectively series and parallel configurations. - Andrew Howroyd, Dec 01 2020

Examples

			From _Andrew Howroyd_, Nov 26 2020: (Start)
In the following examples of series-parallel networks, elements in series are juxtaposed and elements in parallel are separated by '|'. The unit element is denoted by 'o'.
a(1) = 1: (o).
a(2) = 2: (oo), (o|o).
a(3) = 5: (ooo), (o(o|o)), ((o|o)o), (o|o|o), (o|oo).
a(4) = 15: (oooo), (oo(o|o)), (o(o|o)o), ((o|o)oo), ((o|o)(o|o)), (o(o|oo)), (o(o|o|o)), ((o|oo)o), ((o|o|o)o), (o|o|o|o), (o|o|oo), (oo|oo), (o|ooo), (o|o(o|o)), (o|(o|o)o).
(End)
		

References

  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
  • R. P. Stanley, Enumerative Combinatorics, Cambridge, Vol. 2, 1999; see Problem 5.39 (which deals with the labeled case of the same sequence).

Crossrefs

Row sums of A339231.
Column k=1 of A339228.
Cf. A000084, A003431, A048172 (labeled N-free posets), A007453, A007454, A339156, A339159, A339225.

Programs

  • Mathematica
    terms = 25; A[] = 1; Do[A[x] = Exp[Sum[(1/k)*(A[x^k] + 1/A[x^k] - 2 + x^k), {k, 1, terms + 1}]] + O[x]^(terms + 1) // Normal, terms + 1];
    CoefficientList[A[x], x] // Rest (* Jean-François Alcover, Jun 29 2011, updated Jan 12 2018 *)
  • PARI
    EulerT(v)={Vec(exp(x*Ser(dirmul(v,vector(#v,n,1/n))))-1, -#v)}
    seq(n)={my(p=x+O(x^2)); for(n=2, n, p=x*Ser(EulerT(Vec(p^2/(1+p)+x, 1-n)))); Vec(p)} \\ Andrew Howroyd, Nov 27 2020

Formula

G.f. A(x) = 1 + x + 2*x^2 + 5*x^3 + ... satisfies A(x) = exp(Sum_{k>=1} (1/k)*(A(x^k) + 1/A(x^k) - 2 + x^k)).
From: Andrew Howroyd, Nov 26 2020: (Start)
a(n) = A007453(n) + A007454(n) for n > 1.
Euler transform of A007453.
G.f.: P(x)/(1 - P(x)) where P(x) is the g.f. of A007454.
(End)

Extensions

Name corrected by Salah Uddin Mohammad, Jun 07 2020
a(0)=1 prepended (using the g.f.) by Alois P. Heinz, Dec 01 2020

A007453 Number of unlabeled connected series-parallel posets with n nodes.

Original entry on oeis.org

1, 1, 3, 9, 30, 103, 375, 1400, 5380, 21073, 83950, 338878, 1383576, 5702485, 23696081, 99163323, 417553252, 1767827220, 7520966100, 32135955585, 137849390424, 593407692685, 2562695780058, 11099806544050, 48206136562750, 209876865026303, 915840095739301
Offset: 1

Views

Author

Keywords

References

  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Programs

  • Mathematica
    terms = 25; A[_] = 1;
    Do[A[x_] = Exp[Sum[(1/k)*(A[x^k] + 1/A[x^k] - 2 + x^k), {k, 1, terms+1}]] + O[x]^(terms+1) // Normal, terms+1];
    A003430 = CoefficientList[A[x], x] // Rest;
    mob[m_, n_] := If[Mod[m, n] == 0, MoebiusMu[m/n], 0];
    EULERi[b_] := Module[{a, c, i, d}, c = {}; For[i = 1, i <= Length[b], i++, c = Append[c, i*b[[i]] - Sum[c[[d]]*b[[i - d]], {d, 1, i-1}]]]; a = {}; For[i = 1, i <= Length[b], i++, a = Append[a, (1/i)*Sum[mob[i, d]*c[[d]], {d, 1, i}]]]; Return[a]];
    EULERi[A003430] (* Jean-François Alcover, Jan 23 2020 *)

Formula

See the 1989 and 1997 papers by Cameron cited above for generating functions, and the 1997 paper for asymptotics.
Inverse Euler transform of A003430. - Sean A. Irvine, Jan 04 2018
a(n) = A003430(n) - A007454(n) for n > 1. - Sean A. Irvine, Jan 04 2018

Extensions

Name corrected by Salah Uddin Mohammad, Jun 07 2020

A339158 Number of essentially parallel achiral series-parallel networks with n elements.

Original entry on oeis.org

1, 1, 2, 4, 8, 18, 37, 84, 180, 413, 902, 2084, 4628, 10726, 24128, 56085, 127421, 296955, 680092, 1588665, 3662439, 8574262, 19875081, 46628789, 108584460, 255264307, 596774173, 1405626896, 3297314994, 7780687159, 18305763571, 43271547808, 102069399803
Offset: 1

Views

Author

Andrew Howroyd, Nov 27 2020

Keywords

Comments

A series configuration is the unit element or an ordered concatenation of two or more parallel configurations and a parallel configuration is the unit element or a multiset of two or more series configurations. a(n) is the number of parallel configurations with n unit elements that are invariant under the reversal of all contained series configurations.

Examples

			In the following examples of series-parallel networks, elements in series are juxtaposed and elements in parallel are separated by '|'. The unit element is denoted by 'o'.
a(1) = 1: (o).
a(2) = 1: (o|o).
a(3) = 2: (o|oo).
a(4) = 4: (o|ooo), (oo|oo), (o|o|oo), (o|o|o|o).
a(5) = 8: (o|oooo), (o|(o|o)(o|o)), (o|o(o|o)o), (oo|ooo), (o|o|ooo), (o|oo|oo), (o|o|o|oo), (o|o|o|o|o).
a(6) = 16 includes (o(o|o)|(o|o)o) which is the first example of a network that is achiral but does not have reflective symmetry when embedded in the plane as shown below (edges correspond to elements):
               A
             /   \\
            o      o   --- No reflective symmetry ---
             \\  /
               Z
		

Crossrefs

Cf. A003430, A007454 (oriented), A339157, A339159, A339224 (unoriented).

Programs

  • PARI
    \\ here B(n) gives A003430 as a power series.
    EulerT(v)={Vec(exp(x*Ser(dirmul(v,vector(#v,n,1/n))))-1, -#v)}
    B(n)={my(p=x+O(x^2)); for(n=2, n, p=x*Ser(EulerT(Vec(p^2/(1+p)+x)))); p}
    seq(n)={my(q=subst(B((n+1)\2), x, x^2), s=x^2+q^2/(1+q), p=x+O(x^2)); for(n=1, n\2, my(t=x + q*(1 + p)); p=x + x*Ser(EulerT(Vec(t+(s-subst(t,x,x^2))/2))) - t); Vec(p+O(x*x^n))}

Formula

G.f.: x - S(x) - 1 + exp(Sum_{k>=1} (S(x^k) + (R(x^(2*k)) - S(x^(2*k)))/2)/k) where S(x) is the g.f. of A339157 and R(x) is the g.f. of A007453.

A339224 Number of essentially parallel unoriented series-parallel networks with n elements.

Original entry on oeis.org

1, 1, 2, 5, 13, 41, 132, 470, 1730, 6649, 26122, 104814, 426257, 1754055, 7282630, 30470129, 128304158, 543303752, 2311904374, 9880776407, 42394198909, 182537610058, 788473887942, 3415782381520, 14837307126498, 64608442956047, 281975101347994, 1233237605651194
Offset: 1

Views

Author

Andrew Howroyd, Nov 27 2020

Keywords

Comments

See A339225 for additional details.

Examples

			In the following examples of series-parallel networks, elements in series are juxtaposed and elements in parallel are separated by '|'. The unit element is denoted by 'o'.
a(1) = 1: (o).
a(2) = 1: (oo), (o|o).
a(3) = 2: (o|o|o), (o|oo).
a(4) = 5: (o|o|o|o), (o|o|oo), (oo|oo), (o|ooo), (o|o(o|o)).
		

Crossrefs

Cf. A003430, A007454 (oriented), A339158 (achiral), A339223, A339225.

Programs

  • PARI
    \\ here B(n) gives A003430 as a power series.
    EulerT(v)={Vec(exp(x*Ser(dirmul(v,vector(#v,n,1/n))))-1, -#v)}
    B(n)={my(p=x+O(x^2)); for(n=2, n, p=x*Ser(EulerT(Vec(p^2/(1+p)+x)))); p}
    seq(n)={my(q=subst(B((n+1)\2), x, x^2), s=x^2+q^2/(1+q), p=x+O(x^2)); for(n=1, n\2, my(t=x + q*(1 + p)); p=x + x*Ser(EulerT(Vec(t+(s-subst(t, x, x^2))/2))) - t); Vec(p+subst(x/(1+x), x, B(n)))/2}

Formula

a(n) = (A007454(n) + A339158(n))/2.
Showing 1-4 of 4 results.