For which $p$ primes is $p^{p-1}$ a divisor of $(p-1)^p + 1$?
$begingroup$
$p = 2$ and $p = 3$ definitely are solutions. I think these are all the solutions, but how can I prove it?
number-theory prime-numbers divisibility
$endgroup$
add a comment |
$begingroup$
$p = 2$ and $p = 3$ definitely are solutions. I think these are all the solutions, but how can I prove it?
number-theory prime-numbers divisibility
$endgroup$
$begingroup$
Use binomial theorem to compute the reminder of what is left after diving by $p^2$
$endgroup$
– rtybase
Jan 7 at 11:43
add a comment |
$begingroup$
$p = 2$ and $p = 3$ definitely are solutions. I think these are all the solutions, but how can I prove it?
number-theory prime-numbers divisibility
$endgroup$
$p = 2$ and $p = 3$ definitely are solutions. I think these are all the solutions, but how can I prove it?
number-theory prime-numbers divisibility
number-theory prime-numbers divisibility
asked Jan 7 at 11:34
Krisztián KissKrisztián Kiss
484
484
$begingroup$
Use binomial theorem to compute the reminder of what is left after diving by $p^2$
$endgroup$
– rtybase
Jan 7 at 11:43
add a comment |
$begingroup$
Use binomial theorem to compute the reminder of what is left after diving by $p^2$
$endgroup$
– rtybase
Jan 7 at 11:43
$begingroup$
Use binomial theorem to compute the reminder of what is left after diving by $p^2$
$endgroup$
– rtybase
Jan 7 at 11:43
$begingroup$
Use binomial theorem to compute the reminder of what is left after diving by $p^2$
$endgroup$
– rtybase
Jan 7 at 11:43
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
We consider the given number $N(p) =(p-1)^p+1$ modulo $p^3$. In the following, $p$ is a prime $>3$. Using the binomial formula we have:
$$
begin{aligned}
N(p)&equiv
1+
(-1)^p
+ pbinom p1(-1)^{p-1}
+ p^2binom p2(-1)^{p-2}
\
&=
1+
(-1)
+ p^2
- p^2frac 12p(p-1)
\
&=
p^2(text{Number no divisible by $p$}) .
end{aligned}
$$
$endgroup$
1
$begingroup$
@rtybase... yes, did not see the comment, started it as an answer...
$endgroup$
– dan_fulea
Jan 7 at 11:55
add a comment |
$begingroup$
According to binomial theorem and assuming $p$-odd, thus $(-1)^p=-1$ and $(-1)^{p-1}=1$
$$(p-1)^p+1=sumlimits_{k=0}^p binom{p}{k}p^k(-1)^{p-k}+1=\
-1+sumlimits_{color{red}{k=1}}^p binom{p}{k}p^k(-1)^{p-k} +1=p^2+sumlimits_{color{red}{k=2}}^p binom{p}{k}p^k(-1)^{p-k}=\
p^2left(1+sumlimits_{k=2}^p binom{p}{k}p^{color{red}{k-2}}(-1)^{p-k}right)=...$$
also $binom{p}{2}=frac{p(p-1)}{2}$ so we can extract a $p$ from it, thus
$$...=p^{color{red}{2}}left(1+pcdot Qright)$$
and the answer follows.
$endgroup$
add a comment |
Your Answer
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%2f3064905%2ffor-which-p-primes-is-pp-1-a-divisor-of-p-1p-1%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
We consider the given number $N(p) =(p-1)^p+1$ modulo $p^3$. In the following, $p$ is a prime $>3$. Using the binomial formula we have:
$$
begin{aligned}
N(p)&equiv
1+
(-1)^p
+ pbinom p1(-1)^{p-1}
+ p^2binom p2(-1)^{p-2}
\
&=
1+
(-1)
+ p^2
- p^2frac 12p(p-1)
\
&=
p^2(text{Number no divisible by $p$}) .
end{aligned}
$$
$endgroup$
1
$begingroup$
@rtybase... yes, did not see the comment, started it as an answer...
$endgroup$
– dan_fulea
Jan 7 at 11:55
add a comment |
$begingroup$
We consider the given number $N(p) =(p-1)^p+1$ modulo $p^3$. In the following, $p$ is a prime $>3$. Using the binomial formula we have:
$$
begin{aligned}
N(p)&equiv
1+
(-1)^p
+ pbinom p1(-1)^{p-1}
+ p^2binom p2(-1)^{p-2}
\
&=
1+
(-1)
+ p^2
- p^2frac 12p(p-1)
\
&=
p^2(text{Number no divisible by $p$}) .
end{aligned}
$$
$endgroup$
1
$begingroup$
@rtybase... yes, did not see the comment, started it as an answer...
$endgroup$
– dan_fulea
Jan 7 at 11:55
add a comment |
$begingroup$
We consider the given number $N(p) =(p-1)^p+1$ modulo $p^3$. In the following, $p$ is a prime $>3$. Using the binomial formula we have:
$$
begin{aligned}
N(p)&equiv
1+
(-1)^p
+ pbinom p1(-1)^{p-1}
+ p^2binom p2(-1)^{p-2}
\
&=
1+
(-1)
+ p^2
- p^2frac 12p(p-1)
\
&=
p^2(text{Number no divisible by $p$}) .
end{aligned}
$$
$endgroup$
We consider the given number $N(p) =(p-1)^p+1$ modulo $p^3$. In the following, $p$ is a prime $>3$. Using the binomial formula we have:
$$
begin{aligned}
N(p)&equiv
1+
(-1)^p
+ pbinom p1(-1)^{p-1}
+ p^2binom p2(-1)^{p-2}
\
&=
1+
(-1)
+ p^2
- p^2frac 12p(p-1)
\
&=
p^2(text{Number no divisible by $p$}) .
end{aligned}
$$
answered Jan 7 at 11:53
dan_fuleadan_fulea
7,1781513
7,1781513
1
$begingroup$
@rtybase... yes, did not see the comment, started it as an answer...
$endgroup$
– dan_fulea
Jan 7 at 11:55
add a comment |
1
$begingroup$
@rtybase... yes, did not see the comment, started it as an answer...
$endgroup$
– dan_fulea
Jan 7 at 11:55
1
1
$begingroup$
@rtybase... yes, did not see the comment, started it as an answer...
$endgroup$
– dan_fulea
Jan 7 at 11:55
$begingroup$
@rtybase... yes, did not see the comment, started it as an answer...
$endgroup$
– dan_fulea
Jan 7 at 11:55
add a comment |
$begingroup$
According to binomial theorem and assuming $p$-odd, thus $(-1)^p=-1$ and $(-1)^{p-1}=1$
$$(p-1)^p+1=sumlimits_{k=0}^p binom{p}{k}p^k(-1)^{p-k}+1=\
-1+sumlimits_{color{red}{k=1}}^p binom{p}{k}p^k(-1)^{p-k} +1=p^2+sumlimits_{color{red}{k=2}}^p binom{p}{k}p^k(-1)^{p-k}=\
p^2left(1+sumlimits_{k=2}^p binom{p}{k}p^{color{red}{k-2}}(-1)^{p-k}right)=...$$
also $binom{p}{2}=frac{p(p-1)}{2}$ so we can extract a $p$ from it, thus
$$...=p^{color{red}{2}}left(1+pcdot Qright)$$
and the answer follows.
$endgroup$
add a comment |
$begingroup$
According to binomial theorem and assuming $p$-odd, thus $(-1)^p=-1$ and $(-1)^{p-1}=1$
$$(p-1)^p+1=sumlimits_{k=0}^p binom{p}{k}p^k(-1)^{p-k}+1=\
-1+sumlimits_{color{red}{k=1}}^p binom{p}{k}p^k(-1)^{p-k} +1=p^2+sumlimits_{color{red}{k=2}}^p binom{p}{k}p^k(-1)^{p-k}=\
p^2left(1+sumlimits_{k=2}^p binom{p}{k}p^{color{red}{k-2}}(-1)^{p-k}right)=...$$
also $binom{p}{2}=frac{p(p-1)}{2}$ so we can extract a $p$ from it, thus
$$...=p^{color{red}{2}}left(1+pcdot Qright)$$
and the answer follows.
$endgroup$
add a comment |
$begingroup$
According to binomial theorem and assuming $p$-odd, thus $(-1)^p=-1$ and $(-1)^{p-1}=1$
$$(p-1)^p+1=sumlimits_{k=0}^p binom{p}{k}p^k(-1)^{p-k}+1=\
-1+sumlimits_{color{red}{k=1}}^p binom{p}{k}p^k(-1)^{p-k} +1=p^2+sumlimits_{color{red}{k=2}}^p binom{p}{k}p^k(-1)^{p-k}=\
p^2left(1+sumlimits_{k=2}^p binom{p}{k}p^{color{red}{k-2}}(-1)^{p-k}right)=...$$
also $binom{p}{2}=frac{p(p-1)}{2}$ so we can extract a $p$ from it, thus
$$...=p^{color{red}{2}}left(1+pcdot Qright)$$
and the answer follows.
$endgroup$
According to binomial theorem and assuming $p$-odd, thus $(-1)^p=-1$ and $(-1)^{p-1}=1$
$$(p-1)^p+1=sumlimits_{k=0}^p binom{p}{k}p^k(-1)^{p-k}+1=\
-1+sumlimits_{color{red}{k=1}}^p binom{p}{k}p^k(-1)^{p-k} +1=p^2+sumlimits_{color{red}{k=2}}^p binom{p}{k}p^k(-1)^{p-k}=\
p^2left(1+sumlimits_{k=2}^p binom{p}{k}p^{color{red}{k-2}}(-1)^{p-k}right)=...$$
also $binom{p}{2}=frac{p(p-1)}{2}$ so we can extract a $p$ from it, thus
$$...=p^{color{red}{2}}left(1+pcdot Qright)$$
and the answer follows.
edited Jan 7 at 12:12
answered Jan 7 at 12:06
rtybasertybase
11.6k31534
11.6k31534
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%2f3064905%2ffor-which-p-primes-is-pp-1-a-divisor-of-p-1p-1%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$
Use binomial theorem to compute the reminder of what is left after diving by $p^2$
$endgroup$
– rtybase
Jan 7 at 11:43