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 21-30 of 41 results. Next

A114630 a(n) = A114628(n) - A114629(n).

Original entry on oeis.org

1, 2, 0, 576, 0, 199065600, 0, 1262123552342016000
Offset: 1

Views

Author

Eric W. Weisstein, Dec 18 2005

Keywords

Crossrefs

Extensions

Edited by Charles R Greathouse IV, Aug 05 2010

A344662 a(n) is the number of preference profiles in the stable marriage problem with n men and n women so that they form n pairs of people of different genders who rank each other first, and so that the men's preferences arranged in a matrix form a Latin square.

Original entry on oeis.org

1, 2, 96, 746496, 1284211998720, 2427160677580800000000, 6166762687851449045483520000000000, 45287412266290145430585597857888710164480000000000, 1555956528335898586085189699733983238252540690603399394099200000000000, 395245501240598487865502317687285665641954608158944047815164739503046322343116800000000000000
Offset: 1

Views

Author

Tanya Khovanova and MIT PRIMES STEP Senior group, May 30 2021

Keywords

Comments

Two people who rank each other first are called soulmates. The profiles in this sequence are required to have n pairs of soulmates.
The profiles with n pairs of soulmates are counted by sequence A343698. The profiles such that the men's preference form a Latin square are counted by A343696. The profiles in this sequence are the intersection of profiles in A343696 and A343698.
The Gale-Shapley algorithm (both men-proposing and women-proposing) on the preference profiles described by this sequence ends in one round.

Examples

			For n = 3, there are A002860(3) = 12 ways to set up the men's preference profiles, where A002860(n) is the number of Latin squares of order n. The men's first preferences set the women's first preferences, so we only need to complete the women's profiles with other preferences, which can be done in 2!^3 = 8 ways. Thus, A344662(3) = 12 * 8 = 96.
		

Crossrefs

Formula

a(n) = (n-1)!^n * A002860(n) = A343696(n)/n^n.

A344664 a(n) is the number of preference profiles in the stable marriage problem with n men and n women where both the men's and the women's preferences form a Latin square when arranged in a matrix. In addition, it is possible to arrange all people into n man-woman couples such that they rank each other first.

Original entry on oeis.org

1, 2, 24, 13824, 216760320, 917676490752000, 749944260264355430400000, 293457967200879687743551498616832000, 84112872283641495670736269523436185936222748672000, 27460610008848610956892895086773773421767179663217968124264448000000
Offset: 1

Views

Author

Tanya Khovanova and MIT PRIMES STEP Senior group, Jun 01 2021

Keywords

Comments

Two people who rank each other first are called soulmates. Thus, the profiles in this sequence have n pairs of soulmates.
The profiles with n pairs of soulmates are counted by sequence A343698. The profiles such that the men's preferences form a Latin square are counted by A343696. The profiles such that both men's and women's preferences form a Latin square are counted by A343697. The profiles in this sequence are the intersection of profiles in A343698 and A343697.
Both the men- and the women-proposing Gale-Shapley algorithm on the preference profiles described by this sequence end in one round.

Examples

			For n = 3, there are A002860(3) = 12 Latin squares of order 3. Thus, there are A002860(3) = 12 ways to set up the men's preference profiles. After that, the women's preference profiles form a Latin square with a fixed first column, as the first column is uniquely defined to generate 3 pairs of soulmates. Thus, there are A002860(3)/3! = 12/6 = 2 ways to set up the women's preference profiles, making a(3) = 12 * 2 = 24 preference profiles.
		

Crossrefs

Formula

a(n) = A002860(n)^2 / n!.
a(n) = A000479(n) * A002860(n).

Extensions

Corrected by Tanya Khovanova, Aug 17 2021

A344665 a(n) is the number of preference profiles in the stable marriage problem with n men and n women, where both the men's preferences and women's preferences form a Latin square when arranged in a matrix, with no paired man and woman who rank each other first.

Original entry on oeis.org

0, 2, 48, 124416, 9537454080, 243184270049280000, 1390396658530114967961600000, 4352862027490648408300099378983469056000, 11228731998377005106060609036300637077741992056717312000, 36658843398022550531624696117934603340895735930389121945136191766528000000
Offset: 1

Views

Author

Tanya Khovanova and MIT PRIMES STEP Senior group, Jun 22 2021

Keywords

Comments

The profiles in this sequence are the intersection of the profiles in A343696 and A343697. The Gale-Shapley algorithm on such a set of preference profiles ends in one round.

Examples

			For n = 2, there are A002860(2) = 2 ways to set up the men's profiles. Since the women don't want to rank the man who ranked them first as first, there is exactly 1 way to set up the women's profiles. So, there are 2 * 1 = 2 preference profiles for n = 2.
		

Crossrefs

Formula

a(n) = A002860(n)^2 * Sum_{i=0..n} (-1)^i/i! = A344664(n) * A000166(n).

A383570 Number of transversals in pine Latin squares of order 4n.

Original entry on oeis.org

8, 384, 76032, 62881792
Offset: 1

Views

Author

Eduard I. Vatutin, Apr 30 2025

Keywords

Comments

A pine Latin square is a not necessarily canonical composite Latin square of order N=2*K formed from specially arranged cyclic Latin squares of order K.
By construction, pine Latin square is determined one-to-one by the cyclic square used, so number of pine Latin squares of order N is equal to number of cyclic Latin squares of order N/2.
All pine Latin squares are horizontally symmetric column-inverse Latin squares.
All pine Latin squares for selected order N are isomorphic one to another as Latin squares, so they have same properties (number of transversals, intercalates, etc.).
Pine Latin squares have interesting properties, for example, maximum known number of intercalates (see A383368 and A092237) for some orders N (at least N in {2, 4, 6, 10, 18}).
Pine Latin squares do not exist for odd orders because they must be horizontally symmetric.
Hypothesis: number of transversals in pine Latin squares of all orders N=4k+2 is zero (verified for orders N<=18).

