The well-ordering principle states that every non-empty set of positive integers contains a least element.
I need to prove that 9|$n^3+(n+1)^3+(n+2)^3$ , $n∈N$ using this principle.
Regards
The well-ordering principle states that every non-empty set of positive integers contains a least element.
I need to prove that 9|$n^3+(n+1)^3+(n+2)^3$ , $n∈N$ using this principle.
Regards
If it is false then by WOP there is a least counterexample $k$ with $\,9\nmid f_k.\,$ Note $\,k>0\,$ by $\,f_0 = 9.\,$ Note $\bmod 9\!:\ f_{n+1}\!- f_n = (n\!+\!3)^3\!-n^3\equiv 0\,$ so $\,9\mid f_{n+1}\!\!\iff\! 9\mid f_n,\,$ so $\,\color{#c00}{9\nmid f_k\Rightarrow 9\nmid f_{k-1}},\,$ so $\,k\!-\!1\ge 0\,$ is a smaller counterexample, contradiction.
Remark $ $ It is more natural to use ascent (induction) than $\rm\color{#c00}{descent}$ (WOP). Indeed, the proof shows that, modulo $9,\,$ the value of $f_n$ never changes $\,f_{n+1}\equiv f_n\,$ so reformulating the above positively as an induction proves that $\,f_n\,$ is a constant sequence $\,f_n \equiv f_0\,$ for all $n\,$ (and here $\,f_0 = 9\equiv 0)$.
Direct proof: $$n^3+(n+1)^3+(n+2)^3\equiv \\ 3(n+1)(n^2+2n+3)\equiv \\ 6n(n+1)(n+2)+9(n+1) \equiv 0 \pmod{9}.$$ Can you interpret why the first addend is a multiple of $9$?