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

A287764 Number of main classes of diagonal Latin squares of order n.

Original entry on oeis.org

1, 0, 0, 1, 2, 2, 972, 4873096, 3292326155394
Offset: 1

Views

Author

Eduard I. Vatutin, May 31 2017

Keywords

Crossrefs

Extensions

a(9) from Eduard I. Vatutin, Jul 06 2019

A274806 Number of diagonal Latin squares of order n.

Original entry on oeis.org

1, 0, 0, 48, 960, 92160, 862848000, 300286741708800, 1835082219864832081920
Offset: 1

Views

Author

Eduard I. Vatutin, Jul 07 2016

Keywords

Comments

A diagonal Latin square is a Latin square in which both the main diagonal and main antidiagonal contain each element. - Andrew Howroyd, Oct 05 2020

Crossrefs

Formula

a(n) = A274171(n) * n!.

Extensions

a(9) from Vatutin et al. (2016) added by Max Alekseyev, Oct 05 2016
a(9) corrected by Eduard I. Vatutin, Oct 20 2016

A305570 Number of diagonal Latin squares of order n with the first row in order and at least one orthogonal diagonal mate.

Original entry on oeis.org

1, 0, 0, 2, 4, 0, 256, 632064, 95024976
Offset: 1

Views

Author

Eduard I. Vatutin, Jun 05 2018

Keywords

Crossrefs

Formula

a(n) = A305571(n) / n!.
a(n) = A274171(n) - A305568(n).

Extensions

Name clarified by Andrew Howroyd, Oct 19 2020
a(9) added by Eduard I. Vatutin, Dec 22 2020

A287695 Maximum number of diagonal Latin squares with the first row in ascending order that can be orthogonal to a given diagonal Latin square of order n.

Original entry on oeis.org

1, 0, 0, 1, 1, 0, 3, 824, 614
Offset: 1

Views

Author

Eduard I. Vatutin, May 30 2017

Keywords

Comments

A Latin square is normalized if in the first row elements come in increasing order. Any diagonal Latin square orthogonal to a given one can be normalized by renaming its elements (which does not break diagonality and orthogonality). - Max Alekseyev, Dec 07 2019
For all orders n>3 there are diagonal Latin squares without orthogonal mates (also known as bachelor squares), so the minimum number of diagonal Latin squares that can be orthogonal to the same diagonal Latin square is zero. For order n=1 the single square is orthogonal to itself. For n=2 and n=3 diagonal Latin squares do not exist (see A274171). For n=6 orthogonal diagonal Latin squares do not exist (see A305571), so a(6)=0. - Eduard I. Vatutin, May 03 2021
a(n) >= A328873(n) - 1. - Eduard I. Vatutin, Mar 29 2021
a(10) >= 10 (Updated). - Eduard I. Vatutin, Apr 27 2018
a(11) >= 32462. - Eduard I. Vatutin from T. Brada, Mar 11 2021
a(12) >= 3855983322. The result belongs to DLS, which has 30192 diagonal transversals. Calculations performed by a volunteer. - Natalia Makarova, Tomáš Brada, Nov 11 2021
a(13) >= 248703. - Natalia Makarova, Tomáš Brada, Apr 29 2021
a(14) >= 307662. - Natalia Makarova, Alex Chernov, Harry White, May 21 2021
a(16) >= 1658880, a(17) >= 2453352, a(18) >= 96, a(19) >= 1383, a(20) >= 995328, a(21) >= 995328, a(22) >= 432000, a(23) >= 525, a(24) >= 345600, a(25) >= 345600, a(26) >= 48, a(27) >= 345600, a(28) >= 663552, a(29) >= 663552, a(30) >= 40320. For values up to a(100), see the specified link "New boundaries for maximum number of normalized orthogonal diagonal Latin squares to one diagonal Latin square". - Natalia Makarova, Alex Chernov, Harry White, Dec 06 2021

Examples

			From _Eduard I. Vatutin_, Mar 29 2021: (Start)
One of the best existing diagonal Latin squares of order 7
  0 1 2 3 4 5 6
  2 3 1 5 6 4 0
  5 6 4 0 1 2 3
  4 0 6 2 3 1 5
  6 2 0 1 5 3 4
  1 5 3 4 0 6 2
  3 4 5 6 2 0 1
