How can I prove that $$5^{2n+1}+3^{n+2} \cdot 2^{n-1} $$ can be divided by 19 for any nonnegative n? What modulo should I choose?
-
12You should try to take mod 19 :-) – Simply Beautiful Art Jan 15 '17 at 18:15
-
Did you try to prove it by induction ? – Adren Jan 15 '17 at 18:15
-
yes indeed. 19 is prime you see – Jan 15 '17 at 18:15
-
7It's not true for $n=0$ so you had better change the hypothesis – David Quinn Jan 15 '17 at 18:24
-
3If you are studying number theory (per the tags), then I highly recommend that you resist the temptation to settle for plug-and-chug brute force inductive proofs devoid of arithmetical insight. The arithmetical essence of dvisibilities like this becomes much clearer when one uses modular arithmetic. For more complex problems the brute force methods will fail miserably, whereas the modular methods remain just as simple. – Bill Dubuque Jan 15 '17 at 21:54
-
There is a meta question about this question. Be aware that this question was on the Hot List. – Bill Dubuque Jan 23 '17 at 20:32
6 Answers
For $n=0$, the formula says that $\left.19\middle|\frac{19}2\right.$, which is false. So consider $n\ge1$: $$ \begin{align} 5^{2n+1}+3^{n+2}2^{n-1} &=125\cdot25^{n-1}+27\cdot6^{n-1}\\ &\equiv11\cdot6^{n-1}+8\cdot6^{n-1}&\pmod{19}\\ &=19\cdot6^{n-1}\\ &\equiv0&\pmod{19} \end{align} $$ Since $$ \begin{align} 125&\equiv11&\pmod{19}\\ 25&\equiv6&\pmod{19}\\ 27&\equiv8&\pmod{19} \end{align} $$
- 345,667
-
1
-
2I don't know why you got downvoted (although the meta discussion might have something to do with it), but I did notice that, as pointed out by David Quinn above, your congruences are only valid if $n \ge 1$, since otherwise $6^{n-1}$ is not an integer. That's something that should probably be explicitly noted, even at the risk of spoiling the elegant simplicity of the answer. – Ilmari Karonen Feb 02 '17 at 14:39
-
@IlmariKaronen: If we consider $n=0$, the original formula claims that $\left.19\middle|\frac{19}2\right.$. That's like saying $2\mid1$. So the original formula does not hold for $n=0$. – robjohn Feb 02 '17 at 16:09
$5^{2n+1} = 5 \times 25^n \equiv 5 \times 6^n$ (modulo 19). Hence we have $5^{2n+1} + 3^{n+2}\times2^{n-1} \equiv 6^{n-1} \times (30 + 27) = 6^{n-1}\times3\times 19$ (modulo 19)
- 1,659
Its arithmetical essence is clarified using Congruence Product and Power Rules, namely
$$\begin{align}{\rm mod}\,\ 19\!:\qquad \big[\,\ 5^{\large\color{#c00}1} \ &\equiv\, -3^{\large\color{#c00} 2}\ \cdot\, 2^{\large\color{#c00}{-1}}\big]\ \ \ {\rm by}\ \ \ \ \,2\cdot 5\equiv -3^{\large 2}\\ \times\ \ \, \big[\, 5^{\large 2n} &\equiv\ \ \ 3^{\large n}\,\cdot\, 2^{\large n}\ \ \ \big]\ \ \ {\rm by} \ \ \Big[\,5^{\large 2}\equiv 3\cdot 2\,\Big]^{\large n}\\[.1em] \Rightarrow\,\ 5^{\large 2n+\color{#c00}1}\!&\equiv -3^{\large n+\color{#c00}2} 2^{\large n\color{#c00}{-1}} \end{align}\qquad\qquad\quad\ $$
Therefore we infer that $\ 19\mid 5^{\large 2n+1}+\ 3^{\large n+2} 2^{\large n-1}$ when it is integral, i.e. for all $\,n\ge 1$
Remark $ $ It is even clearer when written in fractional form, namely
$$ \dfrac{5^{\large 2n+1}}{3^{\large n+2}2^{\large n-1} }\ \equiv\ \left[\dfrac{2\cdot 5}{3\cdot 3}\right]\left[\dfrac{5^{\large 2}}{3\cdot 2}\right]^{\large n}\!\!\equiv\, -1\cdot 1^{\large n}\equiv\, -1$$
Notice how use of congruence language greatly simplifies the inductive step, reducing it to the trivial induction that $\,1^n\equiv 1.$
- 272,048
You can prove this by induction.
First, show that this is true for $n=1$:
$5^{2\cdot1+1}+3^{1+2}\cdot2^{1-1}=19\cdot8$
Second, assume that this is true for $n$:
$5^{2n+1}+3^{n+2}\cdot2^{n-1}=19k$
Third, prove that this is true for $n+1$:
$5^{2(n+1)+1}+3^{n+1+2}\cdot2^{n+1-1}=$
$5^{2+2n+1}+3^{1+n+2}\cdot2^{1+n-1}=$
$5^{2}\cdot5^{2n+1}+3^{1}\cdot3^{n+2}\cdot2^{1}\cdot2^{n-1}=$
$5^{2}\cdot5^{2n+1}+3^{1}\cdot2^{1}\cdot3^{n+2}\cdot2^{n-1}=$
$25\cdot5^{2n+1}+\color\green{6}\cdot3^{n+2}\cdot2^{n-1}=$
$25\cdot5^{2n+1}+(\color\green{25-19})\cdot3^{n+2}\cdot2^{n-1}=$
$25\cdot5^{2n+1}+25\cdot3^{n+2}\cdot2^{n-1}-19\cdot3^{n+2}\cdot2^{n-1}=$
$25\cdot(\color\red{5^{2n+1}+3^{n+2}\cdot2^{n-1}})-19\cdot3^{n+2}\cdot2^{n-1}=$
$25\cdot\color\red{19k}-19\cdot3^{n+2}\cdot2^{n-1}=$
$19\cdot25k-19\cdot3^{n+2}\cdot2^{n-1}=$
$19\cdot(25k-3^{n+2}\cdot2^{n-1})$
Please note that the assumption is used only in the part marked red.
- 43,109
-
11I think that such a long-winded proof is counter-productive. It hides the essentials in a mass of details. – TonyK Jan 15 '17 at 21:23
-
1
-
6Isn't it customary to have running equals at the start of each line? My eyes want to read the lead coefficients as line-numbers. – Daniel R. Collins Jan 16 '17 at 00:15
-
4
-
4@TonyK To prove what needed to be proved, that's what for. You aren't suggesting that "$6=25-19$ therefore the result follows by induction" would be a sufficient proof, are you? I myself would be content with slightly less working than Barak provided, but there's a danger of the writer being so concise that readers are forced to do the algebra to verify the proof -- so why didn't the writer supply that algebra in the first place? – Rosie F Jan 16 '17 at 10:17
Denote $\mathcal{P}(n)$ the statement that $5^{2n+1} + 3^{n+2}\cdot 2^{n-1}$ is divisible by $19$. You can check for yourself that $\mathcal{P}(1)$ is true. A setup for the proof of $\mathcal{P}(n+1)$:
\begin{align} 5^{2(n+1)+1} + 3^{(n+1)+2}\cdot 2^{(n+1)-1} & = \\ 25 \times 5^{2n+1} + 6 \times 3^{n+2}\cdot 2^{n-1} & = \\ 19 \times 5^{2n+1} + 6 \times 5^{2n+1} + 6 \times 3^{n+2}\cdot 2^{n-1} & = \cdots \end{align} can you finish the proof from here?
$2^{n-1} = \frac12 2^n \equiv 10 \cdot 2^n \pmod {19}$. Hence:
$5^{2n+1} +3^{n+2} \cdot 2^{n-1} \equiv 5 \cdot 6^n + 90 \cdot 6^n \pmod {19} \equiv 95 \cdot 6^n \pmod {19} \equiv 0 \pmod {19}$
-
You should probably also observe that $5^2\equiv 6 \bmod 19$ in your preamble, then it flows nicely. – Joffan Jan 15 '17 at 21:26