Ramanujan's Lost Notebook Part III, Ch. 7: tau2
DefinitionRamanujanLostNotebook_PartIII_ch07_tau2number-theoryramanujan-lost-notebook
Generalized tau function τ_2(n), defined by ∑_{n ≥ 1} τ_2(n) q^n = Q(q) Δ(τ)
((7.1.1), p. 205): the coefficient of q^n in Q Δ, read off the product of the truncations
eisensteinQTrunc n and deltaTrunc n, which is exact in degree n. τ_2(0) = 0.
Reference: τ_2(1), …, τ_2(6) = 1, 216, -3348, 13888, 52110, -723168.
Definition code
import Mathlib
import Definitions.Def_RamanujanLostNotebook_PartIII_ch07_deltaTrunc
import Definitions.Def_RamanujanLostNotebook_PartIII_ch07_eisensteinQTrunc
namespace RamanujanLostNotebook.PartIII
/-- Generalized tau function `τ_2(n)`, defined by `∑_{n ≥ 1} τ_2(n) q^n = Q(q) Δ(τ)`
((7.1.1), p. 205): the coefficient of `q^n` in `Q Δ`, read off the product of the truncations
`eisensteinQTrunc n` and `deltaTrunc n`, which is exact in degree `n`. `τ_2(0) = 0`.
Reference: `τ_2(1), …, τ_2(6) = 1, 216, -3348, 13888, 52110, -723168`. -/
noncomputable def tau2 (n : ℕ) : ℤ :=
(eisensteinQTrunc n * deltaTrunc n).coeff n
end RamanujanLostNotebook.PartIII
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part III, Springer 2012, Chapter 7.