has 3 orthogonal mates
  0 1 2 3 4 5 6   0 1 2 3 4 5 6   0 1 2 3 4 5 6
  5 6 4 0 1 2 3   3 4 5 6 2 0 1   6 2 0 1 5 3 4
  1 5 3 4 0 6 2   4 0 6 2 3 1 5   3 4 5 6 2 0 1
  6 2 0 1 5 3 4   2 3 1 5 6 4 0   1 5 3 4 0 6 2
  3 4 5 6 2 0 1   5 6 4 0 1 2 3   2 3 1 5 6 4 0
  2 3 1 5 6 4 0   6 2 0 1 5 3 4   4 0 6 2 3 1 5
  4 0 6 2 3 1 5   1 5 3 4 0 6 2   5 6 4 0 1 2 3
so a(7)=3. (End)
		

Crossrefs

Extensions

Definition corrected by Max Alekseyev, Dec 07 2019
a(9) added by Eduard I. Vatutin, Dec 12 2020
Edited by Max Alekseyev, Apr 01 2022

A309283 Number of equivalence classes of X-based filling of diagonals in a diagonal Latin square of order n.

Original entry on oeis.org

1, 1, 0, 0, 2, 2, 3, 3, 20, 20, 67, 67, 596, 596
Offset: 0

Views

Author

Eduard I. Vatutin, Jul 06 2020

Keywords

Comments

Used for getting strong canonical forms (SCFs) of the diagonal Latin squares and for fast enumerating of the diagonal Latin squares based on equivalence classes.
K1 = |C[1]|*f[1] + |C[2]|*f[2] + ... + |C[m]|*f[m],
K2 = K1 * n!,
where m = a(n), number of equivalence classes for X-based filling of diagonals in a diagonal Latin square of order n;
C[i], corresponding equivalence classes with cardinalities |C[i]|, 1 <= i <= m;
f[i], the number of diagonal Latin squares corresponds to the each item from equivalence class C[i], 1 <= i <= m;
K1 = A274171(n), number of diagonal Latin squares of order n with fixed first row;
K2 = A274806(n), number of diagonal Latin squares of order n.
For all t>0 a(2*t) = a(2*t+1). - Eduard I. Vatutin, Aug 21 2020
a(14) >= 5225, a(15) >= 5225. - Natalia Makarova, Sep 12 2020
The number of solutions in an equivalence class with the main diagonal in ascending order is at most 4*2^r*r! where r = floor(n/2). This maximum is achieved for orders n >= 10. - Andrew Howroyd, Mar 27 2023

Examples

			For order n=4 there are a(4)=2 equivalence classes. First of them C[1] includes two X-based fillings of diagonals
   0..1  0..2
   .13.  .10.
   .02.  .32.
   2..3  1..3
and second C[2] also includes two X-based fillings of diagonals
   0..1  0..2
   .10.  .13.
   .32.  .02.
   2..3  1..3
It is easy to see that f[1] = 0 and f[2] = 1, so K1(4) = A274171(4) = 2*0 + 2*1 = 2 and K2(4) = A274806(4) = K1(4) * 4! = 2 * 24 = 48.
		

Crossrefs

Formula

a(n) = A338084(floor(n/2)).

Extensions

a(11) added by Eduard I. Vatutin, Aug 21 2020
a(12)-a(13) by Harry White, added by Natalia Makarova, Sep 12 2020
a(0)=1 prepended by Andrew Howroyd, Oct 31 2020

A299783 Minimum size of a main class for diagonal Latin squares of order n with the first row in ascending order.

Original entry on oeis.org

1, 0, 0, 2, 4, 32, 32, 96
Offset: 1

Views

Author

Eduard I. Vatutin, Jan 21 2019

Keywords

Comments

a(9) <= 48; a(10) <= 1536, a(11) <= 1536, a(12) <= 46080, a(13) <= 7680. - Eduard I. Vatutin, Oct 05 2020, updated Apr 08 2025

Examples

			From _Eduard I. Vatutin_, Oct 05 2020: (Start)
