Abstract
This article determines the order of magnitude of integers not exceeding x that can be written as sums of two squares of integers that are themselves sums of two squares. The tools include Selberg’s sieve and contour integration in the spirit of the Selberg-Delange method.
Dedicated to Wolfgang Schwarz
Access provided by Autonomous University of Puebla. Download chapter PDF
Similar content being viewed by others
Keywords
2010 Mathematics subject classification:
1 Introduction
In about 1900 Landau calculated the cardinality of sums of two squares in a long interval [1, x]. With \(\mathcal{S} =\{ n \in \mathbb{N}\mid n = a^{2} + b^{2}\}\) he proved in [3] the asymptotic formula
where \(C:= \frac{1} {\sqrt{2}}\prod _{p\equiv 3(4)}(1 - p^{-2})^{-1/2}\).
It is possible to diversify the summation condition in a lot of ways. In this paper we want to consider the situation where each of the two squares is again a sum of two squares.
We define some notation. Let \(\tilde{\mathcal{S}}=\{ n \in \mathbb{N}\mid p\vert n \Rightarrow p\not\equiv 3(4)\} \subset \mathcal{S}\), and let
Finally we write
for i = 0, 1, 2 with the convention 00 = 0, and analogously
Our aim is to estimate these quantities from above and below. We start with the following which can be obtained from (1.1) by partial summation.
Theorem 1.1
For x ≥ 3 we have the asymptotic formula
An analogous asymptotic formula (with a different constant) can be proved for \(\tilde{S}_{1}(x)\).
Our next aim is an upper bound for \(\tilde{S}_{2}(x)\). As a preparation we define the function
Then we prove the following
Theorem 1.2
Let q j , \(r_{j} \in \mathbb{Z}\) for j = 1,…,k with \(\mathcal{Q} =\prod \limits _{j}q_{j}\prod \limits _{i\neq j}\vert q_{i}r_{j} - q_{j}r_{i}\vert \neq 0\) . Then
for a constant δ′ > 0 and F k (1) given by the convergent Euler product
This furnishes an upper bound for numbers such that k arithmetic progressions are not divisible by a prime congruent to 3 modulo 4.
To prove this theorem we use Selberg’s sieve which requires a calculation that is reminiscent of the Selberg-Delange method. Having this bound available, we will prove the following theorem.
Theorem 1.3
For x ≥ 3 we have the upper bound
We see that \(\tilde{S} _{1}(x)\) and \(\tilde{S} _{2}(x)\) have the same order of magnitude, thus with the Cauchy-Schwarz inequality we get a good lower bound for \(\tilde{S}_{0}(x)\). Furthermore we have the inequality \(\tilde{S} _{0}(x) \leq S_{0}(x)\), so we get a lower bound for S 0(x). This gives us our final result.
Theorem 1.4
For x ≥ 3 we have
with \(C_{o} = \frac{\pi } {4}\prod \limits _{p\equiv 3(4)}(1 - p^{-2})^{-1}\) .
In other words, the number of sums of two squares of sums of two squares is of order of magnitude \(\frac{x} {\log x}\).
2 Useful Lemmas
First we will prove three lemmas which are useful to prove the theorems.
Lemma 2.1
For fixed \(n,m \in \mathbb{N}\) we get
Proof
Let \(X = \frac{\sqrt{x}} {(\log x)^{(m+n+2)/2}}\). We consider the two integrals over [0, X] and \([X,\sqrt{x}]\) separately, and denote them by I e (x) and I m (x), respectively.
In the integrand of I e (x) the derivative is bounded by
Using this and the estimate \(\frac{t} {\sqrt{\log t}^{m}} \ll X\) we obtain
For the integrand of I m (x) we use Taylor’s formula around \(t = \sqrt{x}\)
For the integral over the error term we compute the derivative term and use trivial bounds for the factors
In the remaining integral for the main term \(\big(\frac{2} {\log x}\big)^{m/2}\) of Taylor’s formula we expand the lower bound to zero. With partial integration and the substitution y = x − t 2 we get an integral similar to the one above, whence
We need to compute the integral. Again we split it into two parts [0, Z] and [Z, x] with \(Z = \frac{x} {(\log x)^{n/2+1}}\) and repeat the estimates to get
The remaining integral \(\int _{0}^{x} \frac{\sqrt{y}} {\sqrt{x-y}}dy\) can be computed exactly with the result \(\frac{x\pi } {2}\) and our claim follows.
Lemma 2.2
The map
is a bijection.
The proof is straightforward.
Lemma 2.3
Let \(k \in \mathbb{N}\) and s > 1∕2. Then for x ≥ 3 we have
Proof
The case s = 1 and k = 1 was proved by Landau (c.f. [2]). Note that nφ 1(n) is Euler’s phi function.
The expression \(\frac{1} {\varphi _{s}(n)}\) can be rewritten as
where μ is the Möbius function. We insert this in our summation to get
We complete the remaining sum into an infinite sum and see
This product converges absolutely for s > 1∕2.
3 Numbers in \(\tilde{\mathcal{S}}\) in Arithmetic Progressions
In this section we prove Theorem 1.2. For simplification we assume k ≥ 2, since in the case k = 1 we can apply the proof of (1.1) with a different constant. In addition, if (q j , r j ) has a divisor which is congruent to 3 (mod 4) there are no solutions, hence the inequality is true. If (q j , r j ) has a prime divisor p ≡ 1 (mod 4), we can simply divide it out without changing the condition \(q_{j}n + r_{j} \in \tilde{\mathcal{S}}\). Hence we assume without loss of generality that (q j , r j ) = 1. We use Selberg’s sieve, c.f. [1, Theorem 6.4, p. 10]. Let
Then the cardinality of \(\{n \leq x\mid (Q(n),\mathcal{P}) = 1\}\) is an upper bound for the quantity we want to bound.
Consider the function ρ(d) = #{a (mod d)∣Q(a) ≡ 0 (mod d)}. We see that ρ( p) ≤ min{k, p} for \(p\mid \mathcal{P}\). In particular it is ρ( p) = k if \((\,p,\mathcal{Q}) = 1\). By the Chinese remainder theorem, ρ is multiplicative. Hence we get
where τ k is the k-th iterated divisor function \(\sum _{a_{1}\cdots a_{k}=n}1\).
We define the multiplicative function g by \(g(\,p) = \frac{\rho (\,p)} {p-\rho (\,p)}\) for primes \(p\mid \mathcal{P}\), g( p) = 0 for \(p \nmid \mathcal{P}\) and g( p ν) = 0 for all p and all ν ≥ 2. For a parameter z to be chosen later let \(Z =\sum \limits _{d\leq z}g(d)\). Therefore by Selberg’s sieve
Hence we need to find a lower bound for Z to get the information we want. Writing
it is easy to see that Z ≥ Z′.
For the sum Z′ we use Perron’s formula to find a lower bound. It will be useful to use a refined version due to Liu and Ye [4]. Consider the Dirichlet series of Z′, given by the Euler product
where
The function H(s) is holomorphic and nonzero in \(\mathrm{Re}\,s> -\frac{1} {2}\). The finite product D′(s) also is a holomorphic function and bounded by
where φ s is as in (1.2). Define F 2(s + 1) = ζ(s + 1)L −1(s + 1, χ −4)H 2∕k(s)s, then F is holomorphic in the zero-free region of the L-function as in [6, II §5.4] and we get D(s) = F k(s + 1)s −k∕2 D′(s).
Let 2 ≤ T < z be a parameter which we choose later. For the error terms in Perron’s formula we need to bound the quantity
The last bound follows by [5, Theorem 2]. The second part of the error term is given by
where we choose \(b = \frac{1} {\log z}\).
By applying Perron’s formula in the version of [4, Corollary 2.2] we get
Now we integrate over the same contour as in Tenenbaum [6, II §5.4] but shifted to zero, so that the order of the singularity at 0 is \(\frac{k} {2} + 1\).
We split the contour into various pieces
with \(r = \frac{1} {\log z}\) and δ > 0 is chosen so small that
for \(\sigma> 1 - \frac{\delta } {2\log (2+\vert t\vert )}\) (see [6, p. 262]).
For the parts γ i with i = 1, 2, 6, 7 an upper bound for D′(s) is given by the function \(\varphi _{1-\delta '}^{-2k}(\mathcal{Q})\) with \(\delta ' = \frac{\delta } {2\log 2}\). We get for γ 1 and analogously for γ 7 the bound
For the parts γ 2 and γ 6 the bound is given by
We choose \(T =\exp ( \frac{\delta }{2}\sqrt{\log z})\) to optimize the error term composed from (3.2), (3.3) and (3.4).
By writing Υ′ = γ 3 γ 4 γ 5 for the contribution not yet considered we get with the bounds from (3.2), (3.3) and (3.4) the asymptotic formula
The remaining integral does not have an explicit solution, but by using the Taylor expansion
we obtain
The product D′(0) is bounded from below by \(\varphi _{1}^{k}(\mathcal{Q})\). Now we change I h (z) by the substitution \(s = \frac{w} {\log z}\) into the form of Theorem 5.2 from [6, II §5.2]. Let Υ be the resulting contour from Υ′. Applying Corollary 2.1 of [6, II §5.2], for Hankel’s contour we get
for some ν > 0.
To compute the integral I e (z) we use trivial bounds on the circle and on the lines separately to get \(I_{e} \ll \varphi _{1}^{-k}(\mathcal{Q})\log \mathcal{Q}(\log z)^{k/2-1}\). Combining the obtained results we get a lower bound for Z′ and hence for Z. The error terms from Perron’s formula and from the other pieces of the contour (3.5) combine with I e (x) to give
The error terms in Eqs. (3.1) and (3.6) are optimized by choosing \(z = \frac{x^{1/2}} {(\log x)^{d}}\) with \(d = \frac{1} {2}(\frac{k} {2} + 1 + 3^{k})\) and we get
4 Proof of Theorem 1.1
In this section we find an asymptotic formula for S 1(x).
Let r 0(n) be the characteristic function on the numbers that can be written as a sum of two squares. By rewriting the sum in terms of r 0(n) and (1.1) we get
By applying partial summation and once more (1.1) we get the integrals
The boundary expression vanishes since \(\lim \limits _{ a\rightarrow \sqrt{x}} \frac{\sqrt{x-a^{2}}} {\sqrt{\log (x-a^{2 } )}}\big(1 + (\log (x - a^{2}))^{-1}\big) = 0\). With Lemma 2.1 at our disposal the computation of M(x) and E(x) is simple.
For M(x) we have m = n = 1 and hence
The error term E(x) has two integrals, where in the first one we have m = 3, n = 1 and in the second one m = 1, n = 3. Since Lemma 2.1 is symmetric in n and m it yields \(E(x) \ll \frac{x} {(\log x)^{2}}\).
Combining these two terms we conclude that
The asymptotic formula for \(\tilde{S} _{1}(x)\) is almost the same as S 1(x), and for x ≥ 3 we get
5 Proof of Theorem 1.3
The upper bound of \(\tilde{S} _{2}(x)\) requires a bit more work. Opening the square we have
We need to understand the summation condition a 2 + b 2 = c 2 + d 2. The diagonal term is \(\tilde{S} _{1}(x)\) which we have bound above. Hence we can assume that {a, b} ≠ {c, d} and the condition a 2 + b 2 = c 2 + d 2 is equivalent to (a + d)(a − d) = (c + b)(c − b). Using Lemma 2.2 this can be rewritten with \(s,t,u,v \in \mathbb{N}\) with (s, u) = 1 as
Without loss of generality we can assume that a > b and c > d, then the condition \(a,b,c,d \in \tilde{\mathcal{S}}\) changes to st + uv, st − uv, ut + sv, \(ut - sv \in \tilde{\mathcal{S}}\). It follows that
Now we want to apply Theorem 1.2. We fix u, t, v and think of s as our variable. In accordance with Theorem 1.2, we define \(\mathcal{Q} = tv(t - v)(t + v)(t^{2} + v^{2})\).
In the case t = v our conditions imply that t(s ± u) > 0 and t(u ± s) > 0 which is obviously impossible.
In the following let t ≠ v, so that \(\mathcal{Q}\neq 0\). Isolating the sum over s we get
We use Theorem 1.2 to calculate the inner sum, and obtain
with δ′ defined in Sect. 3. For the sum over t, u, v we get the condition v < t, since \(\frac{uv} {t} <\frac{ut} {v}\). Furthermore in the term \(\varphi _{1}^{4}(\mathcal{Q})\) we split the product \(\mathcal{Q}\). To this end a short look at the definition shows that φ s (nm) ≥ φ s (n)φ s (m) and with the Hölder inequality it follows that
where r(n) counts the number of solutions a 2 + b 2 = n.
First we compute the sum over v and use \((\log \frac{ut} {v} )^{-2} <(\log u)^{-2}\). Using Lemma 2.3 to compute the remaining sum over v we get
With partial integration we get for the sum over tlogt the upper bound
There remains the sum over u for which once again we use partial summation. We obtain
Hence the first factor of (5.1) is computed.
Using r(n) = ∑ d | n χ −4(d) the second factor of (5.1) can be transformed similarly as in Lemma 2.3 and it follows that
And the sum over u can be computed as above to get
Combining these two results we get
For the sums over \(\frac{\log \mathcal{Q}} {\varphi _{1}^{4}(\mathcal{Q})}\) and \(\varphi _{1-\delta '}^{-8}(\mathcal{Q})\) the argument is the same and it follows in the same way that
and
Combining these two results we get the final bound
6 Final Result
Theorem 1.4 is now a consequence of the Cauchy-Schwarz inequality. We have
Thus
By replacing \(\tilde{S} _{2}(x)\) with (1.3) and \(\tilde{S} _{1}(x)\) with (4.1) we get the lower bound stated in Theorem 1.4.
On the other hand we have S 0(x) ≤ S 1(x), which yields the upper bound.
References
H. Iwaniec, E. Kowalski, Analytic Number Theory. American Mathematical Society Colloquium Publications, vol. 53 (American Mathematical Society, Providence, 2004)
E. Landau, Über die Zahlentheoretische Funktion φ(n) und ihre Beziehung zum Goldbachschen Satz. Nachr. Ges. Wiss. Goettingen, Math.-Phys. Kl. 1900, 177–186 (1900)
E. Landau, Über die Zerlegung der Zahlen in zwei Quadrate. Annali di Matematica 20 (1), 1–28 (1913)
J. Liu, Y. Ye, Perron’s formula and the prime number theorem for automorphic L-functions. Pure Appl. Math. Q. 3 (2), 481–497 (2007)
P. Shiu, A Brun-Titschmarsh theorem for multiplicative functions. J. Reine Angew. Math. 313, 161–170 (1980)
G. Tenenbaum, Introduction to Analytic and Probabilistic Number Theory. Cambridge Studies in Advanced Mathematics (Cambridge University Press, Cambridge, 1995)
Acknowledgements
I am very grateful to Prof. Valentin Blomer for suggesting this topic to me and his constant advice and encouragement.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Jakob, R.U. (2016). Sums of Two Squares of Sums of Two Squares. In: Sander, J., Steuding, J., Steuding, R. (eds) From Arithmetic to Zeta-Functions. Springer, Cham. https://doi.org/10.1007/978-3-319-28203-9_14
Download citation
DOI: https://doi.org/10.1007/978-3-319-28203-9_14
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-28202-2
Online ISBN: 978-3-319-28203-9
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)