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.

User: Bahman Ahmadi

Bahman Ahmadi's wiki page.

Bahman Ahmadi has authored 6 sequences.

A324803 T(n,k) is the number of non-equivalent distinguishing partitions of the cycle on n vertices with at most k part. Square array read by descending antidiagonals, n >= 1, k >= 1.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 1, 0, 0, 0, 0, 0, 0, 6, 13, 2, 0, 0, 0, 0, 0, 0, 6, 30, 45, 7, 0, 0, 0, 0, 0, 0, 6, 34, 127, 144, 12, 0, 0, 0, 0, 0, 0, 6, 34, 176, 532, 416, 31, 0, 0, 0, 0, 0, 0, 6, 34, 185, 871, 1988, 1221, 57, 0, 0, 0, 0, 0, 0, 6, 34, 185, 996, 3982
Offset: 1

Author

Bahman Ahmadi, Sep 04 2019

Keywords

Comments

The cycle graph is defined for n >= 3; extended to n=1,2 using the closed form.
Two partitions P1 and P2 of a the vertex set of a graph G are said to be equivalent if there is a nontrivial automorphism of G which maps P1 onto P2. A distinguishing partition is a partition of the vertex set of G such that no nontrivial automorphism of G can preserve it. Here T(n,k)=Xi_k(C_n), the number of non-equivalent distinguishing partitions of the cycle on n vertices, with at most k parts.

Examples

			Table begins:
=================================================================
  n/k | 1   2    3     4     5     6     7     8     9    10
------+----------------------------------------------------------
    1 | 0,  0,   0,    0,    0,    0,    0,    0,    0,    0, ...
    2 | 0,  0,   0,    0,    0,    0,    0,    0,    0,    0, ...
    3 | 0,  0,   0,    0,    0,    0,    0,    0,    0,    0, ...
    4 | 0,  0,   0,    0,    0,    0,    0,    0,    0,    0, ...
    5 | 0,  0,   0,    0,    0,    0,    0,    0,    0,    0, ...
    6 | 0,  0,   4,    6,    6,    6,    6,    6,    6,    6, ...
    7 | 0,  1,  13,   30,   34,   34,   34,   34,   34,   34, ...
    8 | 0,  2,  45,  127,  176,  185,  185,  185,  185,  185, ...
    9 | 0,  7, 144,  532,  871,  996, 1011, 1011, 1011, 1011, ...
   10 | 0, 12, 416, 1988, 3982, 5026, 5280, 5304, 5304, 5304, ...
  ...
For n=7, we can partition the vertices of the cycle C_7 with at most 3 parts, in 13 ways, such that all these partitions are distinguishing for C_7 and that all the 13 partitions are non-equivalent. The partitions are as follows:
    { { 1 }, { 2, 3 }, { 4, 5, 6, 7 } },
    { { 1 }, { 2, 3, 4, 6 }, { 5, 7 } },
    { { 1 }, { 2, 3, 4, 7 }, { 5, 6 } },
    { { 1 }, { 2, 3, 5, 6 }, { 4, 7 } },
    { { 1 }, { 2, 3, 5, 7 }, { 4, 6 } },
    { { 1 }, { 2, 3, 6 }, { 4, 5, 7 } },
    { { 1 }, { 2, 3, 7 }, { 4, 5, 6 } },
    { { 1 }, { 2, 4, 5, 6 }, { 3, 7 } },
    { { 1 }, { 2, 4, 7 }, { 3, 5, 6 } },
    { { 1, 2 }, { 3, 4, 6 }, { 5, 7 } },
    { { 1, 2 }, { 3, 5, 6 }, { 4, 7 } },
    { { 1, 2, 4 }, { 3, 6 }, { 5, 7 } },
    { { 1, 2, 3, 5 }, { 4, 6, 7 } }.
		

Crossrefs

Formula

T(n,k) = Sum_{i<=k} A324802(n,i).

