The Ramanujan tau function, studied by Ramanujan (1916), is the function defined by the following identity:
where q = exp(2πiz) with Im z > 0, is the Euler function, η is the Dedekind eta function, and the function Δ(z) is a holomorphic cusp form of weight 12 and level 1, known as the discriminant modular form (some authors, notably Apostol, write instead of ). It appears in connection to an "error term" involved in counting the number of ways of expressing an integer as a sum of 24 squares. A formula due to Ian G. Macdonald was given in Dyson (1972).