Prove $sum_{n = 1}^{p - 1} n^{p - 1} equiv (p - 1)! + p pmod {p^2}$ for $p$ being an odd prime
$begingroup$
I need to prove the following:
$$sum_{n = 1}^{p - 1} n^{p - 1} equiv (p - 1)! + p pmod {p^2}$$
...with $p$ being an odd prime number. The statement is obviously true for$pmod p$ because left-hand side is congruent to $-1 pmod p$ by Fermat's little theorem, and the right-hand side also turns out to be congruent to $-1 pmod p$ by Wilson's theorem. Now, I am not sure how to make a jump from$pmod p$ to$pmod {p^2}$, if that is even possible. Maybe the sum on the left could somehow be modified using the existence of the primitive root$pmod {p^2}$.
EDIT: Elementary solution can be found here: https://mathoverflow.net/a/319824/134054
elementary-number-theory modular-arithmetic
$endgroup$
|
show 6 more comments
$begingroup$
I need to prove the following:
$$sum_{n = 1}^{p - 1} n^{p - 1} equiv (p - 1)! + p pmod {p^2}$$
...with $p$ being an odd prime number. The statement is obviously true for$pmod p$ because left-hand side is congruent to $-1 pmod p$ by Fermat's little theorem, and the right-hand side also turns out to be congruent to $-1 pmod p$ by Wilson's theorem. Now, I am not sure how to make a jump from$pmod p$ to$pmod {p^2}$, if that is even possible. Maybe the sum on the left could somehow be modified using the existence of the primitive root$pmod {p^2}$.
EDIT: Elementary solution can be found here: https://mathoverflow.net/a/319824/134054
elementary-number-theory modular-arithmetic
$endgroup$
$begingroup$
@MohammadZuhairKhan Yes, thanks. I have corrected the formatting
$endgroup$
– Oldboy
Dec 29 '18 at 11:56
$begingroup$
This is probably true for odd $p$
$endgroup$
– greedoid
Dec 29 '18 at 12:10
$begingroup$
My bad, I have corrected the statement. I apologize for that.
$endgroup$
– Oldboy
Dec 29 '18 at 12:13
1
$begingroup$
@Oldboy Isn't Fermat's little theorem, only $a^p equiv a pmod p$ and not for the series?
$endgroup$
– toric_actions
Dec 29 '18 at 12:46
3
$begingroup$
Elementary proof can be found here: mathoverflow.net/a/319824/134054
$endgroup$
– Oldboy
Dec 31 '18 at 17:29
|
show 6 more comments
$begingroup$
I need to prove the following:
$$sum_{n = 1}^{p - 1} n^{p - 1} equiv (p - 1)! + p pmod {p^2}$$
...with $p$ being an odd prime number. The statement is obviously true for$pmod p$ because left-hand side is congruent to $-1 pmod p$ by Fermat's little theorem, and the right-hand side also turns out to be congruent to $-1 pmod p$ by Wilson's theorem. Now, I am not sure how to make a jump from$pmod p$ to$pmod {p^2}$, if that is even possible. Maybe the sum on the left could somehow be modified using the existence of the primitive root$pmod {p^2}$.
EDIT: Elementary solution can be found here: https://mathoverflow.net/a/319824/134054
elementary-number-theory modular-arithmetic
$endgroup$
I need to prove the following:
$$sum_{n = 1}^{p - 1} n^{p - 1} equiv (p - 1)! + p pmod {p^2}$$
...with $p$ being an odd prime number. The statement is obviously true for$pmod p$ because left-hand side is congruent to $-1 pmod p$ by Fermat's little theorem, and the right-hand side also turns out to be congruent to $-1 pmod p$ by Wilson's theorem. Now, I am not sure how to make a jump from$pmod p$ to$pmod {p^2}$, if that is even possible. Maybe the sum on the left could somehow be modified using the existence of the primitive root$pmod {p^2}$.
EDIT: Elementary solution can be found here: https://mathoverflow.net/a/319824/134054
elementary-number-theory modular-arithmetic
elementary-number-theory modular-arithmetic
edited Jan 2 at 6:05
Oldboy
asked Dec 29 '18 at 11:52
OldboyOldboy
8,4521936
8,4521936
$begingroup$
@MohammadZuhairKhan Yes, thanks. I have corrected the formatting
$endgroup$
– Oldboy
Dec 29 '18 at 11:56
$begingroup$
This is probably true for odd $p$
$endgroup$
– greedoid
Dec 29 '18 at 12:10
$begingroup$
My bad, I have corrected the statement. I apologize for that.
$endgroup$
– Oldboy
Dec 29 '18 at 12:13
1
$begingroup$
@Oldboy Isn't Fermat's little theorem, only $a^p equiv a pmod p$ and not for the series?
$endgroup$
– toric_actions
Dec 29 '18 at 12:46
3
$begingroup$
Elementary proof can be found here: mathoverflow.net/a/319824/134054
$endgroup$
– Oldboy
Dec 31 '18 at 17:29
|
show 6 more comments
$begingroup$
@MohammadZuhairKhan Yes, thanks. I have corrected the formatting
$endgroup$
– Oldboy
Dec 29 '18 at 11:56
$begingroup$
This is probably true for odd $p$
$endgroup$
– greedoid
Dec 29 '18 at 12:10
$begingroup$
My bad, I have corrected the statement. I apologize for that.
$endgroup$
– Oldboy
Dec 29 '18 at 12:13
1
$begingroup$
@Oldboy Isn't Fermat's little theorem, only $a^p equiv a pmod p$ and not for the series?
$endgroup$
– toric_actions
Dec 29 '18 at 12:46
3
$begingroup$
Elementary proof can be found here: mathoverflow.net/a/319824/134054
$endgroup$
– Oldboy
Dec 31 '18 at 17:29
$begingroup$
@MohammadZuhairKhan Yes, thanks. I have corrected the formatting
$endgroup$
– Oldboy
Dec 29 '18 at 11:56
$begingroup$
@MohammadZuhairKhan Yes, thanks. I have corrected the formatting
$endgroup$
– Oldboy
Dec 29 '18 at 11:56
$begingroup$
This is probably true for odd $p$
$endgroup$
– greedoid
Dec 29 '18 at 12:10
$begingroup$
This is probably true for odd $p$
$endgroup$
– greedoid
Dec 29 '18 at 12:10
$begingroup$
My bad, I have corrected the statement. I apologize for that.
$endgroup$
– Oldboy
Dec 29 '18 at 12:13
$begingroup$
My bad, I have corrected the statement. I apologize for that.
$endgroup$
– Oldboy
Dec 29 '18 at 12:13
1
1
$begingroup$
@Oldboy Isn't Fermat's little theorem, only $a^p equiv a pmod p$ and not for the series?
$endgroup$
– toric_actions
Dec 29 '18 at 12:46
$begingroup$
@Oldboy Isn't Fermat's little theorem, only $a^p equiv a pmod p$ and not for the series?
$endgroup$
– toric_actions
Dec 29 '18 at 12:46
3
3
$begingroup$
Elementary proof can be found here: mathoverflow.net/a/319824/134054
$endgroup$
– Oldboy
Dec 31 '18 at 17:29
$begingroup$
Elementary proof can be found here: mathoverflow.net/a/319824/134054
$endgroup$
– Oldboy
Dec 31 '18 at 17:29
|
show 6 more comments
1 Answer
1
active
oldest
votes
$begingroup$
A Hint: notice that
$$sum^{p-1}_{n=1}n^{p-1}=frac{1}{p}sum^{p}_{n=1}C^{p-n}_{p}B_{p-n}p^n=sum^{p}_{n=1}C^{p-n}_{p}B_{p-n}p^{n-1}$$
where $B_k$ is the $k$-th Bernoulli number.
(For further information about Bernoulli number: https://www.bernoulli.org/)
$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%2f3055767%2fprove-sum-n-1p-1-np-1-equiv-p-1-p-pmod-p2-for-p-b%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$
A Hint: notice that
$$sum^{p-1}_{n=1}n^{p-1}=frac{1}{p}sum^{p}_{n=1}C^{p-n}_{p}B_{p-n}p^n=sum^{p}_{n=1}C^{p-n}_{p}B_{p-n}p^{n-1}$$
where $B_k$ is the $k$-th Bernoulli number.
(For further information about Bernoulli number: https://www.bernoulli.org/)
$endgroup$
add a comment |
$begingroup$
A Hint: notice that
$$sum^{p-1}_{n=1}n^{p-1}=frac{1}{p}sum^{p}_{n=1}C^{p-n}_{p}B_{p-n}p^n=sum^{p}_{n=1}C^{p-n}_{p}B_{p-n}p^{n-1}$$
where $B_k$ is the $k$-th Bernoulli number.
(For further information about Bernoulli number: https://www.bernoulli.org/)
$endgroup$
add a comment |
$begingroup$
A Hint: notice that
$$sum^{p-1}_{n=1}n^{p-1}=frac{1}{p}sum^{p}_{n=1}C^{p-n}_{p}B_{p-n}p^n=sum^{p}_{n=1}C^{p-n}_{p}B_{p-n}p^{n-1}$$
where $B_k$ is the $k$-th Bernoulli number.
(For further information about Bernoulli number: https://www.bernoulli.org/)
$endgroup$
A Hint: notice that
$$sum^{p-1}_{n=1}n^{p-1}=frac{1}{p}sum^{p}_{n=1}C^{p-n}_{p}B_{p-n}p^n=sum^{p}_{n=1}C^{p-n}_{p}B_{p-n}p^{n-1}$$
where $B_k$ is the $k$-th Bernoulli number.
(For further information about Bernoulli number: https://www.bernoulli.org/)
edited Dec 31 '18 at 10:37
Martin Sleziak
44.7k10119272
44.7k10119272
answered Dec 29 '18 at 13:42
LauLau
517315
517315
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%2f3055767%2fprove-sum-n-1p-1-np-1-equiv-p-1-p-pmod-p2-for-p-b%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$
@MohammadZuhairKhan Yes, thanks. I have corrected the formatting
$endgroup$
– Oldboy
Dec 29 '18 at 11:56
$begingroup$
This is probably true for odd $p$
$endgroup$
– greedoid
Dec 29 '18 at 12:10
$begingroup$
My bad, I have corrected the statement. I apologize for that.
$endgroup$
– Oldboy
Dec 29 '18 at 12:13
1
$begingroup$
@Oldboy Isn't Fermat's little theorem, only $a^p equiv a pmod p$ and not for the series?
$endgroup$
– toric_actions
Dec 29 '18 at 12:46
3
$begingroup$
Elementary proof can be found here: mathoverflow.net/a/319824/134054
$endgroup$
– Oldboy
Dec 31 '18 at 17:29