Every Positive Integer is the Sum of Four Squares! (and other exciting problems)



Similar documents
k, then n = p2α 1 1 pα k

Homework until Test #2

Math 319 Problem Set #3 Solution 21 February 2002

SUM OF TWO SQUARES JAHNAVI BHASKAR

Applications of Fermat s Little Theorem and Congruences

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)!

2 When is a 2-Digit Number the Sum of the Squares of its Digits?

Lecture 13 - Basic Number Theory.

Math 55: Discrete Mathematics

mod 10 = mod 10 = 49 mod 10 = 9.

Number Theory. Proof. Suppose otherwise. Then there would be a finite number n of primes, which we may

CHAPTER 5. Number Theory. 1. Integers and Division. Discussion

ON FIBONACCI NUMBERS WITH FEW PRIME DIVISORS

ALGEBRAIC APPROACH TO COMPOSITE INTEGER FACTORIZATION

CONTINUED FRACTIONS AND PELL S EQUATION. Contents 1. Continued Fractions 1 2. Solution to Pell s Equation 9 References 12

Continued Fractions and the Euclidean Algorithm

Some practice problems for midterm 2

Introduction. Appendix D Mathematical Induction D1

On the largest prime factor of x 2 1

8 Primes and Modular Arithmetic

SECTION 10-2 Mathematical Induction

Just the Factors, Ma am


Continued Fractions. Darren C. Collins

Congruent Number Problem

Waring s problem, taxicab numbers, and other sums of powers

Revised Version of Chapter 23. We learned long ago how to solve linear congruences. ax c (mod m)

Five fundamental operations. mathematics: addition, subtraction, multiplication, division, and modular forms

U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, Notes on Algebra

MATH 289 PROBLEM SET 4: NUMBER THEORY

Notes on Factoring. MA 206 Kurt Bryan

MATHEMATICAL INDUCTION. Mathematical Induction. This is a powerful method to prove properties of positive integers.

Handout #1: Mathematical Reasoning

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors.

= = 3 4, Now assume that P (k) is true for some fixed k 2. This means that

SYSTEMS OF PYTHAGOREAN TRIPLES. Acknowledgements. I would like to thank Professor Laura Schueller for advising and guiding me

On the generation of elliptic curves with 16 rational torsion points by Pythagorean triples

SUBGROUPS OF CYCLIC GROUPS. 1. Introduction In a group G, we denote the (cyclic) group of powers of some g G by

SCORE SETS IN ORIENTED GRAPHS

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

Handout NUMBER THEORY

On continued fractions of the square root of prime numbers

Prime numbers and prime polynomials. Paul Pollack Dartmouth College

A Study on the Necessary Conditions for Odd Perfect Numbers

CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY

Math 115 Spring 2011 Written Homework 5 Solutions

Settling a Question about Pythagorean Triples

Algebraic and Transcendental Numbers

MATH 537 (Number Theory) FALL 2016 TENTATIVE SYLLABUS

RECURSIVE ENUMERATION OF PYTHAGOREAN TRIPLES

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Solutions for Practice problems on proofs

6.2 Permutations continued

MATH 4330/5330, Fourier Analysis Section 11, The Discrete Fourier Transform

SOLUTIONS FOR PROBLEM SET 2

Doug Ravenel. October 15, 2008

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

n k=1 k=0 1/k! = e. Example 6.4. The series 1/k 2 converges in R. Indeed, if s n = n then k=1 1/k, then s 2n s n = 1 n

Kevin James. MTHSC 412 Section 2.4 Prime Factors and Greatest Comm

The last three chapters introduced three major proof techniques: direct,

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

Today s Topics. Primes & Greatest Common Divisors

Mathematical Induction

arxiv: v2 [math.ho] 4 Nov 2009

Basic Proof Techniques

Lectures on Number Theory. Lars-Åke Lindahl

Breaking The Code. Ryan Lowe. Ryan Lowe is currently a Ball State senior with a double major in Computer Science and Mathematics and

Discrete Mathematics, Chapter 4: Number Theory and Cryptography

ON GALOIS REALIZATIONS OF THE 2-COVERABLE SYMMETRIC AND ALTERNATING GROUPS

Every tree contains a large induced subgraph with all degrees odd

FACTORING POLYNOMIALS IN THE RING OF FORMAL POWER SERIES OVER Z

TOPIC 4: DERIVATIVES

Section 4.2: The Division Algorithm and Greatest Common Divisors

CONTRIBUTIONS TO ZERO SUM PROBLEMS

Lemma 5.2. Let S be a set. (1) Let f and g be two permutations of S. Then the composition of f and g is a permutation of S.

26 Ideals and Quotient Rings


MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

PYTHAGOREAN TRIPLES KEITH CONRAD

Cubes and Cube Roots

3. Mathematical Induction

Triangle deletion. Ernie Croot. February 3, 2010

THE BANACH CONTRACTION PRINCIPLE. Contents

Elementary Number Theory

5.1 Radical Notation and Rational Exponents

Cardinality. The set of all finite strings over the alphabet of lowercase letters is countable. The set of real numbers R is an uncountable set.

