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.

Previous Showing 11-20 of 23 results. Next

A123234 Number of n X n Latin squares up to row and column permutation (or "RC-equivalence").

Original entry on oeis.org

1, 1, 1, 4, 16, 1868, 2420400, 66915816462
Offset: 1

Views

Author

Dan Eilers, Oct 06 2006

Keywords

Comments

Brendan McKay writes: (Start)
"It would be possible to find the counts for n=9 and n=10 using the method of my paper in JCD [see link below]. For n=10 it is probably a 24-digit number. I'll explain the method I used. See the paper above for terminology.
"Is(L) is the autotopism group. Also define the group RC(L) of all autotopisms for which the symbols component is the identity. For any Latin square L we have:
"The isotopy class containing L contains (n!)^3/|Is(L)| squares.
"The RC-equivalence class containing L contains (n!)^2/|RC(L)| squares.
"If L and L' are isotopic then |RC(L)| = |RC(L')|. Therefore the number of RC-equivalence classes in the isotopy class of L is n!*|RC(L)|/|Is(L)|. I modified an existing program slightly to find |RC(L)|/|Is(L)|. and applied it to one square from each isotopy class. The sum of n!*|RC(L)|/|Is(L)| is the total number of RC-equivalence classes. " (End)

Examples

			01234 => 20413 => 01234
13042 => 01234 => 14320
24310 => 32041 => 20413
30421 => 43102 => 32041
42103 => 14320 => 43102
The first square is transformed by permuting columns; the 2nd square is transformed by permuting rows.
Both the first and 3rd square are in reduced form, so are considered equivalent by row/col permutation.
		

References

  • Dan R. Eilers, Phil A. Sallee, The number of Latin squares up to row and column permutation, Poster Session, Harvey Mudd College Mathematics Conference on Enumerative Combinatorics (2006) (for terms 1 to 7)
  • Brendan D. McKay, private communication (2006) (for term 8)

Crossrefs

A035483 Number of 2n X 2n symmetric matrices whose first row is 1..2n and whose rows and columns are all permutations of 1..2n.

Original entry on oeis.org

1, 1, 4, 456, 10936320, 130025295912960, 2209617218725251404267520
Offset: 0

Views

Author

Joshua Zucker and Joe Keane

Keywords

Crossrefs

Formula

a(n) = A035481(2*n). - Max Alekseyev, Apr 23 2010

Extensions

a(5)-a(6) from Ian Wanless, Oct 20 2019

A072377 Number of pairs of orthogonal Latin squares of order n.

Original entry on oeis.org

1, 0, 36, 3456, 3110400, 0, 3131834388480000, 32162058365970677760000, 19083454070548282639185346560000
Offset: 1

Views

Author

Eric W. Weisstein, Jul 19 2002

Keywords

Comments

This sequence counts unordered pairs. The number of ordered pairs of MOLS is exactly double this sequence.

Crossrefs

Equals n!n!(n-1)!/2 times A266166 (except for the degenerate case n=1). Cf. A000315, A002860, A266167, A266168, A266169, A266170, A266171, A266172, A266173.

Extensions

More terms (and corrected the degenerate first term) from Ian Wanless, Dec 22 2015

A000528 Number of types of Latin squares of order n. Equivalently, number of nonisomorphic 1-factorizations of K_{n,n}.

Original entry on oeis.org

1, 1, 1, 2, 2, 17, 324, 842227, 57810418543, 104452188344901572, 6108088657705958932053657
Offset: 1

Views

Author

Keywords

Comments

Here "type" means an equivalence class of Latin squares under the operations of row permutation, column permutation, symbol permutation and transpose. In the 1-factorizations formulation, these operations are labeling of left side, labeling of right side, permuting the order in which the factors are listed and swapping the left and right sides, respectively. - Brendan McKay
There are 6108088657705958932053657 isomorphism classes of one-factorizations of K_{11,11}. - Petteri Kaski (petteri.kaski(AT)cs.helsinki.fi), Sep 18 2009

References

  • CRC Handbook of Combinatorial Designs, 1996, p. 660.
  • Denes and Keedwell, Latin Squares and Applications, Academic Press 1974.

Crossrefs

See A040082 for another version.

Extensions

More terms from Richard Bean, Feb 17 2004
a(11) from Petteri Kaski (petteri.kaski(AT)cs.helsinki.fi), Sep 18 2009

A057997 Number of labeled loops (quasigroups with an identity element).

Original entry on oeis.org