The following DLS of order 9 has a main class with cardinality 48:
  0 1 2 3 4 5 6 7 8
  2 4 3 0 7 6 8 1 5
  6 2 8 5 3 4 7 0 1
  4 6 7 1 8 2 3 5 0
  1 5 4 7 6 0 2 8 3
  7 8 1 4 5 3 0 6 2
  3 7 0 2 1 8 5 4 6
  8 3 5 6 0 7 1 2 4
  5 0 6 8 2 1 4 3 7
The following DLS of order 10 has a main class with cardinality 7680:
  0 1 2 3 4 5 6 7 8 9
  1 2 0 4 3 6 5 9 7 8
  2 0 3 5 8 1 4 6 9 7
  4 6 9 7 1 8 2 0 3 5
  9 7 8 6 5 4 3 1 2 0
  3 4 7 8 0 9 1 2 5 6
  6 9 4 1 7 2 8 5 0 3
  7 8 5 0 6 3 9 4 1 2
  5 3 1 9 2 7 0 8 6 4
  8 5 6 2 9 0 7 3 4 1
(End)
		

Crossrefs

Formula

a(n) = A299785(n) / n!.
0 <= a(n) <= A299784(n). - Eduard I. Vatutin, Jun 08 2020
From Eduard I. Vatutin, added May 30 2021, updated Apr 08 2025: (Start)
a(n) = A299784(n) for 1 <= n <= 5.
a(6)*3 = A299784(6).
a(7)*6 = A299784(7).
a(8)*16 = A299784(8).
a(9)*32 <= A299784(9).
a(10)*10 <= A299784(10).
a(11)*10 <= A299784(11).
a(12)*4 <= A299784(12).
a(13)*24 <= A299784(13). (End)

A305568 Number of bachelor diagonal Latin squares of order n with the first row in ascending order.

Original entry on oeis.org

0, 0, 0, 0, 4, 128, 170944, 7446955776, 5056994558482608
Offset: 1

Views

Author

Eduard I. Vatutin, Jun 05 2018

Keywords

Comments

A bachelor diagonal Latin square is one with no orthogonal mate.

Crossrefs

Formula

a(n) = A305569(n) / n!.
a(n) = A274171(n) - A305570(n).

Extensions

a(9) added by Eduard I. Vatutin, Dec 22 2020

A337302 Number of X-based filling of diagonals in a diagonal Latin square of order n with the main diagonal in ascending order.

Original entry on oeis.org

1, 1, 0, 0, 4, 4, 80, 80, 4752, 4752, 440192, 440192, 59245120, 59245120, 10930514688, 10930514688, 2649865335040, 2649865335040, 817154768973824, 817154768973824, 312426715251262464, 312426715251262464, 145060238642780180480, 145060238642780180480
Offset: 0

Views

Author

Eduard I. Vatutin, Aug 22 2020

Keywords

Comments

Used for getting strong canonical forms (SCFs) of the diagonal Latin squares and for fast enumerating of the diagonal Latin squares based on equivalence classes.
For all t > 0, a(2*t) = a(2*t+1).

Examples

			For n=4 there are 4 different X-based fillings of diagonals with main diagonal fixed to [0 1 2 3]:
   0 . . 1   0 . . 1   0 . . 2   0 . . 2
   . 1 0 .   . 1 3 .   . 1 0 .   . 1 3 .
   . 3 2 .   . 0 2 .   . 3 2 .   . 0 2 .
   2 . . 3   2 . . 3   1 . . 3   1 . . 3
		

Crossrefs

Formula

a(n) = A337303(n)/n!.
a(n) = A000316(floor(n/2)). - Andrew Howroyd and Eduard I. Vatutin, Oct 08 2020

Extensions

More terms from Alois P. Heinz, Oct 08 2020
a(0)=1 prepended by Andrew Howroyd, Oct 09 2020

A357473 Number of types of generalized symmetries in diagonal Latin squares of order n.

Original entry on oeis.org

1, 0, 0, 10, 8, 12, 12
Offset: 1

Views

Author

Eduard I. Vatutin, Sep 29 2022

Keywords

Comments