Quotient Rings and Field Extensions

V Quantitative Reasoning: Computers, Number Theory and Cryptography

THE NUMBER OF REPRESENTATIONS OF n OF THE FORM n = x 2 2 y, x > 0, y 0

Integer Factorization using the Quadratic Sieve

Winter Camp 2011 Polynomials Alexander Remorov. Polynomials. Alexander Remorov

Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University

11 Ideals Revisiting Z

Page 331, 38.4 Suppose a is a positive integer and p is a prime. Prove that p a if and only if the prime factorization of a contains p.

Prime Numbers and Irreducible Polynomials

The sum of digits of polynomial values in arithmetic progressions

Systems of Linear Equations

Alex, I will take congruent numbers for one million dollars please

Transcription:

Every Positive Integer is the Sum of Four Squares! (and other exciting problems) Sophex University of Texas at Austin October 18th, 00 Matilde N. Lalín 1. Lagrange s Theorem Theorem 1 Every positive integer is the sum of four squares. For instance, 5 = + 1 + 0 + 0, 1 = 4 + + 1 1 + 0, 17 = 11 + + 1 + 1. Proof. We will use the following Euler s identity: (x 1 + x + x 3 + x 4)(y 1 + y + y 3 + y 4) = (x 1 y 1 + x y + x 3 y 3 + x 4 y 4 ) +(x 1 y x y 1 +x 3 y 4 x 4 y 3 ) +(x 1 y 3 x 3 y 1 +x 4 y x y 4 ) +(x 1 y 4 x 4 y 1 +x y 3 x 3 y ) which is very easy to verify. The conclusion is that the product of two numbers that are sum of four squares is also sum of four squares. Hence, since the case of 1 is trivial, and since every natural number > 1 can be decomposed as a product of prime numbers, it is enough to prove the result for prime numbers. The first case is p =, but that follows from = 1 + 1 + 0 + 0. For the case of p odd, we are going to need the following: Lemma If p is an odd prime, then there are numbers x, y, and m such that 1 + x + y = mp 0 < m < p So, for instance, for p = 3 we have 1 + 1 + = 3, for p = 7 we have 1 + + 4 = 3 7. Proof. For x = 0, 1,..., p 1, the numbers x have all of them different congruences modulo p. This is because if x 1 x (modp), then p (x 1 x )(x 1 + x ) x 1 ±x (modp) which is a contradiction. So we have p+1 numbers which are incongruent modulo p. For y = 0, 1,..., p 1, the numbers 1 y are all incongruent modulo p, using the same idea as before. So we have another set of p+1 numbers incongruent modulo p. But there are p + 1 numbers altogether in these two sets, and only p possible residues modulo p. Then at least one number x in the first set must be congruent to a number 1 y in the second set. Hence, x 1 y (modp) x + 1 + y = mp Now x < ( p) and y < ( p ) so, ( p ) mp = 1 + x + y < 1 + < p 1

then m < p. It follows from the Lemma that, for p odd prime, there is an 0 < m < p such that mp = x 1 + x + x 3 + x 4 We are going to see that the least m with that property is m = 1. Let m 0 be the least m with the property. If m 0 = 1 there is nothing to prove. Then we can suppose 1 < m 0 < p. If m 0 is even, then either the x i are all even, or the x i are all odd, or two of them are even and the other two are odd. In this case, say x 1, x are even. Then in all the three cases, x 1 ± x and x 3 ± x 4 are all even and we can write m 0 p = ( ) x1 + x ( ) x1 x ( ) x3 + x ( 4 x3 x 4 + + + and this contradicts the minimality of m 0. Now we choose y i such that y i x i (modm 0 ), y i < m 0 This can be done, since m 0 1 y m 0 1 is a complete set of residues. Now observe that the x i are not all divisible by m 0, since this would imply m 0 m 0 p and m 0 p, a contradiction. As a consequence, we get Then Therefore, and so, y 1 + y + y 3 + y 4 > 0 y 1 + y + y 3 + y 4 < m 0 and y 1 + y + y 3 + y 4 0 (mod m 0 ) x 1 + x + x 3 + x 4 = m 0 p (m 0 < p) y 1 + y + y 3 + y 4 = m 0 m 1 (0 < m 1 < m 0 ) m 1 m 0 p = z 1 + z + z 3 + z 4 where the z i come from Euler s identity. But z 1 = x 1 y 1 + x y + x 3 y 3 + x 4 y 4 x 1 + x + x 3 + x 4 0 (mod m 0) and similarly the other z i are also divisible by m 0. We can write then z i = m 0 w i. Dividing by m 0, we get m 1 p = w 1 + w + w 3 + w 4 and this contradicts again the minimality of m 0. It follows that m 0 = 1. We should also mention that it is possible to compute the number of such representations. We will state without prove the following Theorem 3 Let Q(n) the number of solutions of ) n = x 1 + x + x 3 + x 4

