To an integer, we add one-third of the integer, half of the integer's square, and one-sixth of the integer's cube. Prove that we always get an integer.
We start with an integer . We need to show that the expression
is always an integer.
First, let's find a common denominator for the fractions. The least common multiple of 3, 2, and 6 is 6. We rewrite the expression with a common denominator:
Next, we need to show that the numerator is always divisible by 6. We can factor the numerator:
We need to show that is divisible by 6. This means it must be divisible by both 2 and 3.
1. Divisibility by 2:
- If is even, then is divisible by 2, so is divisible by 2.
- If is odd, then is even because:
- is even.
- is odd (since is odd).
- is odd (since is odd).
- The sum of an even number and two odd numbers is even.
- Therefore, is divisible by 2.
2. Divisibility by 3:
- If is divisible by 3, then is divisible by 3, so is divisible by 3.
- If is not divisible by 3, then can be either or modulo 3.
- If , then:
- If , then:
- Therefore, is divisible by 3.
Since is divisible by both 2 and 3, it is divisible by 6. Therefore, the expression
is always an integer. This completes the proof.