1, 2, 3, 16, 280, 56448, 118594560, 4282251214848, 3398378138678329344, 75807214831601328114892800
Offset: 1

Views

Author

Christian G. Bower, Nov 20 2000

Keywords

Crossrefs

a(n)=A000315(n)*n. Cf. A057771.

A211214 Number of reduced Latin n-dimensional hypercubes of order 4; labeled n-ary loops of order 4 with fixed identity.

Original entry on oeis.org

1, 1, 4, 64, 7132, 201538000, 432345572694417712, 3987683987354747642922773353963277968, 678469272874899582559986240285280710364867063489779510427038722229750276832
Offset: 0

Views

Author

Denis S. Krotov and Vladimir N. Potapov, Apr 06 2012

Keywords

Comments

The values are calculated recursively, based on the characterization by 2009. The number a(5) was found before (2001 and, independently, later works) by exhaustive computer-aided classification of the objects.

Crossrefs

Formula

a(n) = A211215(n)/(4*6^n).

A035482 Number of n X n symmetric matrices each of whose rows is a permutation of 1..n.

Original entry on oeis.org

1, 1, 2, 6, 96, 720, 328320, 31449600, 440952422400, 444733651353600, 471835793808949248000, 10070314878246926155776000, 1058410183156945383046388908032000, 614972203951464612786852376432607232000
Offset: 0

Views

Author

Joshua Zucker and Joe Keane

Keywords

Comments

The even and odd subsequences are A036980, A036981.

Examples

			a(3) = 6 because the first row is arbitrary (say, 213) and the rest is then determined. By symmetry the second row has to be 132 or 123 but in order for the third row/column to work it has to be 132.
		

Crossrefs

Formula

a(n) = A035481(n) * n!. [From Max Alekseyev, Apr 23 2010]

Extensions

a(10)-a(13) (using A035481) from Alois P. Heinz, May 05 2023

A238838 Number of 2n X 2n addition squares in which every digram (s,s;), s' != s, appears once horizontally and once vertically.

Original entry on oeis.org

2, 48, 5760, 5806080, 75246796800, 1780537083494400, 115939740156316876800, 19864514173849162481664000
Offset: 1

Views

Author

N. J. A. Sloane, Mar 15 2014

Keywords

Crossrefs

Formula

a(n) = (2*n)!*A141599(n)^2/phi(n).

A351413 a(n) is the maximum number of stable matchings in the Latin Stable Marriage Problem of order n.

Original entry on oeis.org

1, 2, 3, 10, 9, 48, 61
Offset: 1

Views

Author

Dan Eilers, Feb 10 2022

Keywords

Comments

In the Latin Stable Marriage Problem of order n, the sum of a man and woman's rankings of each other is n+1. This implies that the men's and women's ranking tables are Latin squares. As a subproblem of the Stable Marriage Problem, Latin instances provide lower bounds for the maximum number of stable matchings in the general problem, such as A005154 and A065982. For sizes 1 to 4, Latin instances provide exact bounds; they are conjectured to provide exact bounds for sizes a power of 2; they provide the best lower bounds known for sizes 6, 10, 12, and 24, of 48, 1000, 6472, and 126112960, respectively.
The next term, a(8), is conjectured to be 268, consistent with A005154. The minimum number of stable matchings for Latin instances of order n is n, and is realized for the cyclic group of order n. The average number of stable matchings is 7 for n=4 (cf. A351430 showing an average of about 1.5 for the general problem), and benefits from avoidance of mutual first choices and more generally the lack of overlap between the men's and women's preferred matchings. The Latin squares of A005154 and A065982 can be interpreted as multiplication tables of groups, n-th powers of the cyclic group C2 and n-th dihedral groups, respectively.
The sequence decreases from a(4)=10 to a(5)=9, in contrast to the corresponding sequence for the general problem, which Thurber showed to be strictly increasing. This has motivated the study of less restrictive subproblems, such as pseudo-Latin squares (A069124, A069156), Latin x Latin instances (A344664, A344665, A343697), instances where participants have different first choices (A343475, A343694, A343695), or instances with unspecified/tied/template rankings (A284458 with only first choices specified).
The sequence is empirically derived, originally based on reduced Latin squares (A000315). There are fewer instances to try using RC-equivalent Latin squares (A123234) instead of reduced Latin squares.

Examples

			Maximal instance of order 2 with 2 stable matchings:
  12
  21
Maximal instance of order 3 with 3 stable matchings:
  123
  231
  312
Maximal instance of order 4 with 10 stable matchings (group C2xC2):
  1234
  2143
  3412
  4321