then, writing n = r (t + 1) Q(n) = { 8 S(t + 1) = 8S(n) forr = 0 4 S(t + 1) forr 0 where S(n) = d n d We have seen that four squares are enough to represent any natural number. Three squares are not enough. Indeed, x i 0, 1 or4(mod 8), therefore, x 1 + x + x 3 7 (mod 8) hence no number of the form 8t + 1 can be represented by three squares. We have the following Theorem (which we won t prove here). Theorem 4 Let n be a positive integer. Then n can be expressed as the sum of three squares if and only if n is not of the form 4 r (8t + 7). For the case of two squares, Theorem 5 Let n be a positive integer. Then n can be expressed as the sum of two squares if and only if all prime factors of n of the form 4t+3 have even exponents in the factorization of n. This Theorem can be proved in a similar way as we did for four squares, using the identity (x 1 + x )(y 1 + y ) = (x 1 y 1 + x y ) + (x 1 y x y 1 ). Waring s problem Waring s problem has to do with representing natural numbers as the sum of a fixed number s of k-th powers, namely, n = x k 1 +... + x k s If we fix k > 1 and s is too small, the problem cannot be solved for every n. Say that s = 1, then we won t get solutions unless n is a k-th power. The first arising question is whether, for a given k, there is any s = s(k) such that n = x k 1 +... + x k s is soluble for every n. In 1770, Waring stated that every number is expressible as a sum of 4 squares, 9 cubes, 19 biquadrates, and so on, implying that s does exist. Hilbert was the first to prove this assertion for every k, in 1909. Clearly, given an s that works, any s > s will work the same. Hence there must be a minimal s that works. It is ussually denoted by g(k). We have just proved that g() = 4. It is not hard to prove 3

Theorem 6 g(4) does exist and it is 53. Proof. Let us denote by B s a number which is the sum of s biquadrates. The identity 6(a + b + c + d ) = (a + b) 4 + (a b) 4 + (c + d) 4 + (c d) 4 + (a + c) 4 + (a c) 4 + (b + d) 4 + (b d) 4 + (a + d) 4 + (a d) 4 + (b + c) 4 + (b c) 4 shows us that 6(a + b + c + d ) = B 1 Because of Lagrange s Theorem, we get 6x = B 1 for every x. Now every positive number is of the form n = 6t + r with 0 r 5, then using Lagrange s Theorem once again, implying Hence g(4) exists and it is at most 53. n = 6(x 1 + x + x 3 + x 4) + r n = B 1 + B 1 + B 1 + B 1 + r = B 48 + r = B 53 Theorem 7 [ (3 ) ] k g(k) k + Proof. Write q = [ (3 ) k ]. Consider the number n = k q 1 < 3 k which can be only represented by terms of the form 1 k and k. Since, n = (q 1) k + ( k 1)1 k n requires k + q powers. It has been proved that g(k) = k +q for every but finitely many k. It is conjectured that this equality is always true. There is another number that in a sense is more interesting that g(k). We define G(k) as the least value of s for which it is true that every positive integer which is large enough can be expressed as a sum of s k-th powers. Thus G(k) g(k) For k =, we get G() = 4 since we have proved that four squares are enough and we have exhibited infinitely many numbers, the ones of the form 8t+7, that cannot we writen as sum of only three squares. 4

In general G(k) is much smaller than g(k). Take k = 3. It is known that g(3) = 9. Every number can be represented by the sum of nine cubes. Indeed every number but 3 = 3 + 7 1 3 and 39 = 4 3 + 4 3 3 + 3 1 3 can be expressed by the sum of at most eight cubes. Moreover, there are only 15 integers that require 8 cubes. This implies that G(3) 7. G(k) is only known for the cases k =, 4. The best currently known bound for G(k) is for some constant c. On the other hand, Theorem 8 for k G(k) < c k log k G(k) k + 1 Proof. Let A(N) be the number of n N which are representable as with x i 0. We may suppose n = x k 1 +... + x k k 0 x 1 x... x k N 1 k If B(N) is the number of solutions of the inequality, then A(N) B(N). Clearly, ( 1 ) ( ) k [N k ] + 1 + k 1 i=1 [N 1 k ] + i B(N) = = N k k! k! If G(k) k, all but finitely many numbers are representable as the sum of k kth powers and A(N) N c where c is just a constant (independent of N). Then, N c A(N) B(N) N k! and this is impossible when k > 1. Finally, the Table shows what is known for the first 0 values of k. 5

k g(k) G(k) 4 4 3 9 7 4 19 16 5 37 18 6 73 7 7 143 36 8 79 4 9 548 55 10 1079 63 11 13 70 1 43 79 13 8384 87 14 16673 95 15 3303 103 16 66190 11 17 13055 10 18 63619 19 19 5650 138 0 1051899 146 References [1] H. Davenport, Analytic Methods for Diophantine Equations and Diophantine inequalities, The University of Michigan, Fall Semester (196) [] G. H. Hardy, E. M. Wright, An Introduction to the Theory of Numbers, Fifth Edition, Oxford University Press, Oxford (1998) [3] E. Landau, Elementary Number Theory, Chelsea Publishing Company, New York (1958) [4] Eric Weisstein s World of Mathematics, http://mathworld.wolfram.com/waringsproblem.html 6