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.

A081623 Number of ways in which the points on an n X n square lattice can be equally occupied with spin "up" and spin "down" particles. If n is odd, we arbitrarily take the lattice to contain one more spin "up" particle than the number of spin "down" particles.

Original entry on oeis.org

1, 1, 6, 126, 12870, 5200300, 9075135300, 63205303218876, 1832624140942590534, 212392290424395860814420, 100891344545564193334812497256, 191645966716130525165099506263706416, 1480212998448786189993816895482588794876100
Offset: 0

Views

Author

A. Timothy Royappa, Apr 22 2003

Keywords

Examples

			a(2) = C(4,2) = 6.
a(3) = C(9,5) = 126.
		

Crossrefs

A082963 is the equivalent sequence up to reflection and rotation.

Programs

Formula

a(n) = C(n^2, (n^2+1)/2) if n is odd and C(n^2, n^2/2) if n is even.
a(n) = binomial(n^2,floor(n^2/2)). - Alois P. Heinz, Jul 21 2017
Largest coefficient of (1 + x)^(n^2). - Ilya Gutkovskiy, Apr 24 2025

Extensions

a(0)=1 prepended by Alois P. Heinz, Jul 21 2017