Every odd divisor is $equiv 1bmod 3$












5












$begingroup$


If $n$ is a positive integer with $nequiv 2pmod 3$ then I want to show that each odd divisor of $n^2+n+1$ is congruent to $1pmod 3$.



$$$$



I have done the following:



Let $d$ be an odd divisor of $n^2+n+1$.



Then $$n^2+n+1equiv 0bmod d Rightarrow (n-1)(n^2+n+1)equiv 0bmod d Rightarrow n^3-1equiv 0 bmod d Rightarrow n^3equiv 1bmod d$$



Since $nequiv 2pmod 3$ we have that $n=2+3k$. Then $$n^3=(2+3k)^3=27k^3+54k^2+36k+8$$



We have that $n^3equiv 1bmod d$ therefore we get $$27k^3+54k^2+36k+8equiv 1bmod d Rightarrow 27k^3+54k^2+36k+7equiv 0bmod d$$



Is everything correct so far? How could we continue?










share|cite|improve this question









$endgroup$








  • 1




    $begingroup$
    Try for prime divisors and consider the multiplicative order of $n$ mod $p$. Note that $n^2+n+1$ is odd.
    $endgroup$
    – Mindlack
    Dec 15 '18 at 20:57
















5












$begingroup$


If $n$ is a positive integer with $nequiv 2pmod 3$ then I want to show that each odd divisor of $n^2+n+1$ is congruent to $1pmod 3$.



$$$$



I have done the following:



Let $d$ be an odd divisor of $n^2+n+1$.



Then $$n^2+n+1equiv 0bmod d Rightarrow (n-1)(n^2+n+1)equiv 0bmod d Rightarrow n^3-1equiv 0 bmod d Rightarrow n^3equiv 1bmod d$$



Since $nequiv 2pmod 3$ we have that $n=2+3k$. Then $$n^3=(2+3k)^3=27k^3+54k^2+36k+8$$



We have that $n^3equiv 1bmod d$ therefore we get $$27k^3+54k^2+36k+8equiv 1bmod d Rightarrow 27k^3+54k^2+36k+7equiv 0bmod d$$



Is everything correct so far? How could we continue?










share|cite|improve this question









$endgroup$








  • 1




    $begingroup$
    Try for prime divisors and consider the multiplicative order of $n$ mod $p$. Note that $n^2+n+1$ is odd.
    $endgroup$
    – Mindlack
    Dec 15 '18 at 20:57














5












5








5


1



$begingroup$


If $n$ is a positive integer with $nequiv 2pmod 3$ then I want to show that each odd divisor of $n^2+n+1$ is congruent to $1pmod 3$.



$$$$



I have done the following:



Let $d$ be an odd divisor of $n^2+n+1$.



Then $$n^2+n+1equiv 0bmod d Rightarrow (n-1)(n^2+n+1)equiv 0bmod d Rightarrow n^3-1equiv 0 bmod d Rightarrow n^3equiv 1bmod d$$



Since $nequiv 2pmod 3$ we have that $n=2+3k$. Then $$n^3=(2+3k)^3=27k^3+54k^2+36k+8$$



We have that $n^3equiv 1bmod d$ therefore we get $$27k^3+54k^2+36k+8equiv 1bmod d Rightarrow 27k^3+54k^2+36k+7equiv 0bmod d$$



Is everything correct so far? How could we continue?










share|cite|improve this question









$endgroup$




If $n$ is a positive integer with $nequiv 2pmod 3$ then I want to show that each odd divisor of $n^2+n+1$ is congruent to $1pmod 3$.



$$$$



I have done the following:



Let $d$ be an odd divisor of $n^2+n+1$.



Then $$n^2+n+1equiv 0bmod d Rightarrow (n-1)(n^2+n+1)equiv 0bmod d Rightarrow n^3-1equiv 0 bmod d Rightarrow n^3equiv 1bmod d$$



Since $nequiv 2pmod 3$ we have that $n=2+3k$. Then $$n^3=(2+3k)^3=27k^3+54k^2+36k+8$$



We have that $n^3equiv 1bmod d$ therefore we get $$27k^3+54k^2+36k+8equiv 1bmod d Rightarrow 27k^3+54k^2+36k+7equiv 0bmod d$$



Is everything correct so far? How could we continue?







elementary-number-theory modular-arithmetic






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Dec 15 '18 at 20:56









Mary StarMary Star

3,10282473