Examples

			For order N=8 pine Latin square
  0 1 2 3 4 5 6 7
  1 2 3 0 7 4 5 6
  2 3 0 1 6 7 4 5
  3 0 1 2 5 6 7 4
  4 5 6 7 0 1 2 3
  5 6 7 4 3 0 1 2
  6 7 4 5 2 3 0 1
  7 4 5 6 1 2 3 0
has 384 transversals.
.
For order N=10 pine Latin square
  0 1 2 3 4 5 6 7 8 9
  1 2 3 4 0 9 5 6 7 8
  2 3 4 0 1 8 9 5 6 7
  3 4 0 1 2 7 8 9 5 6
  4 0 1 2 3 6 7 8 9 5
  5 6 7 8 9 0 1 2 3 4
  6 7 8 9 5 4 0 1 2 3
  7 8 9 5 6 3 4 0 1 2
  8 9 5 6 7 2 3 4 0 1
  9 5 6 7 8 1 2 3 4 0
has no transversals.
.
For order N=12 pine Latin square
  0 1 2 3 4 5 6 7 8 9 10 11
  1 2 3 4 5 0 11 6 7 8 9 10
  2 3 4 5 0 1 10 11 6 7 8 9
  3 4 5 0 1 2 9 10 11 6 7 8
  4 5 0 1 2 3 8 9 10 11 6 7
  5 0 1 2 3 4 7 8 9 10 11 6
  6 7 8 9 10 11 0 1 2 3 4 5
  7 8 9 10 11 6 5 0 1 2 3 4
  8 9 10 11 6 7 4 5 0 1 2 3
  9 10 11 6 7 8 3 4 5 0 1 2
  10 11 6 7 8 9 2 3 4 5 0 1
  11 6 7 8 9 10 1 2 3 4 5 0
has 76032 transversals.
		

Crossrefs

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

A097635 Triangle read by rows: T(n,k) = number of unique-valued sequences of length k, n >= 1, 1 <= k <= 2n-3, in the symmetric group S_n.

Original entry on oeis.org

1, 2, 6, 18, 12, 24, 456, 5664, 20640, 576, 120, 13560, 1395840
Offset: 1

Views

Author

Aleksandar Blazhevski-Cane (CaneB(AT)mt.net.mk), Aug 17 2004

Keywords

Comments

Definition: Let G(*) be a semigroup. A finite sequence u_1, u_2,... u_n of elements from G is called unique-valued with value v and length n provided v = u_1 * u_2 *... * u_n and v != u_p(1) * u_p(2) *... * u_p(n) for any non-identity permutation p of the indices {1, 2,... n}.
In other words, the only way to obtain the unique value v from the elements u_1, u_2,... u_n is by multiplying them in that particular order; any other order always gives a value different from v.
When the length of the sequence is 2, the meaning of "unique-valued" is equivalent to "the two elements do not commute under *".
I proved that the maximal possible length of a unique-valued sequence in the monoid M_n(*) of all n X n matrices (with entries in some ring with 1) is exactly 2n-1 (that 2n-1 is an upper bound follows from the Amitsur-Levitzki theorem), providing a positive example that this limit is reached.
I also proved that the maximal possible length of unique-valued sequences in S_n is 2n-3 (using n-simplex and again using the Amitsur-Levitzki theorem), but didn't find examples that this limit is really reached. My computer said "yes" for n=2 to 5, but even 6 is too large to compute.
The numbers of unique-valued sequences in S_n of the maximal length 2n-3 form a sequence 1, 2, 12, 576, which seems to coincide with A002860, the number of Latin squares of order n.

Examples

			Triangle begins:
    1
    2
    6    18      12
   24   456    5664 20640 576
  120 13560 1395840 ?
		

Crossrefs

Possibly related to A002860 (the number of Latin Squares) or A052129.

Formula

a(n*(n-1)/2) = n!.

Extensions

Entry revised Dec 31 2005

A108395 Number of pluperfect Latin squares of order n.

Original entry on oeis.org

1, 2, 12, 288, 161280, 1393920, 61479419904000, 592612475535360, 6670903752021072936960
Offset: 1

Views

Author

William Rex Marshall, Jul 02 2005

Keywords

Comments

A Latin square is pluperfect if in each possible dissection of the Latin square into n translates of congruent rectangular blocks, no block contains duplicate symbols. For any prime number p, a(p) = A002860(p) and a(p^2) = A107739(p).

Crossrefs

A114628 Number of even Latin squares of order n.

Original entry on oeis.org

1, 2, 6, 576, 80640, 505958400, 30739709952000, 55019078005712486400
Offset: 1

Views

Author

Eric W. Weisstein, Dec 18 2005

Keywords

Crossrefs

A211215 Total number of Latin n-dimensional hypercubes of order 4; labeled n-ary quasigroups of order 4.

Original entry on oeis.org

4, 24, 576, 55296, 36972288, 6268637952000, 80686060158523011084288, 4465185218736554544676917926460256725000192, 4558271384916189349044295395852008182480786230841798008741684281906576963885826048
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.

References

  • T. Ito, Creation Method of Table, Creation Apparatus, Creation Program and Program Storage Medium, U.S. Patent application 20040243621, Dec 02 2004.

Crossrefs

Programs

Formula

a(n) = 4*6^n * A211214(n).
Previous Showing 21-30 of 41 results. Next