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.

A317191 Fill an n X n square array T(j,k), 1<=j<=n, 1=k<=n, by antidiagonals upwards in which each term is the least nonnegative integer satisfying the condition that no row, column, diagonal, or antidiagonal contains a repeated term; a(n) = T(n,n).

Original entry on oeis.org

0, 3, 5, 4, 1, 10, 7, 2, 6, 8, 15, 12, 19, 17, 22, 23, 12, 26, 11, 31, 32, 12, 35, 10, 37, 42, 40, 45, 33, 49, 18, 17, 20, 53, 16, 51, 59, 18, 59, 60, 58, 64, 69, 69, 38, 29, 74, 26, 68, 78, 80, 36, 30, 33, 41, 39, 32, 33, 92, 41, 38, 89, 32, 35
Offset: 1

Views

Author

Keywords

Comments

This is the analog for an n X n board of the sequence A317190 (which is the main diagonal when we fill in the whole of the fourth quadrant in this way).

Examples

			For n=3 the array T is
0 2 1
1 3 4
2 0 5
so a(3) = T(3,3) = 5.
For n=6 the array T is
0 2 1 5 3 4
1 3 4 0 7 2
2 0 5 1 6 9
3 1 2 4 0 5
4 6 0 3 1 7
5 7 8 6 4 10
so a(6) = T(6,6) = 10. This is the first time this sequence differs from A317190.
		

Crossrefs