Maximal instance of order 5 with 9 stable matchings:
  12345
  21453
  34512
  45231
  53124
Maximal instance of order 6 with 48 stable matchings (Dihedral group):
  123456
  214365
  365214
  456123
  541632
  632541
Maximal instance of order 7 with 61 stable matchings:
  1234567
  2316745
  3125476
  4657312
  5743621
  6471253
  7562134
		

References

  • C. Converse, Lower bounds for the maximum number of stable pairings for the general marriage problem based on the latin marriage problem, Ph. D. Thesis, Claremont Graduate School, Claremont, CA (1992) [Examples are from 69-70].

Crossrefs

Cf. A005154 (powers of 2), A065982 (multiples of 2), A069156 (not necessarily Latin), A000315 (reduced Latin squares), A123234 (RC-equivalent Latin squares).

A351580 a(n) is the number of multisets of size n-1 consisting of permutations of n elements.

Original entry on oeis.org

1, 2, 21, 2600, 9078630, 1634935320144, 22831938997720867560, 34390564970975286088924022400, 7457911916650283082000186530740981347120, 300682790088737748950725540713718365319268411170195200, 2830053444386286847574443631356044745870287426798365860653876609636480
Offset: 1

Views

Author

Dan Eilers, Feb 13 2022

Keywords

Comments

a(n) is the number of reduced men's ranking tables in the stable marriage problem of order n. In the SMP (as noted in A351409), relabeling men or women has no effect on the number of stable matchings. So the women can be relabeled to normalize the order of man #1's rankings (with woman #1 as his first choice and woman n as his last choice), and then the men except man #1 can be relabeled to normalize the lexicographic order of those men's rankings. Since man #1's rankings end up fixed in natural order, they do not contribute to the number of possibilities, leaving n! multichoose (n-1) ways to arrange the rankings of the other n-1 men.
The number of unreduced men's ranking tables is given by A036740. Relabeling just the women reduces this to A134366. Alternately, relabeling just the men reduces A036740 to A344690. Relabeling both men and women reduces the men's relabeling reduction, A344690, by a factor of (n!+n-1)/n to a(n).
It might be tempting to try to reduce A344690 by a factor of n!, but that doesn't work because not all of man #1's rankings are equally likely after relabeling all the men to give man #1 the lexicographically least rankings.
There is room for further relabeling reduction from a(n), given by A263921. The reduction from a(n) to A263921 is analogous to the reduction from reduced latin squares, A000315, to A123234.
Each of the a(n) reduced men's ranking tables can be combined with the A036740 possible unreduced women's ranking tables to form complete instances, but these instances have more possibilities than A351409. For example, a(3)*A036740(3)=21*216=4536 > A351409(3)=3888. However, fewer possibilities result from using A263921 in place of a(n), although the men's ranking tables of A263921 may not be as straightforward to generate. With A263921(3)=10, 10*216=2160 < 3888.

Examples

			Starting with the following men's ranking table of order 3, where row k represents man k's rankings, the 1 in the 2nd position of row 3 means that man #3 ranks woman #2 as his 1st choice.
  213
  321
  213
Step 1: reorder columns so row 1 is in natural order:
  123
  231
  123
Step 2: reorder rows 2 to n so rows are in lexical order:
  123
  123
  231
a(3)=21 because there are 1+2+3+4+5+6 = 21 possibilities for the last two rows in lexical order, with 3!=6 possible permutations for each row.
The 21 tables for a(3) are the following:
  123   123   123   123   123   123   123
  123   123   123   123   123   123   132
  123   132   213   231   312   321   132
.
  123   123   123   123   123   123   123
  132   132   132   132   213   213   213
  213   231   312   321   213   231   312
.
  123   123   123   123   123   123   123
  213   231   231   231   312   312   321
  321   231   312   321   312   321   321
		

Crossrefs

Programs

  • Mathematica
    Table[Binomial[n!+n-2,n-1],{n,15}] (* Harvey P. Dale, Jun 02 2023 *)
  • PARI
    a(n) = binomial(n! + n - 2, n - 1) \\ Andrew Howroyd, Feb 13 2022

Formula

a(n) = binomial(n! + n - 2, n - 1).
a(n) = n*A344690(n)/A030495(n-1).
a(n) = A344690*n/(n! + n - 1).
a(n) = A071919(n-1,n!). - Alois P. Heinz, Feb 16 2022

Extensions

Erroneous Mathematica program deleted by N. J. A. Sloane, Jun 02 2023
Previous Showing 11-20 of 23 results. Next