The diagonal Latin square A has a generalized symmetry (automorphism) if for all cells A[x][y] = v and A[x'][y'] = v' the relation is satisfied: x' = Px[x], y' = Py[y], v' = Pv[v], where Px, Py and Pv — some permutations that are describe generalized symmetry (automorphism). In view of the possibility of an equivalent permutation of the rows and columns of the square and the corresponding transformations in permutations Px, Py and Pv, it is not the types of permutations that are important, but the structure of the multisets L(P) of cycle lengths in them (number of different multisets of order n is A000041). In view of this, codes of various generalized symmetries can be described by the types like (1,1,1) (trivial), (1,16,16) and so on (see example). Diagonal Latin squares with generalized symmetries are rare; usually they have a large number of transversals, orthogonal mates, etc.
a(n) <= A000041(n)^3. - Eduard I. Vatutin, Dec 29 2022
For all orders in which diagonal Latin squares exist a(n) >= 1 due to the existence of the trivial generalized symmetry with code (1,1,1) and Px=Py=Pv=e. - Eduard I. Vatutin, Jan 22 2023
The set of the generalized symmetries is a subset of the generalized symmetries in parastrophic slices, so a(n) <= A358515(n). - Eduard I. Vatutin, Jan 24 2023
Orthogonal diagonal Latin squares are a subset of diagonal Latin squares, so A358394(n) <= a(n). - Eduard I. Vatutin, Jan 25 2023

Examples

			For order n=5 there are 7 different multisets L(P) with codes listed below in format "code - multiset":
  1 - {1,1,1,1,1},
  2 - {1,1,1,2},
  3 - {1,1,3},
  4 - {1,2,2},
  5 - {1,4},
  6 - {2,3},
  7 - {5}.
Diagonal Latin squares of order n=5 has a(5)=8 different types of generalized symmetries:
1. A=0123442301341201304220413 (string representation of the square), Px=[0,1,2,3,4], Py=[0,1,2,3,4], Pv=[0,1,2,3,4] (trivial generalized symmetry), L(Px)={1,1,1,1,1}, L(Py)={1,1,1,1,1}, L(Pv)={1,1,1,1,1}, generalized symmetry type (1,1,1).
2. A=0123442301341201304220413, Px=[0,1,2,3,4], Py=[1,3,0,4,2], Pv=[1,3,0,4,2], L(Px)={1,1,1,1,1}, L(Py)={5}, L(Pv)={5}, generalized symmetry type (1,7,7).
3. A=0123442013143203014223401, Px=[0,3,2,4,1], Py=[1,4,2,3,0], Pv=[1,4,2,3,0], L(Px)={1,1,3}, L(Py)={1,1,3}, L(Pv)={1,1,3}, generalized symmetry type (3,3,3).
4. A=0123442301341201304220413, Px=[0,2,1,4,3], Py=[0,2,1,4,3], Pv=[0,2,1,4,3], L(Px)={1,2,2}, L(Py)={1,2,2}, L(Pv)={1,2,2}, generalized symmetry type (4,4,4).
5. A=0123442301341201304220413, Px=[0,3,4,2,1], Py=[0,3,4,2,1], Pv=[0,3,4,2,1], L(Px)={1,4}, L(Py)={1,4}, L(Pv)={1,4}, generalized symmetry type (5,5,5).
6. A=0123442301341201304220413, Px=[1,3,0,4,2], Py=[0,1,2,3,4], Pv=[4,2,3,0,1], L(Px)={5}, L(Py)={1,1,1,1,1}, L(Pv)={5}, generalized symmetry type (7,1,7).
7. A=0123442301341201304220413, Px=[1,3,0,4,2], Py=[3,4,1,2,0], Pv=[0,1,2,3,4], L(Px)={5}, L(Py)={5}, L(Pv)={1,1,1,1,1}, generalized symmetry type (7,7,1).
8. A=0123442301341201304220413, Px=[1,3,0,4,2], Py=[1,3,0,4,2], Pv=[2,0,4,1,3], L(Px)={5}, L(Py)={5}, L(Pv)={5}, generalized symmetry type (7,7,7).
		

Crossrefs

A358394 Number of types of generalized symmetries in orthogonal diagonal Latin squares of order n.

