paper

Sums of quadratic functions with two discriminants

arXiv:1703.07951 · doi:10.1016/j.jnt.2018.04.007

Abstract

Zagier in [4] discusses a construction of a function defined for an even integer , and a positive discriminant . This construction is intimately related to half-integral weight modular forms. In particular, the average value of this function is a constant multiple of the -th Fourier coefficient of weight Eisenstein series constructed by H. Cohen in \cite{Cohen}. In this note we consider a construction which works both for even and odd positive integers . Our function depends on two discriminants and with signs sign sign, degenerates to Zagier's function when , namely, \[ F_{k,D,1}(x)=F_{k,D}(x), \] and has very similar properties. In particular, we prove that the average value of is again a Fourier coefficient of H. Cohen's Eisenstein series of weight , while now the integer is allowed to be both even and odd.