Mathematic induction - prove n^5 - n is divisible by 240 when n is a positive odd integer

ausmathgenius420

New member
Joined
Aug 5, 2021
Messages
44
Hi:)

I'm really struggling with the question in the title.

n5nn^5-n
I have just learnt how to do regular division proofs, but n being odd is really tricking me.
I'm assuming after proving the basis step p(1) you would do:
n5n=240xn^5-n=240x
I've tried factorising n=k+1 and n=k+2 and I can't rearrange either of them to be divisible by 240 so I'm quite lost.

Thanks,
 
After step 1 you need to assume that k5k\displaystyle k^5-k is divisible by 240\displaystyle 240 for pos odd integer k\displaystyle k and prove that (k+2)5(k+2)\displaystyle (k+2)^5-(k+2) is divisible by 240.
Have you expanded (k+2)5(k+2)\displaystyle (k+2)^5-(k+2)? What do you get at this stage?
 
After step 1 you need to assume that k5k\displaystyle k^5-k is divisible by 240\displaystyle 240 for pos odd integer k\displaystyle k and prove that (k+2)5(k+2)\displaystyle (k+2)^5-(k+2) is divisible by 240.
Have you expanded (k+2)5(k+2)\displaystyle (k+2)^5-(k+2)? What do you get at this stage?
I get a large polynomial however I can't seem to factor out 240 from it. From that large polynomial I have also tried subbing in 240(m) for k5kk^5-k but I still cannot factor 240 out.

The polynomial is k5+10k4+40k3+80k2+79k+30k^5+10k^4+40k^3+80k^2+79k+30
Which could be rearranged so that 240m+10k4+40k3+80k2+80k+30240m+10k^4+40k^3+80k^2+80k+30 however this doesn't solve my factoring problem. Hopefully I'm just missing something little?
 