A324802 T(n,k) is the number of non-equivalent distinguishing partitions of the cycle on n vertices with exactly k parts. Regular triangle read by rows, n >= 1, 1 <= k <= n.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 2, 0, 0, 0, 1, 12, 17, 4, 0, 0, 0, 2, 43, 82, 49, 9, 0, 0, 0, 7, 137, 388, 339, 125, 15, 0, 0, 0, 12, 404, 1572, 1994, 1044, 254, 24, 0, 0, 0, 31, 1190, 6405, 10900, 7928, 2761, 490, 35, 0, 0, 0, 57, 3394, 24853, 56586, 54272, 25609, 6365, 850, 51, 0, 0
Offset: 1

Author

Bahman Ahmadi, Sep 04 2019

Keywords

Comments

The cycle graph is defined for n>=3; extended to n=1,2 using the closed form.
Two partitions P1 and P2 of a the vertex set of a graph G are said to be equivalent if there is a nontrivial automorphism of G which maps P1 onto P2. A distinguishing partition is a partition of the vertex set of G such that no nontrivial automorphism of G can preserve it. Here T(n,k)=xi_k(C_n), the number of non-equivalent distinguishing partitions of the cycle on n vertices, with exactly k parts.
Number of n-bead bracelet structures using exactly k different colored beads that are not self-equivalent under either a nonzero rotation or reversal (turning over bracelet). Comparable sequences for unoriented (reversible) strings and necklaces (cyclic group) are A320525 and A327693. - Andrew Howroyd, Sep 23 2019

Examples

			Triangle begins:
  0;
  0,  0;
  0,  0,   0;
  0,  0,   0,    0;
  0,  0,   0,    0,    0;
  0,  0,   4,    2,    0,    0;
  0,  1,  12,   17,    4,    0,   0;
  0,  2,  43,   82,   49,    9,   0,  0;
  0,  7, 137,  388,  339,  125,  15,  0, 0;
  0, 12, 404, 1572, 1994, 1044, 254, 24, 0, 0;
  ...
For n=7, we can partition the vertices of the cycle C_7 with exactly 3 parts, in 12 ways, such that all these partitions are distinguishing for C_7 and that all the 12 partitions are non-equivalent. The partitions are as follows:
    { { 1 }, { 2, 3 }, { 4, 5, 6, 7 } },
    { { 1 }, { 2, 3, 4, 6 }, { 5, 7 } },
    { { 1 }, { 2, 3, 4, 7 }, { 5, 6 } },
    { { 1 }, { 2, 3, 5, 6 }, { 4, 7 } },
    { { 1 }, { 2, 3, 5, 7 }, { 4, 6 } },
    { { 1 }, { 2, 3, 6 }, { 4, 5, 7 } },
    { { 1 }, { 2, 3, 7 }, { 4, 5, 6 } },
    { { 1 }, { 2, 4, 5, 6 }, { 3, 7 } },
    { { 1 }, { 2, 4, 7 }, { 3, 5, 6 } },
    { { 1, 2 }, { 3, 4, 6 }, { 5, 7 } },
    { { 1, 2 }, { 3, 5, 6 }, { 4, 7 } },
    { { 1, 2, 4 }, { 3, 6 }, { 5, 7 } }.
From _Andrew Howroyd_, Sep 23 2019: (Start)
For n=6, k=4 the partitions are:
    { { 1, 2, 4 }, { 3 }, { 5 }, { 6 } },
    { { 1, 2 }, { 3, 5 }, { 4 }, { 6 } }.
These correspond to the bracelet structures AABACD and AABCBD.
(End)
		

Crossrefs

Column k=2 is A327734.
Row sums are A327740.

Formula

T(n,k) = A324803(n,k) - A324803(n,k-1).

Extensions

a(56)-a(78) from Andrew Howroyd, Sep 23 2019

