Abstract We obtain an asymptotic formula for all moments of Dirichlet L -functions L (1, χ) L (1, ) modulo p when averaged over a subgroup of characters χ of size p - 1 d p-1{d} with φ (d) = o (log p) (d) =o (p). Assuming the infinitude of Mersenne primes, the range of our result is optimal and improves and generalises the previous result of S. Louboutin and M. Munsch (2022) for second moments. We also use our ideas to get an asymptotic formula for the second moment of L (1 2, χ) L (1{2, ) } over subgroups of characters of similar size. This leads to non-vanishing results in this family where the proportion obtained depends on the height of the smallest rational number lying in the dual group. This improves a recent result of this type due to É. Fouvry, E. Kowalski and Ph. Michel (2024). Additionally, we prove that, in both cases, we can take much smaller subgroups for almost all primes p.
Munsch et al. (Fri,) studied this question.