Let Λ be the von Mangoldt function and γ Euler's constant. For a primitive character χ and real x⩾1 put
Rχ(x)=n⩾1∑Λ(n)χ(n)(nx−1)+,v+=max(v,0),
a finite sum. Subtracting the contribution of s=1 gives
Gχ(x)=⎩⎨⎧R1(x)−xlogx+(1+γ)x,Rχ(x)+xL(1,χ)L′(1,χ),χ=1,χ=1,
where the quotient is defined because L(1,χ)=0 for χ=1.