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-2 of 2 results.

A002047 Number of 3 X (2n+1) zero-sum arrays with entries -n,...,0,...,n.

Original entry on oeis.org

1, 2, 6, 28, 244, 2544, 35600, 659632, 15106128, 425802176, 14409526080, 577386122880
Offset: 0

Views

Author

Keywords

Comments

This can be interpreted as the number of ways to choose 2n+1 cells in a hexagonal grid of side n+1 such that no two are in the same row or left diagonal or right diagonal. - Alex Fink (a00(AT)shaw.ca), Mar 16 2005
Also the number of transversals of a partial Latin square L of order 2n+1 in which L_{ij} = i+j if n+1 < i+j < 3n+3 and L_{ij} is empty otherwise. [Cavenagh-Wanless]
Also the number of arrangements of the numbers n+1, n+1, ..., 3n+1, 3n+1 such that there are n numbers between the pair of n+1's, ..., 3n numbers between the pair of 3n+1's. For each of these arrangements and its mirror image, there is a bijection with a pair of the 3 X (2n+1) zero-sum arrays. - Stephen J Scattergood, Jul 19 2013
Also the number of sigma-permutations of length 2n+1 [Kotzig-Laufer]. - N. J. A. Sloane, Jul 27 2015
An (m,2n+1)-zero-sum array is an m X (2n+1) matrix whose m rows are permutations of the 2n+1 integers -n..n, the sum of each column is zero and the first row of the matrix is -n,-n+1,...,0,...,n-1,n. - Gheorghe Coserea, Dec 29 2016
a(n-1) is also number of ways of placing 2*n-1 nonattacking rooks on a hexagonal board with edge-length n in Glinski's hexagonal chess. - Vaclav Kotesovec, Aug 15 2019

Examples

			a(2) = 6 corresponds to
..O.X.X.......X.X.O.......O.X.X.......X.O.X.......X.O.X.......X.X.O
.X.X.O.X.....X.O.X.X.....X.X.X.O.....X.X.X.O.....O.X.X.X.....O.X.X.X
X.X.X.X.O...O.X.X.X.X...X.O.X.X.X...O.X.X.X.X...X.X.X.X.O...X.X.X.O.X
.O.X.X.X.....X.X.X.O.....X.X.X.O.....X.O.X.X.....X.X.O.X.....O.X.X.X
..X.O.X.......X.O.X.......O.X.X.......X.X.O.......O.X.X.......X.X.O
The bijection with a pair of the 3 X (2n+1) zero-sum arrays:
n=1, a(1)=2 corresponds to
                           3 4 2 3 2 4
        and mirror image   4 2 3 2 4 3
element                  2  3  4  -(2n+1) --> -1  0  1
position, left element   3  1  2  -( n+1) -->  1 -1  0
position  in mirror      2  3  1  -( n+1) -->  0  1 -1
                          -------               -------
sum of column            7  7  7  -(4n+3)      0  0  0
Swapping rows 2,3 yields the other 3 X 3 zero sum array.
n=2, a(2)=6  an example and its mirror, so 2 of the 6 solutions:
                           5 6 7 3 4 5 3 6 4 7
            mirror image   7 4 6 3 5 4 3 7 6 5
            3  4  5  6  7  -(2n+1) --> -2 -1  0  1  2
            4  5  1  2  3  -( n+1) -->  1  2 -2 -1  0
            4  2  5  3  1  -( n+1) -->  1 -1  2  0 -2
            --------------              --------------
           11 11 11 11 11  -(4n+3) -->  0  0  0  0  0
Swapping rows 2,3 yields the other 3 X 5 zero sum array.
		

References

  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Cf. A014552. A diagonal of the triangle in A260333.

Extensions

More terms from Alex Fink (a00(AT)shaw.ca), Mar 16 2005
a(10) and a(11) from Ian Wanless, Jul 30 2010, from the Cavenagh-Wanless paper

A260334 a(n) = (36*n^6 - 60*n^5 + 30*n^4 + 4*n^3 + 8*n^2 - 4*n + 1 - (-1)^n)/8.

Original entry on oeis.org

0, 2, 115, 1783, 11758, 49304, 156633, 412589, 949564, 1973662, 3788095, 6819827, 11649450, 19044308, 29994853, 45754249, 67881208, 98286074, 139280139, 193628207, 264604390, 356051152, 472441585, 618944933, 801495348, 1026863894, 1302733783, 1637778859, 2041745314, 2525536652
Offset: 0

Views

Author

N. J. A. Sloane, Jul 27 2015

Keywords

Crossrefs

Conjectured to be the 4th diagonal of A260333.

Programs

  • Mathematica
    Table[(36n^6-60n^5+30n^4+4n^3+8n^2-4n+1-(-1)^n)/8,{n,0,30}] (* or *) LinearRecurrence[{6,-14,14,0,-14,14,-6,1},{0,2,115,1783,11758,49304,156633,412589},30] (* Harvey P. Dale, Apr 14 2020 *)
  • PARI
    concat(0, Vec(-x*(17*x^6 +487*x^5 +2108*x^4 +2642*x^3 +1121*x^2 +103*x +2) / ((x -1)^7*(x +1)) + O(x^100))) \\ Colin Barker, Jul 29 2015

Formula

G.f.: -x*(17*x^6+487*x^5+2108*x^4+2642*x^3+1121*x^2+103*x+2) / ((x-1)^7*(x+1)). - Colin Barker, Jul 29 2015
Showing 1-2 of 2 results.