Let r(n) denote the number of representations of by squares, then the Summatory Function of has the Asymptotic expansion
References
Sierpinski, W. Oeuvres Choisies, Tome 1. Editions Scientifiques de Pologne, 1974.