Divisibility of a number by $3$
I have to prove the following statement by induction:
$P(n):5^{3n} + 2^{n+1}$ is a multiple of $3$ for all $n in mathbb{N}$
I started with the base case for $n=1$, which is true, and then, by taking $P(n)$ as true, $P(n+1)$ gives me $125 * 5^{3n} + 2 * 2^{n+1}$, and I can't see how to prove that this is a multiple of $3$... any suggestions? Thanks in advance!
divisibility
add a comment |
I have to prove the following statement by induction:
$P(n):5^{3n} + 2^{n+1}$ is a multiple of $3$ for all $n in mathbb{N}$
I started with the base case for $n=1$, which is true, and then, by taking $P(n)$ as true, $P(n+1)$ gives me $125 * 5^{3n} + 2 * 2^{n+1}$, and I can't see how to prove that this is a multiple of $3$... any suggestions? Thanks in advance!
divisibility
Edit: Thanks everyone, I really should have seen that!
– JBuck
Nov 27 at 0:17
add a comment |
I have to prove the following statement by induction:
$P(n):5^{3n} + 2^{n+1}$ is a multiple of $3$ for all $n in mathbb{N}$
I started with the base case for $n=1$, which is true, and then, by taking $P(n)$ as true, $P(n+1)$ gives me $125 * 5^{3n} + 2 * 2^{n+1}$, and I can't see how to prove that this is a multiple of $3$... any suggestions? Thanks in advance!
divisibility
I have to prove the following statement by induction:
$P(n):5^{3n} + 2^{n+1}$ is a multiple of $3$ for all $n in mathbb{N}$
I started with the base case for $n=1$, which is true, and then, by taking $P(n)$ as true, $P(n+1)$ gives me $125 * 5^{3n} + 2 * 2^{n+1}$, and I can't see how to prove that this is a multiple of $3$... any suggestions? Thanks in advance!
divisibility
divisibility
edited Nov 26 at 23:01
Eevee Trainer
4,065530
4,065530
asked Nov 26 at 22:46
JBuck
336
336
Edit: Thanks everyone, I really should have seen that!
– JBuck
Nov 27 at 0:17
add a comment |
Edit: Thanks everyone, I really should have seen that!
– JBuck
Nov 27 at 0:17
Edit: Thanks everyone, I really should have seen that!
– JBuck
Nov 27 at 0:17
Edit: Thanks everyone, I really should have seen that!
– JBuck
Nov 27 at 0:17
add a comment |
6 Answers
6
active
oldest
votes
Following your argument:
By Induction Hypothesis: $5^{3n}+2^{n+1}=3K$, for some $Kinmathbb N$, so $5^{3n}=3K-2^{n+1}$. Hence,
$$125cdot 5^{3n}+2cdot 2^{n+1}=125(3K-2^{n+1})+2cdot2^{n+1}=125cdot 3cdot K-123 cdot 2^{n-1}.$$
The first sumand is clearly divisible by 3 and the last one also, because $123=41cdot 3$.
add a comment |
No induction required here – lil' Fermat will do:
$5^3equiv 2^3equiv 2mod 3$, so
$$5^{3n}+2^{n+1}equiv 2^n+2^{n+1}=2^n(1+2)equiv 0mod 3.$$
Great alternative.
– MisterRiemann
Nov 26 at 23:57
Unfortunately, I haven't studied modular arithmetic, but thanks anyway!
– JBuck
Nov 27 at 0:18
Well, in my opinion, you should study it for yourself. It simplifies many proofs, and can be taught (at an elementary level) from mid-school.
– Bernard
Nov 27 at 0:24
add a comment |
$P(n)$ being true means that
$$ 5^{3n}+2^{n+1} = 3k, $$
for some $k in mathbb Z$. Now write
$$ 125 cdot 5^{3n} + 2cdot2^{n+1} = 123 cdot 5^{3n} + 2 (5^{3n}+2^{3n}) = 3 cdot 41 cdot 5^{3n} + 2 cdot 3k = 3(41 cdot 5^{3n} + 2k). $$
add a comment |
Write $125=123+2$ and use the fact that $123$ is divisible by $3$
add a comment |
Notice the following two facts:
$$125 = 5^3 ;;; Rightarrow ;;; 125 cdot 5^{3n} = 5^{3n+3} = 5^{3(n+1)}$$
$$2 cdot 2^{n+1} = 2^{(n+1)+1} = 2^{n+2}$$
Recall further that you want to show $P(n+1)$ is true, i.e. $3$ divides $5^{3(n+1)} + 2^{(n+1)+1} = 5^{3(n+1)} + 2^{n+2}$.
See how you might continue from there?
Yeah, I clearly saw it after the other guys pointed it out, thanks!
– JBuck
Nov 27 at 0:19
add a comment |
Calling $m_3 = 3m$ as a rule, we have
$$
5^{3n}+2^{n+1}=(126-1)^n +(3-1)(3-1)^n = m_3+(-1)^n+3 (p_3+(-1)^n)-(p_3+(-1)^n) = q_3 + (-1)^n-(-1)^n = q_3equiv 0 mod 3
$$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3015053%2fdivisibility-of-a-number-by-3%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
6 Answers
6
active
oldest
votes
6 Answers
6
active
oldest
votes
active
oldest
votes
active
oldest
votes
Following your argument:
By Induction Hypothesis: $5^{3n}+2^{n+1}=3K$, for some $Kinmathbb N$, so $5^{3n}=3K-2^{n+1}$. Hence,
$$125cdot 5^{3n}+2cdot 2^{n+1}=125(3K-2^{n+1})+2cdot2^{n+1}=125cdot 3cdot K-123 cdot 2^{n-1}.$$
The first sumand is clearly divisible by 3 and the last one also, because $123=41cdot 3$.
add a comment |
Following your argument:
By Induction Hypothesis: $5^{3n}+2^{n+1}=3K$, for some $Kinmathbb N$, so $5^{3n}=3K-2^{n+1}$. Hence,
$$125cdot 5^{3n}+2cdot 2^{n+1}=125(3K-2^{n+1})+2cdot2^{n+1}=125cdot 3cdot K-123 cdot 2^{n-1}.$$
The first sumand is clearly divisible by 3 and the last one also, because $123=41cdot 3$.
add a comment |
Following your argument:
By Induction Hypothesis: $5^{3n}+2^{n+1}=3K$, for some $Kinmathbb N$, so $5^{3n}=3K-2^{n+1}$. Hence,
$$125cdot 5^{3n}+2cdot 2^{n+1}=125(3K-2^{n+1})+2cdot2^{n+1}=125cdot 3cdot K-123 cdot 2^{n-1}.$$
The first sumand is clearly divisible by 3 and the last one also, because $123=41cdot 3$.
Following your argument:
By Induction Hypothesis: $5^{3n}+2^{n+1}=3K$, for some $Kinmathbb N$, so $5^{3n}=3K-2^{n+1}$. Hence,
$$125cdot 5^{3n}+2cdot 2^{n+1}=125(3K-2^{n+1})+2cdot2^{n+1}=125cdot 3cdot K-123 cdot 2^{n-1}.$$
The first sumand is clearly divisible by 3 and the last one also, because $123=41cdot 3$.
answered Nov 26 at 22:52
Tito Eliatron
1,553622
1,553622
add a comment |
add a comment |
No induction required here – lil' Fermat will do:
$5^3equiv 2^3equiv 2mod 3$, so
$$5^{3n}+2^{n+1}equiv 2^n+2^{n+1}=2^n(1+2)equiv 0mod 3.$$
Great alternative.
– MisterRiemann
Nov 26 at 23:57
Unfortunately, I haven't studied modular arithmetic, but thanks anyway!
– JBuck
Nov 27 at 0:18
Well, in my opinion, you should study it for yourself. It simplifies many proofs, and can be taught (at an elementary level) from mid-school.
– Bernard
Nov 27 at 0:24
add a comment |
No induction required here – lil' Fermat will do:
$5^3equiv 2^3equiv 2mod 3$, so
$$5^{3n}+2^{n+1}equiv 2^n+2^{n+1}=2^n(1+2)equiv 0mod 3.$$
Great alternative.
– MisterRiemann
Nov 26 at 23:57
Unfortunately, I haven't studied modular arithmetic, but thanks anyway!
– JBuck
Nov 27 at 0:18
Well, in my opinion, you should study it for yourself. It simplifies many proofs, and can be taught (at an elementary level) from mid-school.
– Bernard
Nov 27 at 0:24
add a comment |
No induction required here – lil' Fermat will do:
$5^3equiv 2^3equiv 2mod 3$, so
$$5^{3n}+2^{n+1}equiv 2^n+2^{n+1}=2^n(1+2)equiv 0mod 3.$$
No induction required here – lil' Fermat will do:
$5^3equiv 2^3equiv 2mod 3$, so
$$5^{3n}+2^{n+1}equiv 2^n+2^{n+1}=2^n(1+2)equiv 0mod 3.$$
answered Nov 26 at 23:38
Bernard
118k639112
118k639112
Great alternative.
– MisterRiemann
Nov 26 at 23:57
Unfortunately, I haven't studied modular arithmetic, but thanks anyway!
– JBuck
Nov 27 at 0:18
Well, in my opinion, you should study it for yourself. It simplifies many proofs, and can be taught (at an elementary level) from mid-school.
– Bernard
Nov 27 at 0:24
add a comment |
Great alternative.
– MisterRiemann
Nov 26 at 23:57
Unfortunately, I haven't studied modular arithmetic, but thanks anyway!
– JBuck
Nov 27 at 0:18
Well, in my opinion, you should study it for yourself. It simplifies many proofs, and can be taught (at an elementary level) from mid-school.
– Bernard
Nov 27 at 0:24
Great alternative.
– MisterRiemann
Nov 26 at 23:57
Great alternative.
– MisterRiemann
Nov 26 at 23:57
Unfortunately, I haven't studied modular arithmetic, but thanks anyway!
– JBuck
Nov 27 at 0:18
Unfortunately, I haven't studied modular arithmetic, but thanks anyway!
– JBuck
Nov 27 at 0:18
Well, in my opinion, you should study it for yourself. It simplifies many proofs, and can be taught (at an elementary level) from mid-school.
– Bernard
Nov 27 at 0:24
Well, in my opinion, you should study it for yourself. It simplifies many proofs, and can be taught (at an elementary level) from mid-school.
– Bernard
Nov 27 at 0:24
add a comment |
$P(n)$ being true means that
$$ 5^{3n}+2^{n+1} = 3k, $$
for some $k in mathbb Z$. Now write
$$ 125 cdot 5^{3n} + 2cdot2^{n+1} = 123 cdot 5^{3n} + 2 (5^{3n}+2^{3n}) = 3 cdot 41 cdot 5^{3n} + 2 cdot 3k = 3(41 cdot 5^{3n} + 2k). $$
add a comment |
$P(n)$ being true means that
$$ 5^{3n}+2^{n+1} = 3k, $$
for some $k in mathbb Z$. Now write
$$ 125 cdot 5^{3n} + 2cdot2^{n+1} = 123 cdot 5^{3n} + 2 (5^{3n}+2^{3n}) = 3 cdot 41 cdot 5^{3n} + 2 cdot 3k = 3(41 cdot 5^{3n} + 2k). $$
add a comment |
$P(n)$ being true means that
$$ 5^{3n}+2^{n+1} = 3k, $$
for some $k in mathbb Z$. Now write
$$ 125 cdot 5^{3n} + 2cdot2^{n+1} = 123 cdot 5^{3n} + 2 (5^{3n}+2^{3n}) = 3 cdot 41 cdot 5^{3n} + 2 cdot 3k = 3(41 cdot 5^{3n} + 2k). $$
$P(n)$ being true means that
$$ 5^{3n}+2^{n+1} = 3k, $$
for some $k in mathbb Z$. Now write
$$ 125 cdot 5^{3n} + 2cdot2^{n+1} = 123 cdot 5^{3n} + 2 (5^{3n}+2^{3n}) = 3 cdot 41 cdot 5^{3n} + 2 cdot 3k = 3(41 cdot 5^{3n} + 2k). $$
answered Nov 26 at 22:51
MisterRiemann
5,7691624
5,7691624
add a comment |
add a comment |
Write $125=123+2$ and use the fact that $123$ is divisible by $3$
add a comment |
Write $125=123+2$ and use the fact that $123$ is divisible by $3$
add a comment |
Write $125=123+2$ and use the fact that $123$ is divisible by $3$
Write $125=123+2$ and use the fact that $123$ is divisible by $3$
edited Nov 26 at 22:57
answered Nov 26 at 22:51
Ross Millikan
291k23196370
291k23196370
add a comment |
add a comment |
Notice the following two facts:
$$125 = 5^3 ;;; Rightarrow ;;; 125 cdot 5^{3n} = 5^{3n+3} = 5^{3(n+1)}$$
$$2 cdot 2^{n+1} = 2^{(n+1)+1} = 2^{n+2}$$
Recall further that you want to show $P(n+1)$ is true, i.e. $3$ divides $5^{3(n+1)} + 2^{(n+1)+1} = 5^{3(n+1)} + 2^{n+2}$.
See how you might continue from there?
Yeah, I clearly saw it after the other guys pointed it out, thanks!
– JBuck
Nov 27 at 0:19
add a comment |
Notice the following two facts:
$$125 = 5^3 ;;; Rightarrow ;;; 125 cdot 5^{3n} = 5^{3n+3} = 5^{3(n+1)}$$
$$2 cdot 2^{n+1} = 2^{(n+1)+1} = 2^{n+2}$$
Recall further that you want to show $P(n+1)$ is true, i.e. $3$ divides $5^{3(n+1)} + 2^{(n+1)+1} = 5^{3(n+1)} + 2^{n+2}$.
See how you might continue from there?
Yeah, I clearly saw it after the other guys pointed it out, thanks!
– JBuck
Nov 27 at 0:19
add a comment |
Notice the following two facts:
$$125 = 5^3 ;;; Rightarrow ;;; 125 cdot 5^{3n} = 5^{3n+3} = 5^{3(n+1)}$$
$$2 cdot 2^{n+1} = 2^{(n+1)+1} = 2^{n+2}$$
Recall further that you want to show $P(n+1)$ is true, i.e. $3$ divides $5^{3(n+1)} + 2^{(n+1)+1} = 5^{3(n+1)} + 2^{n+2}$.
See how you might continue from there?
Notice the following two facts:
$$125 = 5^3 ;;; Rightarrow ;;; 125 cdot 5^{3n} = 5^{3n+3} = 5^{3(n+1)}$$
$$2 cdot 2^{n+1} = 2^{(n+1)+1} = 2^{n+2}$$
Recall further that you want to show $P(n+1)$ is true, i.e. $3$ divides $5^{3(n+1)} + 2^{(n+1)+1} = 5^{3(n+1)} + 2^{n+2}$.
See how you might continue from there?
answered Nov 26 at 22:51
Eevee Trainer
4,065530
4,065530
Yeah, I clearly saw it after the other guys pointed it out, thanks!
– JBuck
Nov 27 at 0:19
add a comment |
Yeah, I clearly saw it after the other guys pointed it out, thanks!
– JBuck
Nov 27 at 0:19
Yeah, I clearly saw it after the other guys pointed it out, thanks!
– JBuck
Nov 27 at 0:19
Yeah, I clearly saw it after the other guys pointed it out, thanks!
– JBuck
Nov 27 at 0:19
add a comment |
Calling $m_3 = 3m$ as a rule, we have
$$
5^{3n}+2^{n+1}=(126-1)^n +(3-1)(3-1)^n = m_3+(-1)^n+3 (p_3+(-1)^n)-(p_3+(-1)^n) = q_3 + (-1)^n-(-1)^n = q_3equiv 0 mod 3
$$
add a comment |
Calling $m_3 = 3m$ as a rule, we have
$$
5^{3n}+2^{n+1}=(126-1)^n +(3-1)(3-1)^n = m_3+(-1)^n+3 (p_3+(-1)^n)-(p_3+(-1)^n) = q_3 + (-1)^n-(-1)^n = q_3equiv 0 mod 3
$$
add a comment |
Calling $m_3 = 3m$ as a rule, we have
$$
5^{3n}+2^{n+1}=(126-1)^n +(3-1)(3-1)^n = m_3+(-1)^n+3 (p_3+(-1)^n)-(p_3+(-1)^n) = q_3 + (-1)^n-(-1)^n = q_3equiv 0 mod 3
$$
Calling $m_3 = 3m$ as a rule, we have
$$
5^{3n}+2^{n+1}=(126-1)^n +(3-1)(3-1)^n = m_3+(-1)^n+3 (p_3+(-1)^n)-(p_3+(-1)^n) = q_3 + (-1)^n-(-1)^n = q_3equiv 0 mod 3
$$
answered Nov 27 at 1:02
Cesareo
8,1833516
8,1833516
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3015053%2fdivisibility-of-a-number-by-3%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Edit: Thanks everyone, I really should have seen that!
– JBuck
Nov 27 at 0:17