Compute the politeness of a number.
The politeness of a number is teh number of ways it can be expressed as the sum of consecutive integers.
The politeness of 15 is 3.
There are only three ways to express 15 as the sum of consecutive integers:
- 15 = 1 + 2 + 3 + 4 + 5
- 15 = 4 + 5 + 6
- 15 = 7 + 8