Sums of Consecutive Integers

Similar documents
Modular Arithmetic Instructor: Marizza Bailey Name:

Lecture 1 Maths for Computer Science. Denis TRYSTRAM Lecture notes MoSIG1. sept. 2017

On the Infinitude of Twin-Primes Bao Qi Feng

Intermediate Math Circles March 11, 2009 Sequences and Series

, p 1 < p 2 < < p l primes.


2. Two binary operations (addition, denoted + and multiplication, denoted

Ch 3.2: Direct proofs

EGYPTIAN FRACTIONS WITH EACH DENOMINATOR HAVING THREE DISTINCT PRIME DIVISORS

Solutions to Assignment 1

MA201: Further Mathematical Methods (Linear Algebra) 2002

Conjectures and proof. Book page 24-30

Situation: Summing the Natural Numbers

Modern Algebra Prof. Manindra Agrawal Department of Computer Science and Engineering Indian Institute of Technology, Kanpur

Rigid Geometric Transformations

Example 1: Twenty-six less than three times a number is the same as the sum of negative two and five times the number. Find the number.

1. Introduction to commutative rings and fields

arxiv: v2 [math.nt] 2 Aug 2017

GRE. Advanced GRE Math Questions

Grades 7 & 8, Math Circles 10/11/12 October, Series & Polygonal Numbers

Support for UCL Mathematics offer holders with the Sixth Term Examination Paper

Monotone Hamiltonian paths in the Boolean lattice of subsets

Cullen Numbers in Binary Recurrent Sequences

Neville s Method. MATH 375 Numerical Analysis. J. Robert Buchanan. Fall Department of Mathematics. J. Robert Buchanan Neville s Method

MATH CSE20 Homework 5 Due Monday November 4

Lines With Many Points On Both Sides

Grades 7 & 8, Math Circles 10/11/12 October, Series & Polygonal Numbers

Linear Algebra Done Wrong. Sergei Treil. Department of Mathematics, Brown University

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

SEQUENCES AND SERIES

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers

Solutions of the problem of Erdös-Sierpiński:

arxiv: v1 [math.gm] 1 Oct 2015

CYCLES AND FIXED POINTS OF HAPPY FUNCTIONS

MAC-CPTM Situations Project

On Factoring 2 k ± 1

Fibonacci mod k. In this section, we examine the question of which terms of the Fibonacci sequence have a given divisor k.

1 Prologue (X 111 X 14 )F = X 11 (X 100 X 3 )F = X 11 (X 200 X 6 ) = X 211 X 17.

Linear Algebra. Instructor: Justin Ryan

Chris K. Caldwell 1 Department of Mathematics and Statistics, University of Tennessee at Martin, Martin, TN 38238, USA

Chapter 4 Picture proofs

FACTORIZATION AND THE PRIMES

Groups that Distribute over Stars

Analytic Number Theory Solutions

Symmetry Groups 11/19/2017. Problem 1. Let S n be the set of all possible shuffles of n cards. 2. How many ways can we shuffle n cards?

1 2 0 ERDŐS AND GRAHAM It is clear that one can inscribe k 2 squares into a unit square so that the sum of their circumferences is 4k. Erdös conjectur

PREFACE. Synergy for Success in Mathematics 7 is designed for Grade 7 students. The textbook

A hidden signal in the Ulam sequence. Stefan Steinerberger Research Report YALEU/DCS/TR-1508 Yale University May 4, 2015

Consecutive Integer Squares

When is n a member of a Pythagorean Triple?

SUMMER MATH PACKET. Geometry A COURSE 227

The poetry of mathematics

Yavapai County Math Contest College Bowl Competition. January 28, 2010

Lecture 3: Sizes of Infinity

CDM. Recurrences and Fibonacci

Math Circle: Recursion and Induction

FINITE ABELIAN GROUPS Amin Witno

«Infuse mathematical thinking in a lesson on Pythagoras Theorem»

LEGENDRE S THEOREM, LEGRANGE S DESCENT

6.5 Elliptic Curves Over the Rational Numbers

CDM. Recurrences and Fibonacci. 20-fibonacci 2017/12/15 23:16. Terminology 4. Recurrence Equations 3. Solution and Asymptotics 6.

Complex Numbers For High School Students

CHAPTER 0 PRELIMINARY MATERIAL. Paul Vojta. University of California, Berkeley. 18 February 1998

Algorithms and Data Structures 2016 Week 5 solutions (Tues 9th - Fri 12th February)

#A11 INTEGERS 12 (2012) FIBONACCI VARIATIONS OF A CONJECTURE OF POLIGNAC

Countability. 1 Motivation. 2 Counting

The theory of numbers

Section 3.1: Direct Proof and Counterexample 1

MATH10040 Chapter 1: Integers and divisibility

cse547, math547 DISCRETE MATHEMATICS Professor Anita Wasilewska

Properties of Generating Sets of Finite Groups

SUMMER MATH PACKET. ENTERING Geometry

MATH 137 : Calculus 1 for Honours Mathematics. Online Assignment #2. Introduction to Sequences

Adding/Subtracting/Multiplying/Dividing Positive and Negative Numbers

GALOIS THEORY : LECTURE 4 LEO GOLDMAKHER

MATH2206 Prob Stat/20.Jan Weekly Review 1-2

Math Review. for the Quantitative Reasoning measure of the GRE General Test

The Chameleons of Camelot

Math 231E, Lecture 13. Area & Riemann Sums

Rectangles as Sums of Squares.

Methods of Proof. Ross Mathematics Program 2016

There are no Barker arrays having more than two dimensions

Rigid Geometric Transformations

Lecture 10 - Moment of Inertia

Section 4.1: Sequences and Series

ALIQUOT SEQUENCES WITH SMALL STARTING VALUES. Wieb Bosma Department of Mathematics, Radboud University, Nijmegen, the Netherlands

On some inequalities between prime numbers

MATH 402 : 2017 page 1 of 6

Disproof MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Disproof Fall / 16

Elementary Point-Set Topology

SUMS OF SQUARES WUSHI GOLDRING

MATH10212 Linear Algebra B Homework Week 5

Teaching & Testing Mathematics Reading

MATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers.

LECTURE 10: REVIEW OF POWER SERIES. 1. Motivation

HW2 Solutions Problem 1: 2.22 Find the sign and inverse of the permutation shown in the book (and below).

Vector Spaces. Chapter 1

Mathematical Induction

1. Introduction to commutative rings and fields

Transcription:

arxiv:math/0701149v1 [math.ho] 4 Jan 007 Sums of Consecutive Integers Wai Yan Pong California State University, Dominguez Hills February, 008 While looking for exercises for a number theory class, I recently came across the following question in a book by André Weil [4, Question III.4]: Which natural numbers can be written as the sum of two or more consecutive integers? The origin of this question is unknown to me, but one can easily believe that it is part of the mathematical folklore. Solutions to this problem and some generalizations maybe found in [1] and [], for example. We will give a somewhat different proof here, one that we hope readers will find intuitively appealing. To get a feeling for the problem, let us consider some small values. The list below gives one attempt at expressing the numbers up to 16 as sums of two or more consecutive integers. We leave the right-hand side of the equation blank if there is no such expression for the number on the left-hand side. 1 =, =, 3 = 1 +, 4 =, 5 = + 3, 6 = 1 + + 3, 7 = 3 + 4, 8 =, 9 = 4 + 5, 10 = 1 + + 3 + 4, 11 = 5 + 6, 1 = 3 + 4 + 5, 13 = 6 + 7, 14 = + 3 + 4 + 5, 15 = 7 + 8, 16 =, A conjecture naturally arises from this list: Conjecture. A natural number is a sum of consecutive integers if and only if it is not a power of. So, is it true? If so, what makes the powers of special? 1

The Proof We start by defining a decomposition of a natural number n to be a sequence of consecutive natural numbers whose sum is n. The number of terms is called the length of the decomposition, and a decomposition of length 1 is called trivial. Further, a decomposition is called odd (even) if its length is odd (even). For example, consider the number 15. It has four decompositions, (15), (7, 8), (4, 5, 6) and (1,, 3, 4, 5), one even and three odd. We will construct a one-to-one correspondence between the odd factors of a number and its decompositions. This proves the conjecture since the powers of are precisely those numbers with only one odd factor (namely 1) and thus they have only the trivial decomposition. Here is our construction: Let k be an odd factor of n. Then since the sum of the k integers from (k 1)/ to (k 1)/ is 0, adding n/k to each of them gives the sequence n k k 1, whose sum is n k k 1 + 1,, n k + k 1, (1) (k 1)/ j= (k 1)/ ( n k + j) = n (k 1)/ k k + There are now two cases to consider: j= (k 1)/ j = n + 0 = n. (i) (k 1)/ < n/k. Then (1) is already an odd decomposition of n. The length of this decomposition is k. (ii) (k 1)/ n/k. Then (1) begins with 0 or a negative number. After dropping the 0 and canceling the negative terms with the corresponding positive ones, we are left with the sequence k 1 n k + 1, k 1 n k +,, n k + k 1, () which is an even decomposition of n of length n/k. We call the decomposition in either (1) or () the decomposition of n associated with k.

To show that every decomposition of n arises this way, suppose (a+i) m i=1 is a decomposition of n. Since its sum m(a + m + 1)/ is n, either m or a + m + 1 (but not both), depending on the parity of m, is an odd factor of n. It is then straightforward to verify that the given decomposition is the one associated with that odd factor. We have in fact delivered more than we promised. Note that the condition (k 1)/ < n/k is equivalent to k 1 < n/k, but since k is odd the condition is therefore the same as k < n/k, or equivalently k < n. Likewise, (k 1)/ n/k is equivalent to k > n. Therefore, we have proved the following: Theorem. There is a one-to-one correspondence between the odd factors of a natural number n and its decompositions. More precisely, for each odd factor k of n, if k < n, then (1) is an odd decomposition of n of length k. If k > n, then () is an even decomposition of n of length n/k. Moreover, these are all the decompositions of n. An immediate consequence of the theorem is that the number of decompositions of n is the number of odd factors of n, which is p (e p +1), where p runs through the odd primes and e p is the power of p appearing in the prime factorization of n. Let us illustrate both this formula and the theorem with the example n = 45. Since 45 = 3 5, there should be six decompositions, four odd and two even, and indeed here they are: Table 1: The decompositions of 45 k (k 1)/ n/k decomposition length parity 1 0 45 (45) 1 odd 3 1 15 (14, 15, 16) 3 odd 5 9 (7, 8, 9, 10, 11) 5 odd 9 4 5 (1,, 3, 4, 5, 6, 7, 8, 9) 9 odd 15 7 3 (5, 6, 7, 8, 9, 10) 6 even 45 1 (, 3) even 3

The Length Spectra We define the length spectrum of n, denoted by lspec(n), to be the set of lengths of the decompositions of n. According to the theorem, lspec(n) is the set { k: k odd, k n, k < } { n n/k: k odd, k n, k > } n. For example, we have seen that lspec(45) = {1, 3, 5, 9} {, 6} (Table 1). In the following, we record some simple facts about length spectra. Most of them are direct consequences of the theorem. An in-depth treatment of this notion is given in [3]. Let (k i ) s i=1 be the list of odd factors of n in ascending order. Thus, k 1 = 1, k (if it exists) is the smallest odd prime factor of n, and n = d k s for some d 0. Let r be the largest index (1 r s) such that k r < n. 1. The length of an even decomposition of n is of the form n/k j, and hence the highest power of that divides any even element of lspec(n) is d+1. This observation rules out, for example, the possibility of the set {1,, 3, 4} being a length spectrum.. The smallest number with a length spectrum of size s is 3 s 1. The smallest number with m in its length spectrum is clearly 1 + + + m = m(m + 1)/. In other words, m lspec(n) implies m(m + 1)/ n. Hence m ( 1 + 1 + 8n)/. This gives an upper bound on the elements of lspec(n) in terms of n. 3. The longest decomposition of n has length max{k r, n/k r+1 } (the maximum is k r if n has no even decompositions). The shortest non-trivial decomposition of n (if any) has length min{k, n/k s } = min{k, d+1 }. 4. The condition k s < n, or equivalently k s < d+1, is clearly both necessary and sufficient for n to have only odd decompositions. The situation, however, is quite different for even decompositions: if k j > n, then k s /k j < k s /k j < n, so the number of even decompositions of n is at most the number of odd decompositions of n. Consequently, if every non-trivial decomposition of n is even, then n has exactly one non-trivial decomposition. Those numbers with this property are precisely the numbers of the form d k with k an odd prime > d+1. 4

Epilogue Finding the exact number of decompositions of n can be hard. In general, the formula p (e p + 1) is impractical for large n since it essentially calls for the prime factorization of n. What LeVeque obtained in [], among other things, was the average order of the number of decompositions as a function of n. Moreover, he discussed not only the sums of consecutive integers but the sums of arithmetic progressions in general. Readers with a taste for analytic number theory will find his article enjoyable. Guy gave a very short proof of the theorem in [1], then deduced from it a characterization of primes. He gave some rough estimates of the number of decompositions and also remarked that finding this number explicitly is not easy. Weil s book [4] is merely a collection of exercises for the elementary number theory course given by him at University of Chicago in the summer of 1949. Maxwell Rosenlicht, an assistant of Weil s at that time, was in charge of the laboratory section and responsible for most of the exercises. It was a relief to learn from Weil that the challenge of motivating students to work on problems is rather common. The following is part of the foreword taken directly from that book: The course consisted of two lectures a week, supplemented by a weekly laboratory period where students were given exercises.... The idea was borrowed from the Praktikum of German universities. Being alien to the local tradition, it did not work out as well as I had hoped, and student attendance at the problem sessions soon became desultory. An obvious but crucial point in our proof of the conjecture is that 0 can be expressed as the sum of an odd number of consecutive integers. Let me explain the intuition behind this trick here. The sum of the first n consecutive natural numbers is called the n-th triangular number because 1,,, n can be arranged to form a triangle (see Figure 1). Now a sum of consecutive numbers can be viewed as the difference of two triangular numbers (or a trapezoidal number ). Also, a number n, as long as it is not a power of, can be represented by an (n/k) k rectangle with k > 1 an odd factor of n. So the question is: how can you get a trapezoid from such a rectangle? Well, it does not take a big leap of imagination to see that this can be done by cutting off a corner of the rectangle and flipping it over. For example, the 5

Figure 1: The 4-th triangular number is 10. diagrams in Figure illustrate how we obtain the decomposition (, 3, 4, 5, 6) of 0. Of course, one has to worry about the case when n/k < (k 1)/, Figure : Transforming a 4 5 rectangle into a trapezoid but this is exactly why the use of negative numbers comes in handy. The diagrams in Figure 3 should be self-explanatory. Acknowledgment. I would like to thank Greg Kallo, the editor, and the referees for many helpful suggestions on the presentation of this article. References [1] Robert Guy, Sums of consecutive integers, Fibonacci Quart. 0 (198), 36 38. [] W.J. LeVeque, On representations as a sum of consecutive integers, Canadian J. Math. (1950) 399 405. [3] W.Y. Pong, Length spectra of natural numbers, manuscript. [4] André Weil, Number Theory for Beginners (With the collaboration of Maxwell Rosenlicht). Springer-Verlag, 1979. 6

= + = = Figure 3: The decomposition (,3,4,5) of 14. 7