PlanetMath (more info)
 Math for the people, by the people. Sponsor PlanetMath
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: Very low Entry average rating: Very high
[parent] proof of all positive integers are polite numbers except powers of two (Proof)

Theorem. All positive integers are polite numbers (that is, can be expressed as the sum of consecutive nonnegative integers in at least one way), with the exception of the powers of two.

Proof. Let k be a positive integer.

Let $k = 2^h$ for $h > 0$ . Let's suppose that $k$ is a polite number. We can write $$k = \sum_{i=a}^b i$$ with $b > a$ and $a > -1$ .

Then, $$k = 2^h = \sum_{i=a}^b i = \sum_{j=0}^{b-a} (j+a) = \sum_{j=0}^{b-a} j + \sum_{j=0}^{b-a} a = \frac{(b-a)(b-a+1)}{2} + (b-a+1)a $$ Multiplying both sides by two, $$ 2^{h+1} = (b-a)(b-a+1) + 2a(b-a+1) = (b-a+1)(b-a-2a)$$

If $b-a$ is even, then $b-a+1$ is odd and then $2^{h+1}$ would have an odd factor, contradiction. If $b-a$ is odd, then $b-a-2a$ is odd and then $2^{h+1}$ would have an odd factor, contradiction. Then, $k$ is not a polite number.

If $k = 1$ , then $k$ is a polite number trivially.

Now, suppose that $k > 1$ is not a power of two. Then we can factor $k$ as $ah$ with $h = 2b+1 > 1$ odd, $a > 0$ . Then, $$\sum_{i=a-b}^{a+b} i = \sum_{j=-b}^{b} (j + a) = \sum_{j=-b}^b j + \sum_{j=-b}^{b} a = 0 + (2b+1)a = k$$

If $a-b >= 0$ then $k$ is clearly a polite number.

If $a-b < 0$ then $$k = \sum_{i=a-b}^{a+b} i = \sum_{i=a-b}^{0} i + \sum_{i=1}^{|a-b|} i + \sum_{|a-b|+1}^{a+b} i = \sum_{|a-b|+1}^{a+b} i$$ so $k$ is a polite number.




"proof of all positive integers are polite numbers except powers of two" is owned by n847530.
(view preamble | get metadata)

View style:


This object's parent.
Log in to rate this entry.
(view current ratings)

Cross-references: contradiction, factor, odd, even, sides, proof, powers of two, consecutive, sum, polite numbers, integers, positive, theorem

This is version 5 of proof of all positive integers are polite numbers except powers of two, born on 2009-01-08, modified 2009-01-11.
Object id is 11479, canonical name is ProofOfAllPositiveIntegersArePoliteNumbersExceptPowersOfTwo.
Accessed 410 times total.

Classification:
AMS MSC11A25 (Number theory :: Elementary number theory :: Arithmetic functions; related numbers; inversion formulas)

Pending Errata and Addenda
None.
[ View all 2 ]
Discussion
Style: Expand: Order:
forum policy

No messages.

Interact
post | correct | update request | add example | add (any)