Richard Williamson proved that all odd numbers are polite:
This is because any odd number can be expressed as an even number
+ 1 and hence is the sum of half that even number, and the next
integer. For instance, 13 = 6 + 7, 45 = 22 + 23, etc, where 6 and
22 are half of 12 and 44 respectively. As an odd number can
always be expressed as the sum of two consecutive integers, and
as this satisfies the definition of politeness, all odd numbers
are polite.
Richard also found the consecutive sums for 544 and 434 and the
way of characterizing impolite numbers, namely that they are all
powers of 2. All other integers are polite. Shu Cao of the Oxford
High School for Girls also proved this result.
James of Hills Road Sixth Form College, Cambridge proved this
result and also gave a nice generalization defining a 'degree of
politeness' of numbers.
The desired sequence of integers has sum
where
is the number of terms,
is the initial value. If we are looking for
a sequence of integers that sum to 544,
. A sensible value for n would therefore be
17. This means that
, so
.
Using the same procedure on
424 yields
.
Hypothesis: all numbers of the form
(where
is a positive integer) are impolite.
Proof: The desired sequence of integers which add
up to give a polite number has the sum
where
and one of the
factors
or
must be odd and the
other even. Thus every polite number has an odd
factor greater than or equal to 3. If the number
is a power of 2 then it does not have an odd
factor so it is impolite.
Hypothesis: all numbers not of the form
are polite
If
is a polite number then
is equal to
where
is odd (as
above). Set whichever is the smaller of
and
equal to
. Then either (1)
if
or (2)
if
.
In case (1)
. This is greater
than 0, as
, and is also even, as
is an odd number and
is an odd number.
(The difference of two odd numbers is even).
There therefore exists an integer value of
.
Similarly in case (2)
which is
a positive even number.
This proves that all numbers not of the form
are polite, and all those of the form
are impolite.
It is interesting to note that numbers in which
is not prime may have two or more different
sequences of integers which sum to them. For
example
|
|
An extension of the above problem is to find a
general formula for the 'degree of politeness' of
a number. 140 has politeness 3, as it can be
broken down into 3 different sums of consecutive
integers. In general the politeness of a number
is
where
is the number of prime
factors of
if
is less than
in the
context used above. Repeated prime factors are
counted repeatedly, for example
contributes
5 to the number of prime factors. The number of
different values for n, with 1 excluded, is given
by the number of possible divisors of
.
The situation is more complicated if some of the
factors of
are greater than
and some
less, but the politeness will still be equal to
the number of different divisors of
which are
less than
. If
is less than all the
factors of
then the politeness of the number
will be equal to 1.