In number theory, a polite number is a positive integer that can be written as the sum of two or more consecutive positive integers. Other positive integers are impolite.^{[1]}^{[2]} Polite numbers have also been called staircase numbers because the Young diagrams representing graphically the partitions of a polite number into consecutive integers (in the French style of drawing these diagrams) resemble staircases.^{[3]}^{[4]}^{[5]} If all numbers in the sum are strictly greater than one, the numbers so formed are also called trapezoidal numbers because they represent patterns of points arranged in a trapezoid.^{[6]}^{[7]}^{[8]}^{[9]}^{[10]}^{[11]}^{[12]}
The problem of representing numbers as sums of consecutive integers and of counting the number of representations of this type has been studied by Sylvester,^{[13]} Mason,^{[14]}^{[15]} and Leveque,^{[16]} as well as by many other more recent authors.^{[1]}^{[2]}^{[17]}^{[18]}^{[19]}^{[20]}^{[21]}^{[22]}^{[23]}
Examples and characterization
The first few polite numbers are
The impolite numbers are exactly the powers of two.^{[13]} It follows from the Lambek–Moser theorem that the -th polite number is , where
Politeness
The politeness of a positive number is defined as the number of ways it can be expressed as the sum of consecutive integers. For every , the politeness of equals the number of odd divisors of that are greater than one.^{[13]} The politeness of the numbers 1, 2, 3, ... is
For instance, the politeness of 9 is 2 because it has two odd divisors, 3 and itself, and two polite representations
- 9 = 2 + 3 + 4 = 4 + 5
the politeness of 15 is 3 because it has three odd divisors, 3, 5, and 15, and (as is familiar to cribbage players)^{[24]} three polite representations
- 15 = 4 + 5 + 6 = 1 + 2 + 3 + 4 + 5 = 7 + 8
Construction of polite representations from odd divisors
To see the connection between odd divisors and polite representations, suppose a number has the odd divisor . Then consecutive integers centered on (so that their average value is ) have as their sum:
Some of the terms in this sum may be zero or negative. However, if a term is zero it can be omitted and any negative terms may be used to cancel positive ones, leading to a polite representation for x. (The requirement that y > 1 corresponds to the requirement that a polite representation have more than one term; applying the same construction for y = 1 would just lead to the trivial one-term representation x = x.) For instance, the polite number x = 14 has a single nontrivial odd divisor, 7. It is therefore the sum of 7 consecutive numbers centered at 14/7 = 2:
- .
The first term, −1, cancels a later +1, and the second term, zero, can be omitted, leading to the polite representation
Conversely, every polite representation of x can be formed from this construction. If a representation has an odd number of terms, x/y is the middle term, while if it has an even number of terms and its minimum value is m it may be extended in a unique way to a longer sequence with the same sum and an odd number of terms, by including the 2m − 1 numbers −(m − 1), −(m − 2), ..., −1, 0, 1, ..., −(m − 2), −(m − 1). After this extension, again, x/y is the middle term. By this construction, the polite representations of a number and its odd divisors greater than one may be placed into a one-to-one correspondence, giving a bijective proof of the characterization of polite numbers and politeness.^{[13]}^{[25]} More generally, the same idea gives a two-to-one correspondence between, on the one hand, representations as a sum of consecutive integers (allowing zero, negative numbers, and single-term representations) and on the other hand odd divisors (including 1).^{[15]}
Another generalization of this result states that, for any n, the number of partitions of n into odd numbers having k distinct values equals the number of partitions of n into distinct numbers having k maximal runs of consecutive numbers.^{[13]}^{[26]}^{[27]} Here a run is one or more consecutive values such that the next larger and the next smaller consecutive values are not part of the partition; for instance the partition 10 = 1 + 4 + 5 has two runs, 1 and 4 + 5. A polite representation has a single run, and a partition with one value d is equivalent to a factorization of n as the product d×(n/d), so the special case k = 1 of this result states again the equivalence between polite representations and odd factors (including in this case the trivial representation n = n and the trivial odd factor 1).
Trapezoidal numbers
If a polite representation starts with 1, the number so represented is a triangular number
Otherwise, it is the difference of two triangular numbers:
In the latter case, it is called a trapezoidal number. That is, a trapezoidal number is a polite number that has a polite representation in which all terms are strictly greater than one. The only polite numbers that may be non-trapezoidal are the triangular numbers with only one nontrivial odd divisor, because for those numbers, according to the bijection described earlier, the odd divisor corresponds to the triangular representation and there can be no other polite representations. Thus, polite non-trapezoidal numbers must have the form of a power of two multiplied by a prime number. As Jones and Lord observe,^{[12]} there are exactly two types of triangular numbers with this form:
- the even perfect numbers 2^{n − 1}(2^{n} − 1) formed by the product of a Mersenne prime 2^{n} − 1 with half the nearest power of two, and
- the products 2^{n − 1}(2^{n} + 1) of a Fermat prime 2^{n} + 1 with half the nearest power of two.
For instance, the perfect number 28 = 2^{3 − 1}(2^{3} − 1) and the number 136 = 2^{4 − 1}(2^{4} + 1) are both polite triangular numbers that are not trapezoidal. It is believed that there are finitely many Fermat primes, but infinitely many Mersenne primes, in which case there are also infinitely many polite non-trapezoidal numbers.
References
- ↑ ^{1.0} ^{1.1} Adams, Ken (March 1993), "How polite is x?", The Mathematical Gazette 77 (478): 79–80, http://www.jstor.org/stable/3619263.
- ↑ ^{2.0} ^{2.1} Griggs, Terry S. (December 1991), "Impolite Numbers", The Mathematical Gazette 75 (474): 442–443, http://www.jstor.org/stable/3618630.
- ↑ Mason, John; Burton, Leone; Stacey, Kaye (1982), Thinking Mathematically, Addison-Wesley, ISBN 9780201102383.
- ↑ Stacey, K.; Groves, S. (1985), Strategies for Problem Solving, Melbourne: Latitude.
- ↑ Stacey, K.; Scott, N. (2000), "Orientation to deep structure when trying examples: a key to successful problem solving", in Carillo, J.; Contreras, L. C., Resolucion de Problemas en los Albores del Siglo XXI: Una vision Internacional desde Multiples Perspectivas y Niveles Educativos, Huelva, Spain: Hergue, pp. 119–147, archived from the original on 2004-01-11, http://web.archive.org/web/20040111020100/http://staff.edfac.unimelb.edu.au/~kayecs/publications/2000/ScottStacey-OrientationTo.pdf.
- ↑ Gamer, Carlton; Roeder, David W.; Watkins, John J. (1985), "Trapezoidal numbers", Mathematics Magazine 58 (2): 108–110, http://www.jstor.org/stable/2689901.
- ↑ Jean, Charles-É. (March 1991), "Les nombres trapézoïdaux" (French), Bulletin de l’AMQ: 6–11, http://www.recreomath.qc.ca/art_trapezoidaux_n.htm.
- ↑ Haggard, Paul W.; Morales, Kelly L. (1993), "Discovering relationships and patterns by exploring trapezoidal numbers", International Journal of Mathematical Education in Science and Technology 24 (1): 85–90, doi:10.1080/0020739930240111.
- ↑ Feinberg-McBrian, Carol (1996), "The case of trapezoidal numbers", Mathematics Teacher 89 (1): 16–24.
- ↑ Smith, Jim (1997), "Trapezoidal numbers", Mathematics in School 5: 42.
- ↑ Verhoeff, T. (1999), "Rectangular and trapezoidal arrangements", Journal of Integer Sequences 2, Article 99.1.6, http://www.emis.de/journals/JIS/trapzoid.html.
- ↑ ^{12.0} ^{12.1} Jones, Chris; Lord, Nick (1999), "Characterising non-trapezoidal numbers", The Mathematical Gazette 83 (497): 262–263, http://www.jstor.org/stable/3619053.
- ↑ ^{13.0} ^{13.1} ^{13.2} ^{13.3} ^{13.4} Sylvester, J. J. (1882), "A constructive theory of partitions, arranged in three acts, an interact and an exodion", American Journal of Mathematics 5: 251–330. In The collected mathematical papers of James Joseph Sylvester (December 1904), H. F. Baker, ed. Sylvester defines the class of a partition into distinct integers as the number of blocks of consecutive integers in the partition, so in his notation a polite partition is of first class.
- ↑ Mason, T. E. (1911), "On the representations of a number as a sum of consecutive integers", Proceedings of the Indiana Academy of Science: 273–274.
- ↑ ^{15.0} ^{15.1} Mason, Thomas E. (1912), "On the representation of an integer as the sum of consecutive integers", American Mathematical Monthly 19 (3): 46–50, Template:MR.
- ↑ Leveque, W. J. (1950), "On representations as a sum of consecutive integers", Canadian Journal of Mathematics 2: 399–405, Template:MR,
- ↑ Pong, Wai Yan (2007), "Sums of consecutive integers", College Math. J. 38 (2): 119–123, Template:MR, Template:Arxiv.
- ↑ Britt, Michael J. C.; Fradin, Lillie; Philips, Kathy; Feldman, Dima; Cooper, Leon N. (2005), "On sums of consecutive integers", Quart. Appl. Math. 63 (4): 791–792, Template:MR.
- ↑ Frenzen, C. L. (1997), "Proof without words: sums of consecutive positive integers", Math. Mag. 70 (4): 294, Template:MR, http://www.jstor.org/stable/2690871.
- ↑ Guy, Robert (1982), "Sums of consecutive integers", Fibonacci Quart. 20 (1): 36–38.
- ↑ Apostol, Tom M. (2003), "Sums of consecutive positive integers", The Mathematical Gazette 87 (508): 98–101, http://www.jstor.org/stable/3620570.
- ↑ Prielipp, Robert W.; Kuenzi, Norbert J. (1975), "Sums of consecutive positive integers", Mathematics Teacher 68 (1): 18–21.
- ↑ Parker, John (1998), "Sums of consecutive integers", Mathematics in School 27 (2): 8–11.
- ↑ Graham, Ronald; Knuth, Donald; Patashnik, Oren (1988), "Problem 2.30", Concrete Mathematics, Addison-Wesley, p. 65, ISBN 0-201-14236-8.
- ↑ Vaderlind, Paul; Guy, Richard K.; Larson, Loren C. (2002), The inquisitive problem solver, Mathematical Association of America, pp. 205–206, ISBN 9780883858066.
- ↑ Andrews, G. E. (1966), "On generalizations of Euler's partition theorem", Michigan Mathematical Journal 13: 491–498, doi:10.1307/mmj/1028999609, Template:MR.
- ↑ Ramamani, V.; Venkatachaliengar, K. (1972), On a partition theorem of Sylvester, 19, pp. 137–140, doi:10.1307/mmj/1029000844, Template:MR.
External links
- Template:Planetmath reference
- Polite Numbers, NRICH, University of Cambridge, December 2002, http://nrich.maths.org/public/viewer.php?obj_id=2074
- An Introduction to Runsums, R. Knott.
- Is there any pattern to the set of trapezoidal numbers? Intellectualism.org question of the day, October 2, 2003. With a diagram showing trapezoidal numbers color-coded by the number of terms in their expansions.