What you have then is a polynomial whose first term is divisible by 240. You now need to prove that the rest of it is also div by 240.
The rest is 10(k4+4k3+8k2+8k+3)\displaystyle 10(k^4+4k^3+8k^2+8k+3). I factorised out the 10 to keep the numbers smaller. So you need to show that the bracketed expression is div by 24.
You now need to start another Proof by induction on just this bit. So back to Step 1, ie check that k=1 works and then step 2 (working of course with k+2\displaystyle k+2 in place of k\displaystyle k.
You may need to do this again and maybe again. Very satisfying when it all comes out nicely. Watch your coefficients - get one wrong and it stuffs everything up ! Enjoy!
Let me know how it goes!
 
k4+12k3+56k2+120k+99k^4+12k^3+56k^2+120k+99
--> cancel the 120k

k4+20k3+152k2+400k+435k^4+20k^3+152k^2+400k+435
Nothing is divisible by 24 here?

Should I be using (2k+1) to represent the odd number instead?
 
No k+2 is correct. because you tested an odd number in step 1.

Don't forget to use your assumption. That will knock out the k4\displaystyle k^4 term
 
Ok when you expand you get
1643635628212.png
which is correct.
Don't forget that in the Induction proof you are assuming that
1643635698078.png is divisible by 24.

Now 1643635744275.png= 1643635757660.png +8k3+48k2+112k+96\displaystyle 8k^3+48k^2+112k+96

=24n+8k3+48k2+112k+96\displaystyle =24 n + 8k^3+48k^2+112k+96

Remember you are trying to prove that this expression is div by 24,
The first term is, so now you have to prove that 8k3+48k2+112k+96=8(k3+6k2+14k+12)\displaystyle 8k^3+48k^2+112k+96 = 8(k^3+6k^2+14k+12) is div by 24
ie that the bracket is div by 3.

So another induction proof. This time prove that k3+6k2+14k+12\displaystyle k^3+6k^2+14k+12 is divisible by 3. Start over again.

So this whole process involves an induction proof within an induction proof within an induction proof ... until you exhaust the process.

Does that make sense?
 
@Cubist (after reading your reply to my rant)
You can shortcut the next step.
k3+6k2+14k+12=3(2k2+4)+k3+14k\displaystyle k^3+6k^2+14k+12 = 3(2k^2 +4) + k^3+14k
Because the first term is div by 3, you really only need to prove that k3+14k\displaystyle k^3+14k is div by 3 (for odd k).
 
I would go about this in a somewhat different way. I'd start by focusing on the fact that we are dealing with ODD numbers. We are not talking about n5nn^5 - n at all, but rather about

yn=(2n1)5(2n1)=32(1)n516(5)n4+8(10)n34(10)n2+2(5)n1(2n1)=32n580n4+80n340n2+10n12n+1=32n580n4+80n340n2+8n.y_n = (2n - 1)^5 - (2n - 1) =\\ 32(1)n^5 - 16(5)n^4 + 8(10)n^3 - 4(10)n^2 + 2(5)n - 1 - (2n -1) =\\ 32n^5 - 80n^4 + 80n^3 - 40n^2 + 10n - 1 - 2n + 1 = \\ 32n^5 - 80n^4 + 80n^3 - 40n^2 + 8n.
It is then instantly obvious that yny_n is divisible by eight. That leads to the thought that the prime factorization of 240 may be relevant. We note 240=2435=1635.240 = 2^4 * 3 * 5 = 16 * 3 * 5.

The proposition to be proved is

For any positive integer n, 240  yn.\text {For any positive integer } n, \ 240 \ | \ y_n.
Proving the base case for induction is almost obvious by inspection.

By definition, y1=(211)5(211)=151=0=2400.240  y1.\text {By definition, } y_1 = (2 * 1 - 1)^5 - (2 * 1 - 1) = 1^5 - 1 = 0 = 240 * 0.\\ \therefore 240 \ | \ y_1.
We set up the induction step:

k is an integer 1 such that 240  yk.3  yk, 5  yk, and 16  yk.Thus,  an integer mk such that 240mk=yk.And, by definition, yk=32k580k4+80k340k2+8k.240mk=32k580k4+80k340k2+8k.k \text { is an integer } \ge 1 \text { such that } 240 \ | \ y_k.\\ \therefore 3 \ | \ y_k, \ 5 \ | \ y_k, \text { and } 16 \ | \ y_k.\\ \text {Thus, } \exists \text { an integer } m_k \text { such that } 240m_k = y_k.\\ \text {And, by definition, } y_k = 32k^5 - 80k^4 + 80k^3 - 40k^2 + 8k.\\ \therefore 240 m_k = 32k^5 - 80k^4 + 80k^3 - 40k^2 + 8k.
yk+1={2(k+1)1}5{2(k+1)1)=(2k+1)5(2k+1)=32k5+80k4+80k3+40k2+10k+12k1=32k5+80k4+80k3+40k2+8k.y_{k+1} = \{2(k +1) - 1\}^5 - \{2(k + 1) - 1) = (2k + 1)^5 - (2k + 1) =\\ 32k^5 + 80k^4 + 80k^3 + 40k^2 + 10k + 1 - 2k - 1 =\\ 32k^5 + 80k^4 + 80k^3 + 40k^2 + 8k.
yk+1yk=160k4+80k2.But yk=240mk    yk+1240mk=160k4+80k2    yk+1=240mk+160k4+80k2.yk+1=80(3mk+2k4+k2) and 3mk+2k4+k2 is an integer    80  yk+1    5  yk+1 and 16  yk+1.y_{k+1} - y_k = 160k^4 + 80k^2.\\ \text {But } y_k = 240m_k \implies y_{k + 1} - 240m_k = 160k^4 + 80k^2 \implies\\ y_{k+1} = 240m_k + 160k^4 + 80k^2.\\ \therefore y_{k+1} = 80(3m_k + 2k^4 + k^2) \text { and }\\ 3m_k + 2k^4 + k^2 \text { is an integer} \implies 80 \ | \ y_{k+1} \implies\\ 5 \ | \ y_{k+1} \text { and } 16 \ | \ y_{k+1}.
Now this is not an approach that will obviously give us 3  yk+13 \ | \ y_{k+1}. But

 a pair of integers p and q such that 3p+q=k and 0q2    yk+1=32(3p+q)5+80(3p+q)4+80(3p+q)3+40(3p+q)2+8(3p+q)=3p stuff+q(32+80+80+40+8)=3p stuff+240q=3(p+80q)    3  yk+1.\exists \text { a pair of integers } p \text { and } q \text { such that } 3p + q = k \text { and } 0 \le q \le 2 \implies\\ y_{k+1} = 32(3p + q)^5 + 80(3p + q)^4 +\\ 80(3p + q)^3 + 40(3p + q)^2 + 8(3p + q) =\\ 3p * \text { stuff} + q(32 + 80 + 80 + 40 + 8) =\\ 3p * \text { stuff} + 240q = 3(p + 80q) \implies 3 \ | \ y_{k+1}.
Once we know that 3, 5, and 16 all divide yk+1y_{k+1}, it's all over bar the shouting.
 
This is marginally relevant to this thread, but: the statement seems simpler to prove without induction. Indeed,y=n5n=(n1)n(n+1)(n2+1)y = n^5-n = (n-1)n(n+1)(n^2+1) so:
  • y is divisible by 5 because of the Fermat's Little Theorem;
  • y is divisible by 3 because $(n-1)n(n+1)$ is a product of three consecutive integers;
  • y is divisible by 16 because nn is odd so there are 3 even numbers in the product and between n1n-1 and n+1n+1 one of them must be divisible by 4.
 
This is marginally relevant to this thread, but: the statement seems simpler to prove without induction. Indeed,y=n5n=(n1)n(n+1)(n2+1)y = n^5-n = (n-1)n(n+1)(n^2+1) so:
  • y is divisible by 5 because of the Fermat's Little Theorem;
  • y is divisible by 3 because $(n-1)n(n+1)$ is a product of three consecutive integers;
  • y is divisible by 16 because nn is odd so there are 3 even numbers in the product and between n1n-1 and n+1n+1 one of them must be divisible by 4.
I agree. But it seems that a proof by induction was requested. Also, I was interested in utlilizing the constraint that this concerned odd numbers.
 
Following the advice of @Harry_the_cat posts above, I did the following work (I've never done an inductive proof within an inductive proof before and found this very interesting, thanks 'Arry :))


