Prove that every prime number divides some number in the sequence $ a_n = 2^n+3^n+6^n-1 $
$begingroup$
Let $ (a_n) $ be a sequence of numbers such that for all natural numbers $ n $:
$$ a_n = 2^n+3^n+6^n-1 $$
Show that every prime number divides some number in that sequence.
sequences-and-series elementary-number-theory prime-numbers recurrence-relations
$endgroup$
add a comment |
$begingroup$
Let $ (a_n) $ be a sequence of numbers such that for all natural numbers $ n $:
$$ a_n = 2^n+3^n+6^n-1 $$
Show that every prime number divides some number in that sequence.
sequences-and-series elementary-number-theory prime-numbers recurrence-relations
$endgroup$
$begingroup$
I trust you have made some effort to solve this on your own. Please show this in your question, including what you've had difficulty with. Thanks.
$endgroup$
– John Omielan
1 hour ago
add a comment |
$begingroup$
Let $ (a_n) $ be a sequence of numbers such that for all natural numbers $ n $:
$$ a_n = 2^n+3^n+6^n-1 $$
Show that every prime number divides some number in that sequence.
sequences-and-series elementary-number-theory prime-numbers recurrence-relations
$endgroup$
Let $ (a_n) $ be a sequence of numbers such that for all natural numbers $ n $:
$$ a_n = 2^n+3^n+6^n-1 $$
Show that every prime number divides some number in that sequence.
sequences-and-series elementary-number-theory prime-numbers recurrence-relations
sequences-and-series elementary-number-theory prime-numbers recurrence-relations
edited 51 mins ago
JimmyK4542
40.7k245105
40.7k245105
asked 1 hour ago
DoodDood
357
357
$begingroup$
I trust you have made some effort to solve this on your own. Please show this in your question, including what you've had difficulty with. Thanks.
$endgroup$
– John Omielan
1 hour ago
add a comment |
$begingroup$
I trust you have made some effort to solve this on your own. Please show this in your question, including what you've had difficulty with. Thanks.
$endgroup$
– John Omielan
1 hour ago
$begingroup$
I trust you have made some effort to solve this on your own. Please show this in your question, including what you've had difficulty with. Thanks.
$endgroup$
– John Omielan
1 hour ago
$begingroup$
I trust you have made some effort to solve this on your own. Please show this in your question, including what you've had difficulty with. Thanks.
$endgroup$
– John Omielan
1 hour ago
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Let $p$ be prime number. Consider $a_{p-2}=2^{p-2}+3^{p-2}+6^{p-2}-1$. Then
begin{align*}
6a_{p-2} & equiv 6(2^{p-2}+3^{p-2}+6^{p-2})-6 pmod{p}\
& equiv 3cdot 2^{p-1}+2cdot 3^{p-1}+6^{p-1}-6pmod{p}\
& equiv 3+2+1 -6pmod{p}\
& equiv 0 pmod{p}.
end{align*}
For $p>3$, we will have $gcd(6,p)=1$. So we can multiply by $6^{-1}$ on both sides to get
$$a_{p-2} equiv 0 pmod{p}$$
Now you can deal with $p=2,3$ as special case.
$endgroup$
3
$begingroup$
Intuitively, taking $n=-1$ would give $a_{-1} = frac12 + frac13 + frac16 - 1 = 0$, and the remainders mod $p$ should repeat every $p-1$ steps, so taking $n=p-2$ also works. This isn't quite rigorous, but it's motivation for considering $a_{p-2}$.
$endgroup$
– Misha Lavrov
1 hour ago
1
$begingroup$
Thanks, I had to look up how to justify that all these powers were congruent to 1 (mod.p). Indeed Fermats little theorem solves this problem fast. Thanks for help and for such quick response.
$endgroup$
– Dood
1 hour ago
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%2f3083975%2fprove-that-every-prime-number-divides-some-number-in-the-sequence-a-n-2n3%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Let $p$ be prime number. Consider $a_{p-2}=2^{p-2}+3^{p-2}+6^{p-2}-1$. Then
begin{align*}
6a_{p-2} & equiv 6(2^{p-2}+3^{p-2}+6^{p-2})-6 pmod{p}\
& equiv 3cdot 2^{p-1}+2cdot 3^{p-1}+6^{p-1}-6pmod{p}\
& equiv 3+2+1 -6pmod{p}\
& equiv 0 pmod{p}.
end{align*}
For $p>3$, we will have $gcd(6,p)=1$. So we can multiply by $6^{-1}$ on both sides to get
$$a_{p-2} equiv 0 pmod{p}$$
Now you can deal with $p=2,3$ as special case.
$endgroup$
3
$begingroup$
Intuitively, taking $n=-1$ would give $a_{-1} = frac12 + frac13 + frac16 - 1 = 0$, and the remainders mod $p$ should repeat every $p-1$ steps, so taking $n=p-2$ also works. This isn't quite rigorous, but it's motivation for considering $a_{p-2}$.
$endgroup$
– Misha Lavrov
1 hour ago
1
$begingroup$
Thanks, I had to look up how to justify that all these powers were congruent to 1 (mod.p). Indeed Fermats little theorem solves this problem fast. Thanks for help and for such quick response.
$endgroup$
– Dood
1 hour ago
add a comment |
$begingroup$
Let $p$ be prime number. Consider $a_{p-2}=2^{p-2}+3^{p-2}+6^{p-2}-1$. Then
begin{align*}
6a_{p-2} & equiv 6(2^{p-2}+3^{p-2}+6^{p-2})-6 pmod{p}\
& equiv 3cdot 2^{p-1}+2cdot 3^{p-1}+6^{p-1}-6pmod{p}\
& equiv 3+2+1 -6pmod{p}\
& equiv 0 pmod{p}.
end{align*}
For $p>3$, we will have $gcd(6,p)=1$. So we can multiply by $6^{-1}$ on both sides to get
$$a_{p-2} equiv 0 pmod{p}$$
Now you can deal with $p=2,3$ as special case.
$endgroup$
3
$begingroup$
Intuitively, taking $n=-1$ would give $a_{-1} = frac12 + frac13 + frac16 - 1 = 0$, and the remainders mod $p$ should repeat every $p-1$ steps, so taking $n=p-2$ also works. This isn't quite rigorous, but it's motivation for considering $a_{p-2}$.
$endgroup$
– Misha Lavrov
1 hour ago
1
$begingroup$
Thanks, I had to look up how to justify that all these powers were congruent to 1 (mod.p). Indeed Fermats little theorem solves this problem fast. Thanks for help and for such quick response.
$endgroup$
– Dood
1 hour ago
add a comment |
$begingroup$
Let $p$ be prime number. Consider $a_{p-2}=2^{p-2}+3^{p-2}+6^{p-2}-1$. Then
begin{align*}
6a_{p-2} & equiv 6(2^{p-2}+3^{p-2}+6^{p-2})-6 pmod{p}\
& equiv 3cdot 2^{p-1}+2cdot 3^{p-1}+6^{p-1}-6pmod{p}\
& equiv 3+2+1 -6pmod{p}\
& equiv 0 pmod{p}.
end{align*}
For $p>3$, we will have $gcd(6,p)=1$. So we can multiply by $6^{-1}$ on both sides to get
$$a_{p-2} equiv 0 pmod{p}$$
Now you can deal with $p=2,3$ as special case.
$endgroup$
Let $p$ be prime number. Consider $a_{p-2}=2^{p-2}+3^{p-2}+6^{p-2}-1$. Then
begin{align*}
6a_{p-2} & equiv 6(2^{p-2}+3^{p-2}+6^{p-2})-6 pmod{p}\
& equiv 3cdot 2^{p-1}+2cdot 3^{p-1}+6^{p-1}-6pmod{p}\
& equiv 3+2+1 -6pmod{p}\
& equiv 0 pmod{p}.
end{align*}
For $p>3$, we will have $gcd(6,p)=1$. So we can multiply by $6^{-1}$ on both sides to get
$$a_{p-2} equiv 0 pmod{p}$$
Now you can deal with $p=2,3$ as special case.
edited 1 hour ago
Robert Israel
321k23210462
321k23210462
answered 1 hour ago
Anurag AAnurag A
25.9k12249
25.9k12249
3
$begingroup$
Intuitively, taking $n=-1$ would give $a_{-1} = frac12 + frac13 + frac16 - 1 = 0$, and the remainders mod $p$ should repeat every $p-1$ steps, so taking $n=p-2$ also works. This isn't quite rigorous, but it's motivation for considering $a_{p-2}$.
$endgroup$
– Misha Lavrov
1 hour ago
1
$begingroup$
Thanks, I had to look up how to justify that all these powers were congruent to 1 (mod.p). Indeed Fermats little theorem solves this problem fast. Thanks for help and for such quick response.
$endgroup$
– Dood
1 hour ago
add a comment |
3
$begingroup$
Intuitively, taking $n=-1$ would give $a_{-1} = frac12 + frac13 + frac16 - 1 = 0$, and the remainders mod $p$ should repeat every $p-1$ steps, so taking $n=p-2$ also works. This isn't quite rigorous, but it's motivation for considering $a_{p-2}$.
$endgroup$
– Misha Lavrov
1 hour ago
1
$begingroup$
Thanks, I had to look up how to justify that all these powers were congruent to 1 (mod.p). Indeed Fermats little theorem solves this problem fast. Thanks for help and for such quick response.
$endgroup$
– Dood
1 hour ago
3
3
$begingroup$
Intuitively, taking $n=-1$ would give $a_{-1} = frac12 + frac13 + frac16 - 1 = 0$, and the remainders mod $p$ should repeat every $p-1$ steps, so taking $n=p-2$ also works. This isn't quite rigorous, but it's motivation for considering $a_{p-2}$.
$endgroup$
– Misha Lavrov
1 hour ago
$begingroup$
Intuitively, taking $n=-1$ would give $a_{-1} = frac12 + frac13 + frac16 - 1 = 0$, and the remainders mod $p$ should repeat every $p-1$ steps, so taking $n=p-2$ also works. This isn't quite rigorous, but it's motivation for considering $a_{p-2}$.
$endgroup$
– Misha Lavrov
1 hour ago
1
1
$begingroup$
Thanks, I had to look up how to justify that all these powers were congruent to 1 (mod.p). Indeed Fermats little theorem solves this problem fast. Thanks for help and for such quick response.
$endgroup$
– Dood
1 hour ago
$begingroup$
Thanks, I had to look up how to justify that all these powers were congruent to 1 (mod.p). Indeed Fermats little theorem solves this problem fast. Thanks for help and for such quick response.
$endgroup$
– Dood
1 hour ago
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.
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%2f3083975%2fprove-that-every-prime-number-divides-some-number-in-the-sequence-a-n-2n3%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
$begingroup$
I trust you have made some effort to solve this on your own. Please show this in your question, including what you've had difficulty with. Thanks.
$endgroup$
– John Omielan
1 hour ago