3,10282473








  • 1




    $begingroup$
    Try for prime divisors and consider the multiplicative order of $n$ mod $p$. Note that $n^2+n+1$ is odd.
    $endgroup$
    – Mindlack
    Dec 15 '18 at 20:57














  • 1




    $begingroup$
    Try for prime divisors and consider the multiplicative order of $n$ mod $p$. Note that $n^2+n+1$ is odd.
    $endgroup$
    – Mindlack
    Dec 15 '18 at 20:57








1




1




$begingroup$
Try for prime divisors and consider the multiplicative order of $n$ mod $p$. Note that $n^2+n+1$ is odd.
$endgroup$
– Mindlack
Dec 15 '18 at 20:57




$begingroup$
Try for prime divisors and consider the multiplicative order of $n$ mod $p$. Note that $n^2+n+1$ is odd.
$endgroup$
– Mindlack
Dec 15 '18 at 20:57










1 Answer
1






active

oldest

votes


















6












$begingroup$

Hint: Start with odd prime divisors. As you have correctly shown, for any $pmid n^2+n+1$ we have that
$$n^3equiv 1pmod p.$$
Hence $text{ord}_{p}(n)mid 3$. Since $nequiv 2notequiv 1pmod p$ we know that $text{ord}_{p}(n)=3$. However, we also know that for every $m$ and $x$ coprime to $m$ that $text{ord}_m(x)mid phi(m)$. How can we apply this in this scenario? Once we know the statement holds for every odd prime divisor, what can we say about every odd divisor?






share|cite|improve this answer









$endgroup$













  • $begingroup$
    So, in this case we have that $text{ord}_p(n)mid phi(p)Rightarrow 3mid p-1 Rightarrow p-1=3k Rightarrow p=3k+1$. That means that $pequiv 1pmod 3$. Any odd divisor will be a product of odd prime divisors, right? So we have to show that the product of terms in the form $3m+1$ will be again in that form, right?
    $endgroup$
    – Mary Star
    Dec 15 '18 at 21:23






  • 2




    $begingroup$
    @MaryStar Exactly, but what is a product of things $equiv 1pmod 3$ congruent to mod 3?
    $endgroup$
    – Will Fisher
    Dec 15 '18 at 21:24












  • $begingroup$
    It is congruent to $1$ modulo $3$, since let $aequiv bequiv 1bmod 3$ then $abbmod 3equiv (abmod 3 )(bbmod 3)bmod 3equiv 1bmod 3$, right?
    $endgroup$
    – Mary Star
    Dec 15 '18 at 21:51






  • 2




    $begingroup$
    @MaryStar Yep. And like you said, odd divisors are products of odd primes, all of which we know are congruent to 1 mod 3.
    $endgroup$
    – Will Fisher
    Dec 15 '18 at 21:53










  • $begingroup$
    Great!! Thanks a lot!! :-)
    $endgroup$
    – Mary Star
    Dec 15 '18 at 21:59











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%2f3041946%2fevery-odd-divisor-is-equiv-1-bmod-3%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$

Hint: Start with odd prime divisors. As you have correctly shown, for any $pmid n^2+n+1$ we have that
$$n^3equiv 1pmod p.$$
Hence $text{ord}_{p}(n)mid 3$. Since $nequiv 2notequiv 1pmod p$ we know that $text{ord}_{p}(n)=3$. However, we also know that for every $m$ and $x$ coprime to $m$ that $text{ord}_m(x)mid phi(m)$. How can we apply this in this scenario? Once we know the statement holds for every odd prime divisor, what can we say about every odd divisor?






share|cite|improve this answer









$endgroup$













  • $begingroup$
    So, in this case we have that $text{ord}_p(n)mid phi(p)Rightarrow 3mid p-1 Rightarrow p-1=3k Rightarrow p=3k+1$. That means that $pequiv 1pmod 3$. Any odd divisor will be a product of odd prime divisors, right? So we have to show that the product of terms in the form $3m+1$ will be again in that form, right?
    $endgroup$
    – Mary Star
    Dec 15 '18 at 21:23






  • 2




    $begingroup$
    @MaryStar Exactly, but what is a product of things $equiv 1pmod 3$ congruent to mod 3?
    $endgroup$
    – Will Fisher
    Dec 15 '18 at 21:24












  • $begingroup$
    It is congruent to $1$ modulo $3$, since let $aequiv bequiv 1bmod 3$ then $abbmod 3equiv (abmod 3 )(bbmod 3)bmod 3equiv 1bmod 3$, right?
    $endgroup$
    – Mary Star
    Dec 15 '18 at 21:51






  • 2




    $begingroup$
    @MaryStar Yep. And like you said, odd divisors are products of odd primes, all of which we know are congruent to 1 mod 3.
    $endgroup$
    – Will Fisher
    Dec 15 '18 at 21:53










  • $begingroup$
    Great!! Thanks a lot!! :-)
    $endgroup$
    – Mary Star
    Dec 15 '18 at 21:59
