A309528 The number of non-equivalent distinguishing colorings of the cycle on n vertices with at most k colors (k>=1). The cycle graph is defined for n>=3; extended to n=1,2 using the closed form. Square array read by descending antidiagonals: the rows are indexed by n, the number of vertices of the cycle and the columns are indexed by k, the number of permissible colors.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 4, 3, 0, 0, 0, 0, 10, 15, 12, 1, 0, 0, 0, 20, 45, 72, 37, 2, 0, 0, 0, 35, 105, 252, 266, 117, 6, 0, 0, 0, 56, 210, 672, 1120, 1044, 333, 14, 0, 0, 0, 84, 378, 1512, 3515, 5270, 3788, 975, 30, 0, 0, 0, 120, 630, 3024, 9121, 19350, 23475, 14056, 2712, 62, 0
Offset: 1

Author

Bahman Ahmadi, Aug 06 2019

Keywords

Comments

A vertex-coloring of a graph G is called distinguishing if it is only preserved by the identity automorphism of G. This notion is considered in the subject of symmetry breaking of simple (finite or infinite) graphs. Two vertex-colorings of a graph are called equivalent if there is an automorphism of the graph which preserves the colors of the vertices. Given a graph G, we use the notation Phi_k(G) to denote the number of non-equivalent distinguishing colorings of G with at most k colors. The sequence here, displays A(n,k)=Phi_k(C_n), i.e., the number of non-equivalent distinguishing colorings of the cycle C_n on n vertices with at most k colors.

Examples

			The table begins:
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
0, 0, 1, 4, 10, 20, 35, 56, 84, 120, ...
0, 0, 3, 15, 45, 105, 210, 378, 630, 990, ...
0, 0, 12, 72, 252, 672, 1512, 3024, 5544, 9504, ...
0, 1, 37, 266, 1120, 3515, 9121, 20692, 42456, 80565, ...
0, 2, 117, 1044, 5270, 19350, 57627, 147752, 338364, 709290, ...
0, 6, 333, 3788, 23475, 102690, 355446, 1039248, 2673810, 6222150, ...
0, 14, 975, 14056, 106950, 555990, 2233469, 7440160, 21493836, 55505550, ...
0, 30, 2712, 51132, 483504, 3009426, 14089488, 53611992, 174189024, 499720518, ...
------
For n=4, we can color the vertices of the cycle C_4 with at most 3 colors, in 3 ways, such that all the colorings distinguish the graph (i.e., no non-identity automorphism of C_4 preserves the coloring) and that all the three colorings are non-equivalent. The color classes are as follows:
{ { 1 }, { 2 }, { 3, 4 } }
{ { 1 }, { 2, 3 }, { 4 } }
{ { 1, 2 }, { 3 }, { 4 } }
		

Crossrefs

Columns k=2..5 for n >= 3 are A032239, A032240, A032241, A032242.
Different from A293496.

Programs

  • PARI
    A(n,k)={sumdiv(n, d, moebius(n/d)*(k^d/n - if(d%2, k^((d+1)/2), (k+1)*k^(d/2)/2)))/2} \\ Andrew Howroyd, Aug 11 2019

Formula

A(n,k) = (A074650(n,k) - A284856(n,k))/2. - Andrew Howroyd, Aug 11 2019

A309785 The number of non-equivalent distinguishing coloring partitions of the cycle on n vertices with at most k parts (k>=1). The cycle graph is defined for n>=3; extended to n=1,2 using the closed form. Square array read by descending antidiagonals: the rows are indexed by n, the number of vertices of the cycle, and the columns are indexed by k, the number of parts.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 2, 4, 1, 0, 0, 0, 1, 2, 6, 9, 1, 0, 0, 0, 1, 2, 7, 19, 26, 4, 0, 0, 0, 1, 2, 7, 22, 58, 66, 7, 0, 0, 0, 1, 2, 7, 23, 74, 195, 183, 18, 0, 0, 0, 1, 2, 7, 23, 77, 279, 651, 488, 31, 0
Offset: 1

Author

Bahman Ahmadi, Aug 17 2019

Keywords

Comments

