I am having trouble with the induction part of the proof that the expression bellow is divisible by 6 $$ 3^{n^{2}}+9n+6 $$ $n->n+1$ $$ 3^{n^{2}+2n+1}+9n+9+6 $$ I have been able to see that this is divisible by $3$, so if I would be able to find that it is also divisible by $2$ I would prove it.
Prove by induction that $3^{n^{2}}+9n+6$ is divisible by 6.
-
1Did you test the claim for $n=2$, or $n=42$ for example? – 2017-02-10
-
0No, I tested for n =1 – 2017-02-10
-
0The expression is equivalent to $1 + n \pmod{2}$ which results in $1$ for even $n$. Meaning $6$ won't divide when $n$ is even. – 2017-02-10
-
0Induction seems like a pain. but $3^{n^2} + 9n + 6 + (9 + [3^{2n+1} - 1]3^{n^2})$ and $(9 + [3^{2n+1}- 1]3^{n^2})$ is clearly divisible by 3 and ... clearly odd!!!! ... this is definitely *not* true for even values of n. – 2017-02-10
-
0I suspect that there's a typo here and that $9^n$ is meant instead of $9n$. – 2017-02-10
5 Answers
This is not so. Taking $n = 4$ prompts $$3^{16} + 9(4) + 6\mod 6 = 3.$$
Actually, for all even $n$, $3^{n^2}$ is an odd number and $9n+6$ is an even number, the sum is an odd number and cannot be divided by 6.
Your statement is NOT true, because for $n=2$ we have $$ 3^{2^2}+2(9)+6=3^4+18+6=81+24=105=102+3=6\cdot17+3. $$
-
0I guess it is a faulty exercies. Thanks, I have been banging my head against the wall on this one. – 2017-02-10
$3^{(n+1)^2} + 9(n+1) + 6 =$
$3^{n^2 + 2n + 1} + 9n + 6 + 9 =$
$3^{n^2}3^{2n}*3 + 9n + 6 + 9 =$
$(3^{n^2} + 9n + 6) + (9 + (3^{2n}*3 - 1)3^{3n^2})=$
Now $(9 + (3^{2n}*3 - 1)3^{3n^2})$ is odd so not divisible by 6.
But we have proven that $3^{(n+1)^2} + 9(n+1) + 6$ is even if and only if $3^{n^2} + 9n + 6$ is odd.
So as $3^{n^2} + 9n + 6$ is divisible by 3, and $3^{1^2} + 9*1 + 6$ is even, $3^{n^2}+9+6$ is divisible by $6$ if $n$ is odd, and is not if $n$ is even.
===
To restate the problem:
Prove by induction that $3^{n^2} + 9n + 6$ is divisible by $6$ if $n$ is odd.
$3^{1^2} + 9*1 + 6 = 18$ is divisible by 6$.
Assume $3^{(2k - 1)^2} + 9(2k -1 ) + 6$ is divisible by $6$
The $[3^{(2k + 1)^2} + 9(2k+1) + 6] - [3^{(2k - 1)^2} + 9(2k-1) + 6]=$
$3^{4k^2}*3[3^{2k} - 3^{-2k}] + 18=$
$3^{4k^2 - 2k}[3^{4k} - 1] + 18$ So $k \ge 1$, $3^{4k} - 1$ is even, and $3^{4k^2 - 2k}$ is a non-trivial power of $3$ so $3^{4k^2 - 2k}[3^{4k} - 1]$ is divisible by $6$ and $18$ is divisible by $6$ and as the difference between $3^{(2k + 1)^2} + 9(2k+1) + 6$ and $3^{(2k - 1)^2} + 9(2k -1 ) + 6$ is divisible by $6$ and $3^{(2k - 1)^2} + 9(2k -1 ) + 6$ is divisible by $6$.... we can conclude $3^{(2k + 1)^2} + 9(2k +1 ) + 6$ is divisible by $6$.
....
Of course it'd be easier to simplify before doing the induction:
$3^{n^2} + 9n + 6 = (3^{n^2 - 1} + 3n + 2)$ is divisible by $3$ so proving it is is divisible by $6$ is a matter of proving it is even. As $n$ is odd $9n + 6$ is odd so it is a matter of proving $3^{n^2}$ is odd which... um, it is. No, need for induction at all.
$\begin{align}{\bf Hint}\ \ \ {\rm mod}\,\ 6\!:&\ \ \ 3^{\large f(n)} \equiv\overbrace{-6-9n}^{\large \equiv\,\ 3\color{#c00}n}\ \ \ {\rm for }\ \ f(n)\ge 1\\ \overset{\ {\rm cancel}\,\ \large 3\ } \iff {\rm mod}\,\ 2\!:&\ \ \ \underbrace{3^{\large f(n)-1}}_{\large \equiv\ 1}\equiv \color{#c00}n\iff n\rm\ is\ odd \end{align}$