6












$begingroup$

Hint: Start with odd prime divisors. As you have correctly shown, for any $pmid n^2+n+1$ we have that
$$n^3equiv 1pmod p.$$
Hence $text{ord}_{p}(n)mid 3$. Since $nequiv 2notequiv 1pmod p$ we know that $text{ord}_{p}(n)=3$. However, we also know that for every $m$ and $x$ coprime to $m$ that $text{ord}_m(x)mid phi(m)$. How can we apply this in this scenario? Once we know the statement holds for every odd prime divisor, what can we say about every odd divisor?






share|cite|improve this answer









$endgroup$













  • $begingroup$
    So, in this case we have that $text{ord}_p(n)mid phi(p)Rightarrow 3mid p-1 Rightarrow p-1=3k Rightarrow p=3k+1$. That means that $pequiv 1pmod 3$. Any odd divisor will be a product of odd prime divisors, right? So we have to show that the product of terms in the form $3m+1$ will be again in that form, right?
    $endgroup$
    – Mary Star
    Dec 15 '18 at 21:23






  • 2




    $begingroup$
    @MaryStar Exactly, but what is a product of things $equiv 1pmod 3$ congruent to mod 3?
    $endgroup$
    – Will Fisher
    Dec 15 '18 at 21:24












  • $begingroup$
    It is congruent to $1$ modulo $3$, since let $aequiv bequiv 1bmod 3$ then $abbmod 3equiv (abmod 3 )(bbmod 3)bmod 3equiv 1bmod 3$, right?
    $endgroup$
    – Mary Star
    Dec 15 '18 at 21:51






  • 2




    $begingroup$
    @MaryStar Yep. And like you said, odd divisors are products of odd primes, all of which we know are congruent to 1 mod 3.
    $endgroup$
    – Will Fisher
    Dec 15 '18 at 21:53










  • $begingroup$
    Great!! Thanks a lot!! :-)
    $endgroup$
    – Mary Star
    Dec 15 '18 at 21:59














6












6








6





$begingroup$

Hint: Start with odd prime divisors. As you have correctly shown, for any $pmid n^2+n+1$ we have that
$$n^3equiv 1pmod p.$$
Hence $text{ord}_{p}(n)mid 3$. Since $nequiv 2notequiv 1pmod p$ we know that $text{ord}_{p}(n)=3$. However, we also know that for every $m$ and $x$ coprime to $m$ that $text{ord}_m(x)mid phi(m)$. How can we apply this in this scenario? Once we know the statement holds for every odd prime divisor, what can we say about every odd divisor?






share|cite|improve this answer









$endgroup$



Hint: Start with odd prime divisors. As you have correctly shown, for any $pmid n^2+n+1$ we have that
$$n^3equiv 1pmod p.$$
Hence $text{ord}_{p}(n)mid 3$. Since $nequiv 2notequiv 1pmod p$ we know that $text{ord}_{p}(n)=3$. However, we also know that for every $m$ and $x$ coprime to $m$ that $text{ord}_m(x)mid phi(m)$. How can we apply this in this scenario? Once we know the statement holds for every odd prime divisor, what can we say about every odd divisor?







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Dec 15 '18 at 21:07









Will FisherWill Fisher

4,04811032




