The theta series of a point lattice is the generating function
for , where
is the Euclidean vector norm.
The coefficient of
counts the vectors with squared
vector norm
in the point lattice. This
generating function is obtained by evaluating the theta
function at zero with a purely imaginary matrix proportional
to a Gram matrix of the point
lattice.
Theta series for a number of point lattices are implemented in the Wolfram Language as LatticeData[lattice, "ThetaSeriesFunction"].
The same definition applies to the centers of a periodic sphere packing, after choosing a center as the origin.
The following table summarizes point lattices and nonlattice sphere packings with closed-form theta
series. Here,
is a Jacobi theta function.
| point set | theta series generating function |
| Barnes-Wall lattice | |
| body-centered cubic lattice | |
| Coxeter-Todd lattice | |
| face-centered cubic lattice | |
| hexagonal close packing | |
| hexagonal lattice | |
| Leech lattice | |
| simple cubic lattice | |
| square lattice | |
| tetrahedral packing |
In the hexagonal close packing row, the nearest-neighbor squared distance is 2, and the vertical period squared length is 16/3 (Sloane 1981, pp. 333-334).
The following table gives the first few terms of the series for these structures.
| point set | OEIS | theta series |
| Barnes-Wall lattice | A008409 | |
| body-centered cubic lattice | A004013 | |
| Coxeter-Todd lattice | A004010 | |
| face-centered cubic lattice | A004015 | |
| hexagonal close packing | ||
| hexagonal lattice | ||
| Leech lattice | A008408 | |
| simple cubic lattice | A005875 | |
| square lattice | A004018 | |
| tetrahedral packing |
The coefficients are indexed by powers of in OEIS A004013, OEIS
A005875, and OEIS A004018,
and by powers of
in OEIS A004010, OEIS A004015,
and OEIS A008408. In OEIS A008409,
the index is the power of
in the normalization used here.
Writing , for a point
lattice
containing the origin with covolume
1, Luo and Wei (2026, p. 1) proved that
is minimized for every
uniquely, up to an orthogonal
transformation, by the rescaled D4
lattice
.