Prove f(n) = n^5 - n is divisible by 240 for odd n

Base case f(1) = 0 which is divisible by 240

Assume true for n=k...

k5k\displaystyle k^5 - k is divisible by 240 (1)

is it true for n=k+2?

(k+2)5(k+2)\displaystyle (k+2)^5 - (k + 2)

=(k5k)+10k4+40k3+80k2+80k+30\displaystyle = \color{red}(k^5 - k)\color{black} + 10k^4 + 40k^3 + 80k^2 + 80k + 30

true if 10k4+40k3+80k2+80k+30\displaystyle 10k^4 + 40k^3 + 80k^2 + 80k + 30 is divisible by 240, by using (1) to eliminate the red

=10(k4+4k3+8k2+8k+3)\displaystyle = 10( k^4 + 4k^3 + 8k^2 + 8k + 3 ) see next proof by induction



Prove g(n)=n4+4n3+8n2+8n+3\displaystyle g(n) = n^4 + 4n^3 + 8n^2 + 8n + 3 is divisible by 24 for odd n

Base case g(1) = 24 which is divisible by 24

Assume true for n=k

k4+4k3+8k2+8k+3\displaystyle k^4 + 4k^3 + 8k^2 + 8k + 3 is divisible by 24 (2)

is it true for n=k+2?

(k+2)4+4(k+2)3+8(k+2)2+8(k+2)+3\displaystyle (k+2)^4 + 4(k+2)^3 + 8(k+2)^2 + 8(k+2) + 3

=k4+12k3+56k2+120k+99\displaystyle = k^4 + 12k^3 + 56k^2 + 120k + 99

=(k4+4k3+8k2+8k+3)+8k3+48k2+112k+96\displaystyle = \color{red}(k^4 + 4k^3 + 8k^2 + 8k + 3)\color{black} + 8k^3 + 48k^2 + 112k + 96

true if 8k3+48k2+112k+96\displaystyle 8k^3 + 48k^2 + 112k + 96 is divisible by 24, by using (2) to eliminate the red

=8(k3+6k2+14k+12)\displaystyle = 8( k^3 + 6k^2 + 14k + 12 ) see next proof by induction


Prove n3+6n2+14n+12\displaystyle n^3 + 6n^2 + 14n + 12 is divisible by 3

=n3+14n+3(2n2+4)\displaystyle = n^3 + 14n + 3(2n^2 + 4)

Only need to prove that h(n)=n3+14n\displaystyle h(n) = n^3 + 14n is divisible by 3 for odd n

Base case h(1) = 15 which is divisible by 3

Assume true for n=k

k3+14k\displaystyle k^3 + 14k is divisible by 3 (3)

is it true for n=k+2?

(k+2)3+14(k+2)\displaystyle (k+2)^3 + 14*(k+2)

=k3+6k2+26k+36\displaystyle = k^3 + 6k^2 + 26k + 36

=(k3+14k)+6k2+12k+36\displaystyle = \color{red}(k^3 + 14k)\color{black} + 6k^2 + 12k + 36

true if 6k2+12k+36\displaystyle 6k^2 + 12k + 36 is divisible by 3, using (3) to eliminate the red

=6k2+12k+36\displaystyle = 6k^2 + 12k + 36

=6(k2+2k+6)\displaystyle = 6( k^2 + 2k + 6 ) divisible by 3


All the base cases and inductive steps above have been proved correct. Therefore by mathematical induction the original statement f(n)=n5n\displaystyle f(n) = n^5 - n is divisible by 240 is true for every positive odd natural number n.
 
Since n5-n = 0 for n=1, shouldn't there be restriction of n>1 and in that case the base case should be n = 3.
 
Since n5-n = 0 for n=1, shouldn't there be restriction of n>1 and in that case the base case should be n = 3.
That's a very good question. I certainly found it very unsatisfying to state that 0 is divisible by 240. But I do think that it's OK, and I'd be very interested to see what other people think.

The divisibility works for all odd negative n also, but I guess this proof by induction doesn't prove it. I guess that in order to prove this, by induction, we'd have to repeat the proof for n=k-2 ?
 
Top