A vertex-coloring of a graph G is called distinguishing if it is only preserved by the identity automorphism of G. This notion is considered in the subject of symmetry breaking of simple (finite or infinite) graphs. A distinguishing coloring partition of a graph G is a partition of the vertices of G such that it induces a distinguishing coloring for G. We say two distinguishing coloring partitions P1 and P2 of G are equivalent if there is a nontrivial automorphism of G which maps P1 onto P2. Given a graph G, we use the notation Psi_k(G) to denote the number of non-equivalent distinguishing coloring partitions of G with at most k parts. This sequence gives T(n,k) = Psi_k(C_n), i.e., the number of non-equivalent distinguishing coloring partitions of the cycle C_n on n vertices with at most k parts.
Note that, for any graph G, Psi_k(G) = Sum_{i<=k} psi_i(G), where psi_i(G) is the number of non-equivalent distinguishing coloring partitions of G with exactly i parts. For instance, here we have T(n,k) = Sum_{i<=k} A309784(n,i).

Examples

			Table begins:
  =============================================================
  n\k| 1   2    3     4     5     6     7     8     9    10
  ---+---------------------------------------------------------
   1 | 0,  0,   0,    0,    0,    0,    0,    0,    0,    0 ...
   2 | 0,  0,   0,    0,    0,    0,    0,    0,    0,    0 ...
   3 | 0,  0,   1,    1,    1,    1,    1,    1,    1,    1 ...
   4 | 0,  0,   1,    2,    2,    2,    2,    2,    2,    2 ...
   5 | 0,  0,   4,    6,    7,    7,    7,    7,    7,    7 ...
   6 | 0,  1,   9,   19,   22,   23,   23,   23,   23,   23 ...
   7 | 0,  1,  26,   58,   74,   77,   78,   78,   78,   78 ...
   8 | 0,  4,  66,  195,  279,  306,  310,  311,  311,  311 ...
   9 | 0,  7, 183,  651, 1084, 1255, 1292, 1296, 1297, 1297 ...
  10 | 0, 18, 488, 2294, 4554, 5802, 6140, 6194, 6199, 6200 ...
...
-------
For n=6, we can partition the vertices of C_6 into at most 4 parts in 10 ways such that all these partitions induce distinguishing colorings for C_6 and that all the 10 partitions are non-equivalent.
    { { 1 }, { 2 }, { 3 }, { 4, 5, 6 } }
    { { 1 }, { 2 }, { 3, 4 }, { 5, 6 } }
    { { 1 }, { 2 }, { 3, 4, 6 }, { 5 } }
    { { 1 }, { 2 }, { 3, 5 }, { 4, 6 } }
    { { 1 }, { 2 }, { 3, 6 }, { 4, 5 } }
    { { 1 }, { 2, 3 }, { 4 }, { 5, 6 } }
    { { 1 }, { 2, 3 }, { 4, 6 }, { 5 } }
    { { 1 }, { 2, 4 }, { 3, 6 }, { 5 } }
    { { 1 }, { 2, 4, 6 }, { 3 }, { 5 } }
    { { 1 }, { 2, 5 }, { 3, 6 }, { 4 } }
		

Crossrefs

Formula

T(n,k) = Sum_{i=1..k} A309784(n,i).

A309651 T(n,k) is the number of non-equivalent distinguishing colorings of the cycle on n vertices with exactly k colors (k>=1). Regular triangle read by rows, n >= 1, 1 <= k <= n.

Original entry on oeis.org

0, 0, 0, 0, 0, 1, 0, 0, 3, 3, 0, 0, 12, 24, 12, 0, 1, 34, 124, 150, 60, 0, 2, 111, 588, 1200, 1080, 360, 0, 6, 315, 2484, 7845, 11970, 8820, 2520, 0, 14, 933, 10240, 46280, 105840, 129360, 80640, 20160, 0, 30, 2622, 40464, 254664, 821592, 1481760, 1512000, 816480, 181440
Offset: 1

Author

Bahman Ahmadi, Aug 11 2019

Keywords

Comments