4,04811032












  • $begingroup$
    So, in this case we have that $text{ord}_p(n)mid phi(p)Rightarrow 3mid p-1 Rightarrow p-1=3k Rightarrow p=3k+1$. That means that $pequiv 1pmod 3$. Any odd divisor will be a product of odd prime divisors, right? So we have to show that the product of terms in the form $3m+1$ will be again in that form, right?
    $endgroup$
    – Mary Star
    Dec 15 '18 at 21:23






  • 2




    $begingroup$
    @MaryStar Exactly, but what is a product of things $equiv 1pmod 3$ congruent to mod 3?
    $endgroup$
    – Will Fisher
    Dec 15 '18 at 21:24












  • $begingroup$
    It is congruent to $1$ modulo $3$, since let $aequiv bequiv 1bmod 3$ then $abbmod 3equiv (abmod 3 )(bbmod 3)bmod 3equiv 1bmod 3$, right?
    $endgroup$
    – Mary Star
    Dec 15 '18 at 21:51






  • 2




    $begingroup$
    @MaryStar Yep. And like you said, odd divisors are products of odd primes, all of which we know are congruent to 1 mod 3.
    $endgroup$
    – Will Fisher
    Dec 15 '18 at 21:53










  • $begingroup$
    Great!! Thanks a lot!! :-)
    $endgroup$
    – Mary Star
    Dec 15 '18 at 21:59


















  • $begingroup$
    So, in this case we have that $text{ord}_p(n)mid phi(p)Rightarrow 3mid p-1 Rightarrow p-1=3k Rightarrow p=3k+1$. That means that $pequiv 1pmod 3$. Any odd divisor will be a product of odd prime divisors, right? So we have to show that the product of terms in the form $3m+1$ will be again in that form, right?
    $endgroup$
    – Mary Star
    Dec 15 '18 at 21:23






  • 2




    $begingroup$
    @MaryStar Exactly, but what is a product of things $equiv 1pmod 3$ congruent to mod 3?
    $endgroup$
    – Will Fisher
    Dec 15 '18 at 21:24












  • $begingroup$
    It is congruent to $1$ modulo $3$, since let $aequiv bequiv 1bmod 3$ then $abbmod 3equiv (abmod 3 )(bbmod 3)bmod 3equiv 1bmod 3$, right?
    $endgroup$
    – Mary Star
    Dec 15 '18 at 21:51






  • 2




    $begingroup$
    @MaryStar Yep. And like you said, odd divisors are products of odd primes, all of which we know are congruent to 1 mod 3.
    $endgroup$
    – Will Fisher
    Dec 15 '18 at 21:53










  • $begingroup$
    Great!! Thanks a lot!! :-)
    $endgroup$
    – Mary Star
    Dec 15 '18 at 21:59
















$begingroup$
So, in this case we have that $text{ord}_p(n)mid phi(p)Rightarrow 3mid p-1 Rightarrow p-1=3k Rightarrow p=3k+1$. That means that $pequiv 1pmod 3$. Any odd divisor will be a product of odd prime divisors, right? So we have to show that the product of terms in the form $3m+1$ will be again in that form, right?
$endgroup$
– Mary Star
Dec 15 '18 at 21:23




$begingroup$
So, in this case we have that $text{ord}_p(n)mid phi(p)Rightarrow 3mid p-1 Rightarrow p-1=3k Rightarrow p=3k+1$. That means that $pequiv 1pmod 3$. Any odd divisor will be a product of odd prime divisors, right? So we have to show that the product of terms in the form $3m+1$ will be again in that form, right?
$endgroup$
– Mary Star
Dec 15 '18 at 21:23




2




2




$begingroup$
@MaryStar Exactly, but what is a product of things $equiv 1pmod 3$ congruent to mod 3?
$endgroup$
– Will Fisher
Dec 15 '18 at 21:24






$begingroup$
@MaryStar Exactly, but what is a product of things $equiv 1pmod 3$ congruent to mod 3?
$endgroup$
– Will Fisher
Dec 15 '18 at 21:24














$begingroup$
It is congruent to $1$ modulo $3$, since let $aequiv bequiv 1bmod 3$ then $abbmod 3equiv (abmod 3 )(bbmod 3)bmod 3equiv 1bmod 3$, right?
$endgroup$
– Mary Star
Dec 15 '18 at 21:51




$begingroup$
It is congruent to $1$ modulo $3$, since let $aequiv bequiv 1bmod 3$ then $abbmod 3equiv (abmod 3 )(bbmod 3)bmod 3equiv 1bmod 3$, right?
$endgroup$
– Mary Star
Dec 15 '18 at 21:51




2




2




$begingroup$
@MaryStar Yep. And like you said, odd divisors are products of odd primes, all of which we know are congruent to 1 mod 3.
$endgroup$
– Will Fisher
Dec 15 '18 at 21:53




$begingroup$
@MaryStar Yep. And like you said, odd divisors are products of odd primes, all of which we know are congruent to 1 mod 3.
$endgroup$
– Will Fisher
Dec 15 '18 at 21:53












$begingroup$
Great!! Thanks a lot!! :-)
$endgroup$
– Mary Star
Dec 15 '18 at 21:59




$begingroup$
Great!! Thanks a lot!! :-)
$endgroup$
– Mary Star
Dec 15 '18 at 21:59


















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%2f3041946%2fevery-odd-divisor-is-equiv-1-bmod-3%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

Bundesstraße 106

Verónica Boquete

Ida-Boy-Ed-Garten