Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
David, great -- thank you very much! In fact, Gang Yu pointed out to me that this result can be obtained by an argument entirely analogous to the proof of the main theorem in: James, R. D.; The Distribution of Integers Represented by Quadratic Forms. Amer. J. Math. 60 (1938), no. 3, 737–744 jstor.org/discover/10.2307/… Here your function $Z_D(s)$ is the first product in the formula for $f(s)$ in Lemma 3 of James' paper.