On the Density of Sequences of Integers the Sum of No Two of Which is a Square II. General Sequences J. C. Lagarias A.. Odlyzko J. B. Shearer* AT&T Labs - Research urray Hill, NJ 07974 1. Introduction P. Erdȯ. s and D. Silverman (see [4]) posed the problem of determining the maximal density attainable by a set S = { s i } of positive integers having the following property. PROPERTY NS. s i + s j is not a perfect square for all i j. J. P. assias [8] observed that the set S 1 of integers consisting of all x 1 (mod 4) together with all x 14, 6, 30 (mod 3) has property NS and density _ 11. In a previous paper [6] we proved the 3 following result. Let d(s) denote the natural density of a sequence S. Theorem A. Let S be a union of arithmetic progressions (mod N) having property NS. Then the density d(s) _ 11 with equality possible only if 3 N. For all other N, d(s) _ 1 _. 3 3 In this paper we bound the maximal upper asymptotic density d _ (S) = lim sup _ 1 _ S [ 1,N] N N attainable for an arbitrary sequence S having property NS. It is easy to see that this density cannot exceed 1/, for any square n excludes 1 the positive integers smaller than n, since at most one element of each pair (k, n k) can be in a set S having property NS, while for each ε > 0 there is a square between x and ( 1 + ε) x for all sufficiently large x. Our main result applies to finite sets. Let S denote a finite set with all elements N which has property NS, and let * Current address: University of California, Berkeley, CA 9470.
- - d(n) = max S _ S (1.1) N denote the maximum density of such a set in [ 1,N]. Our main result is the following. Theorem B. There exists an absolute constant N 0 such that for all N N 0, d(n).475. (1.) Theorem B is proved using the Hardy-Littlewood circle method, based on an idea used in [6]. It immediately implies that the upper asymptotic density d _ (S) of an infinite sequence having property NS must satisfy d _ (S).475. (1.3) The bound (1.) can be improved by extending the methods used in this paper, but we see no hope of attaining an upper bound near to _ 11 without some new ideas. (In fact, it may well be that sequences with 3 d _ (S) > _ 11 exist.) 3 The methods of this paper also apply to the analogous problem of bounding the maximal density attainable by a sequence S = { s i } of positive integers having the following property. Property NP(k). s i + s j is not a perfect k th power for all i j. For k = p 1 where p is an odd prime the set S p = { x : x i (mod p), 1 i _ p 1 } has property NP(k), since x k 0 or 1 (mod p) for all x. S p has density _ 1 1. By an adaptation of the method of p this paper it can be shown that for any sequence S with Property NP(k), d _ (S) 1 c 0 (k), where c 0 (k) is a positive absolute constant depending on k. It is interesting to note that the density behavior of sets having property NS differs completely from that of sets S having the following property Property DS. s i s j is not a perfect square whenever i j. Sa rkȯ. zy [9] has shown that any sequence having property DS must have density zero; he shows the
- 3 - number of elements x in such a set is O x ( log log x) /3 ( log x) 1/3. In another related direction, Erdȯ. s [3] has proposed the following problem: Given a sequence n 1 < n <... of positive integers with n i + 1 / n i 1 as i, and such that the n i are uniformly distributed modulo d for every d, does it follow that if S = { s i } is an infinite sequence of positive integers for which s j + s k n i for all i, j,k, then d _ (S) < 1?. Proof of the ain Theorem In this section we prove Theorem B assuming certain results proved by the circle method in later sections. Proof of Theorem B. Let S be a subset of [ 1,N] having Property NS. We wish to bound Sfrom above. Let G *(N) denote the graph having N vertices labelled 1 through N, and in which { i, j } is an edge if and only if i + j = k (.1) for some integer k. Note that G *(N) contains loops at those vertices i with i = 1 k. If α*(n) denotes the independence number of the graph G *(N) then d(n) α*(n) + N 1/, (.) N since if S [ 1,N] has Property NS, it consists of an independent set in G *(N) plus some integers j such that j = k, and there can only be N 1/ of those. Thus the problem is that of bounding the independence number of G *(N). We may compare G *(N) with the graph G(N) of [6], in which { i, j } was an edge if and only if i + j k ( mod N ). All edges of G *(N) are edges of G(N), but G *(N) has O(N 3/ ) edges, while for any ε > 0 and all N > N 0 (ε), G(N) has at least N ε edges. In [6] we showed the independence number α(n) of G(N) satisfies α(n) _ 11 N. We may expect a weaker bound here since G *(N) has many fewer edges than 3 G(N) and hence, presumably, a larger independence number.
- 4 - As in [6] we view the problem of calculating the independence number α(g) of a graph G as that of solving the following 0 1 integer programming problem: aximize subject to Z = Σ n x i (.3) i = 1 x i + x j 1, (.4) if { i, j } is an edge of G. We will obtain an upper bound for (.3) by first replacing the constraints (.4) with a set of weaker constraints implied by (.4), and second by treating the resulting program as a linear program with the added constraints for all i. 0 x i 1, (.5) The weaker constraints we consider are obtained as follows. If H is a subgraph of G the constraints (.4) for G imply Σ x i α(h), (.6) i V(H) where V(H) is the set of vertices of H. For example, if H is a ( s + 1 )-cycle, then α(h) = s. We will use a subset of the constraints where C s + 1 is any ( s + 1 )-cycle in G *(N). Σ x i s, (.7) i V(C s + 1 ) We can produce a large number of explicit ( s + 1 )-cycles in G *(N) using simple identities involving sums of squares. Let y 0,...,y s be s + 1 integers such that For 0 k s set Σ s y i 0 ( mod ). (.8) i = 0 n k = Σ s ( 1 ) i y k + i + 1 (.9) i = 0 where the subscripts on the y k + i + 1 are interpreted (mod s + 1). The congruence (.8) is a necessary and sufficient condition that all the n k be integers. A calculation shows that
- 5 - for 0 k s 1, and that n k + n k + 1 = y k + 1 (.10) n 0 + n s = y 0. (.11) Consequently if all the n k s are positive then (n 0,n 1,...,n s ) is a ( s + 1 )-cycle in G *(N). We label this cycle C(y 0,y 1,...,y s ). A sufficient condition to guarantee that all of (n 0,n 1,...,n s ) be positive is that all the y i be nearly equal in size. Such a condition is given by for any > 0 and any ε with ( 1 ε) y i, 0 i s, (.1) To see this, we note that (.9), (.1), and (.13) imply 0 < ε < 1. (.13) s + 1 n k > (s + 1 ) ( 1 ε) s 0. Next note that the constraint (.7) corresponding to C(y 0,y 1,...,y s ) is Σ s x n k s. (.14) k = 0 We now consider the linear program L s having the objective function (.3) and the constraints (.5) and (.14) for all C(y 0,...,y s ) satisfying (.1), for a fixed value of s. Let y = (y 0,...,y s ). If we add up the constraints C(y) in (.14) weighted with nonnegative weights w(y) we obtain where Σ N r(n) x n = n = 1 Σ w(y) Σ s x n k y k = 0 s y Σ w(y), (.15) r(n) = Σ m n (y) w(y), (.16) y and m n (y) is the number of times n occurs as a component in the vector (n 0,...,n s ) corresponding to y via (.9). Note that we have the identity Σ N r(n) = ( s + 1 ) n = 1 Σ y w(y), (.17) since each y produces a vector of s + 1 n j s. If we can find nonnegative weights w(y) such that (.16) gives
- 6 - then r(n) 1, 1 n N, (.18) Z Σ N n = 1 r(n) x j s( Σ w(y) ) y s s + 1 Σ N r(n) (.19) n = 1 using (.15) and (.17). If furthermore we obtain the upper bound r( j) µ, 1 j N, (.0) Z s µ N, (.1) s + 1 i.e., d(n) s µ. In linear programming terms the w(y) are dual variables and (.18) are the s + 1 conditions that the w(y) s be a dual feasible solution. Dual feasible solutions always provide an upper bound on the primal problem s objective function, which in this case is (.19). We have now transformed the problem to that of finding a "good" choice of the nonnegative weights w(y) so as to make all the r( j) nearly equal as given by (.18) and (.0). Now the formula (.16) for r( j) shows that it is a weighted sum over those y such that n = Σ s ( 1 ) i y i, (.) i = 0 for some k, i.e., over representations of n by the indefinite diagonal quadratic form Q(z) = Σ s ( 1 ) i z i. (.3) i = 0 We can count the number of weighted integral representations of such a form satisfying certain side conditions using the Hardy-Littlewood circle method. Let r *,ε ( n) denote the number of ordered ( s + 1 )-triples of integers z = (z 0,z 1,...,z s ) such that n = Q(z) and ( 1 ε) z i (.4) for 0 i s, and such that all the z i are distinct. Using the circle method, in Section 3 we will prove the following result.
- 7 - Theorem C. Let s, and suppose 0 < ε < 1. There is a constant δ 4 (s + 1 ) r,ε > 0 such that * ( n) = s 1 n G s ( n) f ( ) + O( s 1 δ ), (.5) where the O-constant depends on s and ε, but not on n and. Here: (i) For all positive integers n, G s ( n) satisfies for certain constants c 1 (s) and c 0 (s). c 1 (s) G s ( n) c 0 (s) (.6) (ii) f (t) is a continuously differentiable function which is nonnegative and not identically zero. It vanishes outside the interval I ε,s given by 1 (s + 1 ) ε + (s + 1 ) ε t 1 + sε sε. (.7) In this theorem G s ( n) is the singular series; it is defined by (3.18) below. The proof of Theorem C shows that we can take δ = 1, a constant independent of, s, and ε. In addition we note that the 1 conditions on ε and s insure that I ε,s [ 1, ]. The constant c 0 (s) is strictly positive for s, as will be seen in Section 4. We can use Theorem C to obtain weights w(y) so as to obtain r(n) r,ε ( n). However r,ε (n) fluctuates greatly in size in the interval 0 n N due to the term f ( n ). We damp out these fluctuations by choosing weights that involve a further averaging over the parameter. We first set provided that w(y,) = s (.8) ( 1 ε) y i, 0 i s, (.9) and that all the y i are distinct. Otherwise we set w(y,) = 0. Our choice of weights is w(y) = Σ w(y,), (.9) where the prime in this and later summations indicates it is over all integers in the range ε N < < ( 3 ε) N. (.30)
- 8 - Lemma.1. For s and the choice of weights w(y) given by (.9), (,30), there are positive constants c and δ such that for ε N < n < ( 1 ε) N. In any case r(n) = c G s ( n) + O(N δ ) (.31) r(n) c G s ( n) + O(N δ ) (.3) for 1 n N. The O-symbol constants depend on s and ε, but not N. Proof. Recall Q(y) = Σ s ( 1 ) i y i and let i = 0 w *( n) = = Σ y Q(y) = n yσ Q(y) = n Σ w(y, ) w(y) = Σ s r*,ε ( n) = = Σ { 1 G s ( n) f ( _ n Σ 1 n G s ( n) f ( ) + O( 1 δ ) } ) + O( (ε N ) δ (.33) ), using Theorem C. Since ε > 0 is fixed, we can replace the error term in (.33) by O( 1 δ ). Now using Σ 1 n f ( ( 3 ε) N ) = ε N t 1 n 1 f ( t ) dt + O(N ), (.34) f (t) K 0 (ε,s), t ε (, ). The change of variables u = t yields n Σ 1 n f ( ) = ( 3 ε) N n ε N n u 1 f (u ) du + O(N 1 ). (.35)
- 9 - For ε N n ( 1 ε) N, the range of integration in (.35) includes [ 1, ], hence using Theorem C (ii) we have where Σ 1 n f ( 1 ) = c 3 + O(N ), (.36) Then (.33) and (.36) yield c 3 = 1/ u 1 f (u ) du. w *( n) = c 3 G s ( n) + O( δ ), (.37) with δ = min ( 1 δ, 1 ), for n in the range ε N n ( 1 ε) N, and for 1 n N. w * ( n) c 3 G s ( n) + O(N δ ) (.38) A counting argument now shows that To prove (.39), let σ i be the cyclic permutation acting on y by r(n) = ( s + 1 ) w ( n). (.39) σ i (y j ) = y i + j, where subscripts are interpreted (mod s + 1). Note that the definitions (.8)-(.30) guarantee that w(σ i (y) ) = w(y) (.40) for all σ i, 0 i s. The condition that y has distinct coordinates implies that σ i (y) y (.41) for 0 i s. Now each w(y) weights s + 1 n i s, (see (.9)) but only the weights corresponding to n 0 s are counted in w * (n). The permutation σ i sends y to σ i (y), and n 0 (σ i (y)) = n i (y). This gives a one-to-( s + 1 ) weight-preserving map (by (.40)) from the set {(y, n 0 (y)) all y} onto {(y, n i (y)) all y, 0 i s }, which proves (.39). The lemma follows from (.37)-(.39), with c = c 3 ( s + 1 ).
- 10 - Lemma.1 shows that the choice of weights (.9) has eliminated almost all fluctuations in the resulting r(n), except those due to the singular series. By increasing s we can reduce the fluctuations in the singular series given by (.6). In Lemma 4.3 we prove that for s = 7 and all n, 1. 0085 G 7 (n) 0. 9915. (.4) Now choosing s = 7 and applying (.4) with Lemma.1 and (.19), we obtain 0. 9915 c Z n = 1 Σ N N Σ c G 7 ( n) x n n = 1 r(n) x n + 1. 0085 c ( εn) + O(N 1 δ ) 7 15 Σ N r(n) + 1. 0085c ( εn) + O(N 1 δ ) n = 1 7 c 15 Σ N G 7 ( n) +. 017 c εn + O(N 1 δ ) n = 1 c ( 1. 0085 )( 7 + ε) N + O(N 1 δ (.43) ). 15 The term. 017 c εn arises from n in the intervals [ 0, εn] and [ ( 1 ε) N, N] where (.3) was used. Choosing ε =.0001 < 1 and dividing by c 4 (s + 1 ), we obtain For sufficiently large N > N 0 it follows that Z.4747 N + O(N 1 δ ). the desired result. Z.475 N, (.44) Remark. There are a number of ways to improve the above bound. For example, it is easy to see that Σ N G s ( n) = N + O(N). n = 1 If we used this in the inequalities leading to (.43) instead of (.4) we would obtain
- 11 - Z <.4707 N. Further improvements are possible because G s ( n) depends largely on the residue classes of n modulo small prime powers, and so cannot be close to its lower bound too often. To get substantial improvements, however, we would need to take s much smaller than 7. (The circle method as we use it here works only for s, but since we only need results that hold for most values of n, rather than all n, we could modify the method to work for s = 1 as well.) For small s, however, the G s ( n) factors oscillate wildly, and to smooth out the oscillations we would need to consider weights w(y,) that depend on the congruence properties of y 0,...,y s. This can be carried out (cf. [7]), but the proofs are quite cumbersome, and since it seems that they would not yield a bound close to _ 11 N, we have not pursued this subject further. 3 3. Application of the circle method In this section we prove Theorem C following a version of the circle method incorporating improvements of I.. Vinogradov, which is described in Davenport [, pp. 9-48]. Since this proof is a relatively routine variant of the circle method, we shall only sketch the details. Proof of Theorem C. We shall first estimate the number of representations r,ε (n) of (y 0,...,y s ) of for which n = Σ s ( 1 ) i y i (3.1) i = 0 where the y i need not be distinct. ( 1 ε) y i, 0 i s, (3.) We suppose s and ε are fixed, 0 < ε < 1. will be a large variable integer, and we set 4 (s + 1 ) 1 = [( 1 ε) ]. The circle method involves study of the trigonometric sum where T(α) = Σ e(αx ), (3.3) x = 1
- 1 - Clearly we have e(α) = exp ( π α). r,ε (n) = 1 T(α) s + 1 T( α) s e( nα) dα. (3.4) 0 We estimate this integral by dividing the interval [0,1] into major and minor arcs. We take a parameter δ, to be chosen later, which satisfies 0 < δ < 10 1, and define the major arcs m a,q to be the sets m a,q with 1 q δ and (a,q) = 1, 1 a q, where m a,q = {α: 0 α < 1, α q a < + δ }. (3.5) (We consider α modulo 1 here.) Let U denote the union of the major arcs and let V be its complement, the minor arcs. We obtain the minor arcs estimate as in Davenport [, p. 0]. (Note Davenport s s is our s + 1.) Lemma 3.1. (inor Arcs Estimate) We have for a fixed δ 1 > 0 depending on δ. T(α) s + 1 T( α) s dα = O( s 1 δ 1 ), (3.6) V An examination of Davenport s proof shows we may take δ 1 = δ/ + η for any fixed η > 0. We next treat the major arcs. Analogously to [, Lemma 4, p. ] we obtain: Lemma 3.. Let α m a,q, and set β = a / q α. We have where T(α) = q 1 S a,q I(β) + O( δ ), is a Gaussian sum, and where S a,q = Σ q e( _ a _k ) (3.7) k = 1 q I(β) = 1 e(βt ) dt. Summing up over all the major arcs and making a change of variables leads to the following. (See [, Lemma 5, p. 3])
- 13 - Lemma 3.3. (ajor Arcs Estimate). We have T(α) s + 1 T( α) s e( nα) dα = s 1 G(n, δ ) J(n, δ ) U + O( s 1 δ ), (3.8) where δ = 1 5δ > 0, and where G(n, δ ) = Σ q δ Σ q a = 1 (a,q) = 1 q s 1 S a,q s S a,q e( q na ) (3.9) and where J(n, δ ) = H(γ) s + 1 H( γ) s e( nγ ) dγ, (3.10) γ< δ H(γ) = We next approximate J(n, δ ). We define 1 1 ε e(γt ) dt. (3.11) f (u) = This integral converges, since we have H(γ) s + 1 H( γ) s e( γu) dγ. (3.1) H(γ) = O(γ 1 ) (3.13) as γ, a fact checked by letting x = t in (3.11) and integrating by parts. Comparing (3.1) and (3.11) using the bound (3.13), absolute value estimates yield J(n, δ ) = f ( n ) + O( δs ). (3.14) We claim f (u) is a real-valued nonnegative function which vanishes outside the interval I = I s,ε defined by 1 (s + 1 ) ε + (s + 1 ) ε u 1 + sε sε. (3.15) To see this, we note using (3.11) that H(γ) is the Fourier integral transform of H(γ) = h(u) e(γu) du
- 14 - h(u) = 1 1 u 0 ( 1 ε) u 1, elsewhere, (3.16) and H( γ) the Fourier integral transform of h * (u) = h( u). But (3.1) says f (u) is the inverse Fourier integral transform of H(γ) s + 1 H( γ) s, which implies that f (u) is given by the repeated convolution where f (u) = [h 1 (u)... h s + 1 (u) ] [h s + (u)... h s + 1 (u) ], (3.17) h i (u) = h(u) 1 i s + 1, h * (u) s + i s + 1. Using the definitions of h(u) and h * (u), the expression (3.17) shows f (u) is real and nonnegative, and that it vanishes outside the interval (3.15). The fact that s shows that f (u) in (3.17) is continuously differentiable, since h(u) and h * (u) are piecewise continuous. We next approximate G(n, δ ) by the singular series G s (n) defined by G s (n) = Σ q s 1 Σ q S a,q s S a,q e( _ na ), (3.18) a = 1 q (a,q) = 1 q = 1 provided this sum converges absolutely. Since S a,q is a Gaussian sum, we have where ( q a ) is the Jacobi symbol, and we can rewrite G s (n) as S a,q = ( q a ) S 1,q, (3.19) where G s (n) = Σ q s S 1,q s A q (n), (3.0) q = 1 A q (n) = q 1 Σ q a = 1 S a,q e( _ na ). q (3.1) (a,q) = 1 The quadratic Gaussian sum is explicitly evaluated to be (e.g., [1, Theorem 4.15]):
- 15 - Hence S 1,q = ( 1 + i) q q 0 i q q 0 (mod 4 ), q 1 (mod 4 ), q (mod 4 ), q 3 (mod 4 ). (3.) Absolute value estimates show that S a,q q. A q (n) < q. and hence that (3.18) converges for s, and that for all n Similar absolute value estimates give G s (n) < c 1 (s) = s + 1 ζ(s 1 ). (3.3) G s (n, δ ) = G s (n) + O( s + 1 δ(s 3 ) ). (3.4) Combining lemmas 3. and 3.3 with (3.14), (3.3) and (3.4) we obtain for s that r,ε (n) = s 1 G s (n) f ( n ) + O( s 1 δ ), (3.5) where δ = min [ δs, δ(s 3 ) + η, 1 5δ, δ + η] for any η > 0. We can choose δ = 1 by 1 taking δ slightly exceeding 6 1. Here G s (n) and f (x) satisfy (i), (ii) of Theorem C, by (3.15) and an earlier remark. Theorem C will be proved if we show that for s, r *,ε (n) = r,ε (n) + O( s + 1/10 ). (3.6) Let r i j (n) denote the number of solutions to (3.1), (3.) with y i = y j, so that r,ε (n) r *,ε (n) But r i j (n) is exactly the number of solutions to Σ s i = 0 Σ r i j (n). (3.7) j i Q i j (y) = n, where Q i j is a diagonal quadratic form in either s or s 1 variables and all the variables satisfy ( 1 ε) y i.
- 16 - If we now fix all but of the variables, we will have O( η ) solutions for each η > 0, which yields the desired result. 4. The Singular Series In this section we evaluate the singular series G s (n) in Theorem C, in order to obtain the bound (.44). Again the method is standard, as in []. We first examine the expressions A q (n) given in (3.1). Lemma 4.1. We have A q (n) = _ φ(q) q Σ q µ( q ) (q,x n). (4.1) q φ( ) (q,x n) x = 1 oreover, A q 1 q (n) = A q 1 (n) A q (n) if (q 1,q ) = 1. Proof. From (3.1) we obtain A q (n) = q 1 k = 1 Σ q a = 1 (a,q) = 1 Σ q e( q a (k n) ) = q 1 Σ q c q (k n), (4.) k = 1 where c q (m) is Ramanujan s sum. This sum can be evaluated explicitly [5, Theorem 7] as c q (m) = µ( _ q ) φ(q), (4.3) d q φ( _ ) d where d = (q,m). This proves (4.1). The multiplicativity of A q (n) follows from the multiplicativity of µ(k) and φ(k). We can now represent G s (n) as an Euler product, using (3.0) and noting that q s S 1,q s is multiplicative. We obtain G s (n) = Π ( 1 + ξ p (n)), (4.4) p where the product is over all primes p, and where by (3.) we find for odd p that
- 17 - and that ξ p (n) = Σ p ks A k p (n), (4.5) k = 1 ξ (n) = The next step is to evaluate explicitly all the A p k (n). Σ (k 1 ) s A k (n). k = 1 Lemma 4.. If p is an odd prime then A p (n) = ( p n ) and for k 1, If p = then A (n) = 0 and for k 1 n / p k p k A k + 1 p (n) = p 0 p (p 1 ) A k p (n) = p k 1 0 if p k n, otherwise, if p k n, if (p k 1 ) n, otherwise. A k + 1 (n) = k k 0 if n k (mod k + 1 ), if n k + k (mod k + 1 ), otherwise, A k (n) = k 1 k 1 0 if n 0, k (mod k ), if n k 1, 3. k (mod k ), otherwise. Proof. These are derived from (4.1). The only nonzero contributions to A q (n) for q = p k come from those x with (q,x q) = q and (q, x q) = p k 1, and so where A k p (n) = p 1 { p A k p (n) Ap k (n) }, (4.6)
- 18 - A p k (n) = { x : 1 x p k, x n (mod p k ) }. A k p (n) = { x : 1 x p k, x n (mod p k 1 ) }. Suppose p is odd. Then A p (n) = 1, or 0 according as pn, n is a quadratic residue (mod p ), or n is a quadratic nonresidue (mod p), respectively. On the other hand A p (n) = p in all cases. Hence A p (n) = ( p n ) using (4.6). We next treat A p (n). Here A p (n) = p, 0,, 0 in the four cases p n, p n, p / n and ( p n ) = 1, p / n and ( p n ) = 1, respectively. Similarly A p 3 (n) = p,p, p, 0. If p / n then A k p (n) = A k p (n) = 0. If p n, however, then A p k (n) = p A k 1 p ( n p ), A k p (n) = p A k p ( n p ). The lemma follows for odd p. The analysis for q = k is similar and is omitted. We now estimate G 7 (n). (Note that somewhat better estimates can be obtained by bounding ξ p (n) from above and below, instead of estimating ξ p (n).) Lemma 4.3. For all n, Proof. Using Lemma 4., we have for odd p that 1. 0085 G 7 (n) 0. 9915. (4.7) A p k (n) Applying this when s = 7 in (4.5) we obtain p k p 1 k if / k, if k.
- 19 - ξ p (n) Σ p 7 ( k 1 ) + (k 1 ) + k = 1 Σ k = 1 p 7 ( k) + k = p 7 1 p 13 + p 13 1 p 13 = p 6 + 1. (4.8) p 13 1 Also from Lemma 4., Hence using A (n) = 0 we obtain A k (n) k 1 k 1 if / k, if k. ξ (n) Σ 7 ( k) + k + k = 1 Σ 7 ( k 1 ) + (k 1 ) p k = 1 13 1 13 + 7 1 13 6 + 1. (4.9) 13 1 Hence G(n) _ 860 8195 G(n) _ 8130 8195 Π p 1 + 6 + 1 p 13 1 p p 3 Π p 1 6 + 1 p 13 1 p p 3 1. 0085, 0. 9915. (sq
- 0 - References [1] R. Ayoub, An Introduction to the Analytic Theory of Numbers, athematical Surveys No. 10, American athematical Society, Providence, R.I., 1965. [] H. Davenport, Analytic methods for Diophantine equations and Diophantine inequalities, Ann Arbor Press, Ann Arbor, ichigan 196. [3] P. Erdȯ. s, Problem 68, Problems from West Coast Number Theory Conferences, (R. Guy, Ed.). [4] P. Erdȯ. s and R. L. Graham, Old and New Problems and Results in Combinatorial Number Theory, onographie de l Enseignement athematique No. 8, 1980. [5] G. H. Hardy and E.. Wright, An Introduction to the Theory of Numbers (4th Edition), Oxford University Press 1960. [6] J. C. Lagarias, A.. Odlyzko and J. B. Shearer, On the density of sequences of integers no two of which sum to a square I. Arithmetic progressions. J. Combinatorial Theory, Series A, to appear. [7] A. V. alyshev, On the representation of integers by positive quadratic form (Russian), Trudy at. Inst. Steklov. 65 (196), 1 pp. [8] J. P. assias, Sur les suites dont les sommes des termes a m sont par des carres, to be published. [9] A. Sa rkȯ. zy, On difference sets of sequences of integers I. Acta ath. Acad. Sci. Hungar. 31 (1978), 15-149.
On the Density of Sequences of Integers the Sum of No Two of Which is a Square II. General Sequences J. C. Lagarias A.. Odlyzko J. B. Shearer* AT&T Labs - Research urray Hill, NJ 07974 ABSTRACT This paper studies the maximal density attainable by a sequence S of positive integers having the property that the sum of any two distinct elements of S is never a square. It shows there is a constant N 0 such that for all N N 0 any set S [ 1,N] having this property must have S <.475N. The proof uses the Hardy-Littlewood circle method. * Current address: University of California, Berkeley, CA 9470.