The cycle graph is defined for n>=3; extended to n=1,2 using the closed form.
A vertex-coloring of a graph G is called distinguishing if it is only preserved by the identity automorphism of G. This notion is considered in the subject of symmetry breaking of simple (finite or infinite) graphs. Two vertex-colorings of a graph are called equivalent if there is an automorphism of the graph which preserves the colors of the vertices. Given a graph G, we use the notation phi_k(G) to denote the number of non-equivalent distinguishing colorings of G with exactly k colors. The sequence here, displays T(n,k)=phi_k(C_n), i.e., the number of non-equivalent distinguishing colorings of the cycle C_n on n vertices with exactly k colors.
From Andrew Howroyd, Aug 15 2019: (Start)
First differs from A305541 at n = 6.
Also the number of n-bead asymmetric bracelets with exactly k different colored beads. More precisely the number of chiral pairs of primitive (aperiodic) color loops of length n with exactly k different colors. For example, for n=4 and k = 3, there are 3 achiral loops (1213, 1232, 1323) and 3 pairs of chiral loops (1123/1132, 1223/1322, 1233/1332).
(End)

Examples

			The triangle begins:
  0
  0,  0;
  0,  0,    1;
  0,  0,    3,     3;
  0,  0,   12,    24,     12;
  0,  1,   34,   124,    150,     60;
  0,  2,  111,   588,   1200,   1080,     360;
  0,  6,  315,  2484,   7845,  11970,    8820,    2520;
  0, 14,  933, 10240,  46280, 105840,  129360,   80640,  20160;
  0, 30, 2622, 40464, 254664, 821592, 1481760, 1512000, 816480, 181440;
  ...
For n=4, we can color the vertices of the cycle C_4 with exactly 3 colors, in 3 ways, such that all the colorings distinguish the graph (i.e., no non-identity automorphism of C_4 preserves the coloring) and that all the three colorings are non-equivalent. The color classes are as follows:
{ { 1 }, { 2 }, { 3, 4 } }
{ { 1 }, { 2, 3 }, { 4 } }
{ { 1, 2 }, { 3 }, { 4 } }
		

Crossrefs

Columns k=2..4 are A032239(n>=3), A326660, A326789.
Row sums are A326888.

Programs

  • PARI
    \\ U(n,k) is A309528
    U(n,k)={sumdiv(n, d, moebius(n/d)*(k^d/n - if(d%2, k^((d+1)/2), (k+1)*k^(d/2)/2)))/2}
    T(n,k)={sum(i=2, k, (-1)^(k-i)*binomial(k,i)*U(n,i))} \\ Andrew Howroyd, Aug 12 2019

Formula

Let n>2. For any k >= floor(n/2) we have phi_k(C_n)=k! * Stirling2(n,k)/2n.
T(n, k) = Sum_{i=2..k} (-1)^(k-i)*binomial(k,i)*A309528(n, i). - Andrew Howroyd, Aug 12 2019
Column k is the Moebius transform of column k of A305541. - Andrew Howroyd, Sep 13 2019

A309008 The same array as in A293500, but without the leading row and column of zeros. See that entry for more information.

Original entry on oeis.org

1, 2, 3, 6, 9, 6, 12, 36, 24, 10, 28, 108, 120, 50, 15, 56, 351, 480, 300, 90, 21, 120, 1053, 2016, 1500, 630, 147, 28, 240, 3240, 8064, 7750, 3780, 1176, 224, 36, 496, 9720, 32640, 38750, 23220, 8232, 2016, 324, 45
Offset: 2

Author

Bahman Ahmadi, Aug 05 2019

Keywords

Examples

			The table begins:
   1,    3,    6,    10,     15,     21,      28,      36,      45, ...
   2,    9,   24,    50,     90,    147,     224,     324,     450, ...
   6,   36,  120,   300,    630,   1176,    2016,    3240,    4950, ...
  12,  108,  480,  1500,   3780,   8232,   16128,   29160,   49500, ...
  28,  351, 2016,  7750,  23220,  58653,  130816,  265356,  499500, ...
  56, 1053, 8064, 38750, 139320, 410571, 1046528, 2388204, 4995000, ...
  ...
		

Crossrefs

Cf. A293500.