Proving that $p ^ {p + 2} + (p + 2)^{p} equiv 0pmod{2p + 2}$ for a prime $p>2$
$begingroup$
So, the task is to prove the following:
$$p ^ {p + 2} + (p + 2)^{p} equiv 0 pmod{2p + 2}$$
For all prime numbers $p > 2$.
I haven't got any clue on how to do this, but, for some reason, I feel like it is somehow related to the Euler's theorem or its 'friend' Fermat's little theorem.
One observation I have made is that this expression can be refactored as
$a ^ b + b ^ a equiv 0 pmod{a + b}$ which is maybe another way to think about the problem.
Any help would be appreciated!
number-theory prime-numbers
$endgroup$
add a comment |
$begingroup$
So, the task is to prove the following:
$$p ^ {p + 2} + (p + 2)^{p} equiv 0 pmod{2p + 2}$$
For all prime numbers $p > 2$.
I haven't got any clue on how to do this, but, for some reason, I feel like it is somehow related to the Euler's theorem or its 'friend' Fermat's little theorem.
One observation I have made is that this expression can be refactored as
$a ^ b + b ^ a equiv 0 pmod{a + b}$ which is maybe another way to think about the problem.
Any help would be appreciated!
number-theory prime-numbers
$endgroup$
add a comment |
$begingroup$
So, the task is to prove the following:
$$p ^ {p + 2} + (p + 2)^{p} equiv 0 pmod{2p + 2}$$
For all prime numbers $p > 2$.
I haven't got any clue on how to do this, but, for some reason, I feel like it is somehow related to the Euler's theorem or its 'friend' Fermat's little theorem.
One observation I have made is that this expression can be refactored as
$a ^ b + b ^ a equiv 0 pmod{a + b}$ which is maybe another way to think about the problem.
Any help would be appreciated!
number-theory prime-numbers
$endgroup$
So, the task is to prove the following:
$$p ^ {p + 2} + (p + 2)^{p} equiv 0 pmod{2p + 2}$$
For all prime numbers $p > 2$.
I haven't got any clue on how to do this, but, for some reason, I feel like it is somehow related to the Euler's theorem or its 'friend' Fermat's little theorem.
One observation I have made is that this expression can be refactored as
$a ^ b + b ^ a equiv 0 pmod{a + b}$ which is maybe another way to think about the problem.
Any help would be appreciated!
number-theory prime-numbers
number-theory prime-numbers
edited Dec 11 '18 at 17:48
Asaf Karagila♦
305k33435765
305k33435765
asked Dec 11 '18 at 17:45
AlexAlex
1134
1134
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
$begingroup$
We can assume $p$ odd.
Since $p^{p+2}+(p+2)^p$ is a sum of two odd numbers, it is even. Thus, it is enough to prove that the sum is divisible by $p+1$. Modulo $p+1$, the expression is $(-1)^{p+2}+1^p=0$ since $p$ is odd. Hence the original expression can be divided by $2p+2$.
$endgroup$
add a comment |
$begingroup$
As $p,p+2$ are odd, so it's sufficient to prove $p+1$ divides
$p^{2m+1}+(p+2)^n$
Now $pequiv-1pmod{p+1}implies p^{2m+1}equiv?$
and $p+2equiv1pmod{p+1}implies(p+2)^nequiv?$
$endgroup$
add a comment |
$begingroup$
Let $p$ be an odd prime. Note that by Fermat's Little Theorem, $2p+2$ divides $p^{p} + (p+2)^{p}$, thus it suffices to prove that $2p+2$ divides $p^{p+2}-p^p$ since $$p^{p+2}+(p+2)^p=(p^{p+2}-p^p)+p^p+(p+2)^p.$$ Notice that the task is now easy. Hint: $p^{p+2}-p^p=p^{p}(p+1)(p-1)$.
$endgroup$
add a comment |
$begingroup$
$p^{p+2} +(p+2)^p equiv p^{p+2} + (-p)^p equiv p^{p+2}-p^pequiv p^p(p^2 -1)$
$p^p(p+1)(p-1)equiv p^p(2p + 2)frac {p-1}2 equiv 0pmod {2p+2}$
Unless I did something horribly wrong this will be true for any odd number $p$ whether prime or not.
$endgroup$
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%2f3035555%2fproving-that-p-p-2-p-2p-equiv-0-pmod2p-2-for-a-prime-p2%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
We can assume $p$ odd.
Since $p^{p+2}+(p+2)^p$ is a sum of two odd numbers, it is even. Thus, it is enough to prove that the sum is divisible by $p+1$. Modulo $p+1$, the expression is $(-1)^{p+2}+1^p=0$ since $p$ is odd. Hence the original expression can be divided by $2p+2$.
$endgroup$
add a comment |
$begingroup$
We can assume $p$ odd.
Since $p^{p+2}+(p+2)^p$ is a sum of two odd numbers, it is even. Thus, it is enough to prove that the sum is divisible by $p+1$. Modulo $p+1$, the expression is $(-1)^{p+2}+1^p=0$ since $p$ is odd. Hence the original expression can be divided by $2p+2$.
$endgroup$
add a comment |
$begingroup$
We can assume $p$ odd.
Since $p^{p+2}+(p+2)^p$ is a sum of two odd numbers, it is even. Thus, it is enough to prove that the sum is divisible by $p+1$. Modulo $p+1$, the expression is $(-1)^{p+2}+1^p=0$ since $p$ is odd. Hence the original expression can be divided by $2p+2$.
$endgroup$
We can assume $p$ odd.
Since $p^{p+2}+(p+2)^p$ is a sum of two odd numbers, it is even. Thus, it is enough to prove that the sum is divisible by $p+1$. Modulo $p+1$, the expression is $(-1)^{p+2}+1^p=0$ since $p$ is odd. Hence the original expression can be divided by $2p+2$.
answered Dec 11 '18 at 17:52
Leo163Leo163
1,670512
1,670512
add a comment |
add a comment |
$begingroup$
As $p,p+2$ are odd, so it's sufficient to prove $p+1$ divides
$p^{2m+1}+(p+2)^n$
Now $pequiv-1pmod{p+1}implies p^{2m+1}equiv?$
and $p+2equiv1pmod{p+1}implies(p+2)^nequiv?$
$endgroup$
add a comment |
$begingroup$
As $p,p+2$ are odd, so it's sufficient to prove $p+1$ divides
$p^{2m+1}+(p+2)^n$
Now $pequiv-1pmod{p+1}implies p^{2m+1}equiv?$
and $p+2equiv1pmod{p+1}implies(p+2)^nequiv?$
$endgroup$
add a comment |
$begingroup$
As $p,p+2$ are odd, so it's sufficient to prove $p+1$ divides
$p^{2m+1}+(p+2)^n$
Now $pequiv-1pmod{p+1}implies p^{2m+1}equiv?$
and $p+2equiv1pmod{p+1}implies(p+2)^nequiv?$
$endgroup$
As $p,p+2$ are odd, so it's sufficient to prove $p+1$ divides
$p^{2m+1}+(p+2)^n$
Now $pequiv-1pmod{p+1}implies p^{2m+1}equiv?$
and $p+2equiv1pmod{p+1}implies(p+2)^nequiv?$
answered Dec 11 '18 at 17:53
lab bhattacharjeelab bhattacharjee
226k15157275
226k15157275
add a comment |
add a comment |
$begingroup$
Let $p$ be an odd prime. Note that by Fermat's Little Theorem, $2p+2$ divides $p^{p} + (p+2)^{p}$, thus it suffices to prove that $2p+2$ divides $p^{p+2}-p^p$ since $$p^{p+2}+(p+2)^p=(p^{p+2}-p^p)+p^p+(p+2)^p.$$ Notice that the task is now easy. Hint: $p^{p+2}-p^p=p^{p}(p+1)(p-1)$.
$endgroup$
add a comment |
$begingroup$
Let $p$ be an odd prime. Note that by Fermat's Little Theorem, $2p+2$ divides $p^{p} + (p+2)^{p}$, thus it suffices to prove that $2p+2$ divides $p^{p+2}-p^p$ since $$p^{p+2}+(p+2)^p=(p^{p+2}-p^p)+p^p+(p+2)^p.$$ Notice that the task is now easy. Hint: $p^{p+2}-p^p=p^{p}(p+1)(p-1)$.
$endgroup$
add a comment |
$begingroup$
Let $p$ be an odd prime. Note that by Fermat's Little Theorem, $2p+2$ divides $p^{p} + (p+2)^{p}$, thus it suffices to prove that $2p+2$ divides $p^{p+2}-p^p$ since $$p^{p+2}+(p+2)^p=(p^{p+2}-p^p)+p^p+(p+2)^p.$$ Notice that the task is now easy. Hint: $p^{p+2}-p^p=p^{p}(p+1)(p-1)$.
$endgroup$
Let $p$ be an odd prime. Note that by Fermat's Little Theorem, $2p+2$ divides $p^{p} + (p+2)^{p}$, thus it suffices to prove that $2p+2$ divides $p^{p+2}-p^p$ since $$p^{p+2}+(p+2)^p=(p^{p+2}-p^p)+p^p+(p+2)^p.$$ Notice that the task is now easy. Hint: $p^{p+2}-p^p=p^{p}(p+1)(p-1)$.
edited Dec 11 '18 at 18:11
answered Dec 11 '18 at 18:02
user507152
add a comment |
add a comment |
$begingroup$
$p^{p+2} +(p+2)^p equiv p^{p+2} + (-p)^p equiv p^{p+2}-p^pequiv p^p(p^2 -1)$
$p^p(p+1)(p-1)equiv p^p(2p + 2)frac {p-1}2 equiv 0pmod {2p+2}$
Unless I did something horribly wrong this will be true for any odd number $p$ whether prime or not.
$endgroup$
add a comment |
$begingroup$
$p^{p+2} +(p+2)^p equiv p^{p+2} + (-p)^p equiv p^{p+2}-p^pequiv p^p(p^2 -1)$
$p^p(p+1)(p-1)equiv p^p(2p + 2)frac {p-1}2 equiv 0pmod {2p+2}$
Unless I did something horribly wrong this will be true for any odd number $p$ whether prime or not.
$endgroup$
add a comment |
$begingroup$
$p^{p+2} +(p+2)^p equiv p^{p+2} + (-p)^p equiv p^{p+2}-p^pequiv p^p(p^2 -1)$
$p^p(p+1)(p-1)equiv p^p(2p + 2)frac {p-1}2 equiv 0pmod {2p+2}$
Unless I did something horribly wrong this will be true for any odd number $p$ whether prime or not.
$endgroup$
$p^{p+2} +(p+2)^p equiv p^{p+2} + (-p)^p equiv p^{p+2}-p^pequiv p^p(p^2 -1)$
$p^p(p+1)(p-1)equiv p^p(2p + 2)frac {p-1}2 equiv 0pmod {2p+2}$
Unless I did something horribly wrong this will be true for any odd number $p$ whether prime or not.
answered Dec 11 '18 at 18:28
fleabloodfleablood
71.2k22686
71.2k22686
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.
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%2f3035555%2fproving-that-p-p-2-p-2p-equiv-0-pmod2p-2-for-a-prime-p2%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