Prove that every prime number divides some number in the sequence $ a_n = 2^n+3^n+6^n-1 $












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.










share|cite|improve this question











$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
















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.










share|cite|improve this question











$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














1












1








1


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.










share|cite|improve this question











$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






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 30 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


















  • $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










1 Answer
1






active

oldest

votes


















6












$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.






share|cite|improve this answer











$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











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
});


}
});














draft saved

draft discarded


















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









6












$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.






share|cite|improve this answer











$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
















6












$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.






share|cite|improve this answer











$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














6












6








6





$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.






share|cite|improve this answer











$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.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








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














  • 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


















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

Calculate evaluation metrics using cross_val_predict sklearn

Insert data from modal to MySQL (multiple modal on website)