In mathematics, the theta function of a lattice is a function whose coefficients give the number of vectors of a given norm.
Furthermore, the theta function of an even unimodular lattice of rank n is actually a modular form of weight n/2.
The theta function of an integral lattice is often written as a power series in
so that the coefficient of qn gives the number of lattice vectors of norm 2n.
This number theory-related article is a stub.