Original entry on oeis.org

1, 0, 0, 10, 7, 0, 8
Offset: 1

Views

Author

Eduard I. Vatutin, Nov 20 2022

Keywords

Comments

An orthogonal diagonal Latin square is a square that has at least one orthogonal diagonal mate.
A diagonal Latin square A has a generalized symmetry (automorphism) if for all cells A[x][y] = v and A[x'][y'] = v' the relation is satisfied: x' = Px[x], y' = Py[y], v' = Pv[v], where Px, Py and Pv are some permutations that describe generalized symmetry (automorphism). In view of the possibility of an equivalent permutation of the rows and columns of the square and the corresponding transformations in permutations Px, Py and Pv, it is not the types of permutations that are important, but the structure of the multisets L(P) of cycle lengths in them (number of different multisets of order n is A000041). In view of this, codes of various generalized symmetries can be described by the types like (1,1,1) (trivial), (1,16,16) and so on (see example). Diagonal Latin squares with generalized symmetries are rare; usually they have a large number of transversals, orthogonal mates, etc.
a(8) >= 74, a(9) >= 41, a(10) >= 27.
a(n) <= A000041(n)^3. - Eduard I. Vatutin, Jan 01 2023
For all orders in which orthogonal diagonal Latin squares exist a(n) >= 1 due to the existence of the trivial generalized symmetry with code (1,1,1) and Px=Py=Pv=e. - Eduard I. Vatutin, Jan 22 2023
The set of the generalized symmetries is a subset of the generalized symmetries in parastrophic slices, so a(n) <= A358891(n). - Eduard I. Vatutin, Jan 24 2023
Orthogonal diagonal Latin squares are a subset of diagonal Latin squares, so a(n) <= A357473(n). - Eduard I. Vatutin, Jan 25 2023

Examples

			For order n=5 there are 7 different multisets L(P) with codes listed below in format "code - multiset":
  1 - {1,1,1,1,1},
  2 - {1,1,1,2},
  3 - {1,1,3},
  4 - {1,2,2},
  5 - {1,4},
  6 - {2,3},
  7 - {5}.
The diagonal Latin square
  0 1 2 3 4
  2 3 4 0 1
  4 0 1 2 3
  1 2 3 4 0
  3 4 0 1 2
of order n=5 has all a(5)=7 possible different types of generalized symmetries:
1. Px=[0,1,2,3,4], Py=[0,1,2,3,4], Pv=[0,1,2,3,4] (trivial generalized symmetry), L(Px)={1,1,1,1,1}, L(Py)={1,1,1,1,1}, L(Pv)={1,1,1,1,1}, generalized symmetry type (1,1,1).
2. Px=[0,1,2,3,4], Py=[1,2,3,4,0], Pv=[1,2,3,4,0], L(Px)={1,1,1,1,1}, L(Py)={5}, L(Pv)={5}, generalized symmetry type (1,7,7).
3. Px=[0,4,3,2,1], Py=[0,4,3,2,1], Pv=[0,4,3,2,1], L(Px)={1,2,2}, L(Py)={1,2,2}, L(Pv)={1,2,2}, generalized symmetry type (4,4,4).
4. Px=[0,2,4,1,3], Py=[0,2,4,1,3], Pv=[0,2,4,1,3], L(Px)={1,4}, L(Py)={1,4}, L(Pv)={1,4}, generalized symmetry type (5,5,5).
5. Px=[1,2,3,4,0], Py=[0,1,2,3,4], Pv=[2,3,4,0,1], L(Px)={5}, L(Py)={1,1,1,1,1}, L(Pv)={5}, generalized symmetry type (7,1,7).
6. Px=[1,2,3,4,0], Py=[3,4,0,1,2], Pv=[0,1,2,3,4], L(Px)={5}, L(Py)={5}, L(Pv)={1,1,1,1,1}, generalized symmetry type (7,7,1).
7. Px=[1,2,3,4,0], Py=[1,2,3,4,0], Pv=[3,4,0,1,2], L(Px)={5}, L(Py)={5}, L(Pv)={5}, generalized symmetry type (7,7,7).
		

Crossrefs

Showing 1-10 of 13 results. Next