What is the remainder when $ n^n $ is divided by $ (n-1) $?
$begingroup$
I want to find out the remainder if $ n^n $ is divided by $(n-1)$ . I have tried investigating a number of examples for small $n$:
$ 2^2 $ is divided by $1$ gives remainder $0 $
$ 3^3 $ is divided by $2$ gives remainder $1$
$ 4^4 $ is divided by $3$ gives remainder $1$
$ 5^5 $ is divided by $4$ gives remainder $1$
$ 6^6 $ is divided by $5$ gives remainder $1$
But I can't identify any pattern to find out the remainder. So please help me to find out the remainder if $ n^n $ is divided by $ n-1 $.
elementary-number-theory
$endgroup$
add a comment |
$begingroup$
I want to find out the remainder if $ n^n $ is divided by $(n-1)$ . I have tried investigating a number of examples for small $n$:
$ 2^2 $ is divided by $1$ gives remainder $0 $
$ 3^3 $ is divided by $2$ gives remainder $1$
$ 4^4 $ is divided by $3$ gives remainder $1$
$ 5^5 $ is divided by $4$ gives remainder $1$
$ 6^6 $ is divided by $5$ gives remainder $1$
But I can't identify any pattern to find out the remainder. So please help me to find out the remainder if $ n^n $ is divided by $ n-1 $.
elementary-number-theory
$endgroup$
1
$begingroup$
$4^4$ divided by $3$ gives $1$. The answer is always $1$
$endgroup$
– Mohammad Zuhair Khan
Dec 30 '18 at 9:58
$begingroup$
That is a huge mistake . Many many thanks
$endgroup$
– Standard Equation
Dec 30 '18 at 10:00
add a comment |
$begingroup$
I want to find out the remainder if $ n^n $ is divided by $(n-1)$ . I have tried investigating a number of examples for small $n$:
$ 2^2 $ is divided by $1$ gives remainder $0 $
$ 3^3 $ is divided by $2$ gives remainder $1$
$ 4^4 $ is divided by $3$ gives remainder $1$
$ 5^5 $ is divided by $4$ gives remainder $1$
$ 6^6 $ is divided by $5$ gives remainder $1$
But I can't identify any pattern to find out the remainder. So please help me to find out the remainder if $ n^n $ is divided by $ n-1 $.
elementary-number-theory
$endgroup$
I want to find out the remainder if $ n^n $ is divided by $(n-1)$ . I have tried investigating a number of examples for small $n$:
$ 2^2 $ is divided by $1$ gives remainder $0 $
$ 3^3 $ is divided by $2$ gives remainder $1$
$ 4^4 $ is divided by $3$ gives remainder $1$
$ 5^5 $ is divided by $4$ gives remainder $1$
$ 6^6 $ is divided by $5$ gives remainder $1$
But I can't identify any pattern to find out the remainder. So please help me to find out the remainder if $ n^n $ is divided by $ n-1 $.
elementary-number-theory
elementary-number-theory
edited Dec 30 '18 at 15:32
Bill Dubuque
214k29198660
214k29198660
asked Dec 30 '18 at 9:56
Standard EquationStandard Equation
247113
247113
1
$begingroup$
$4^4$ divided by $3$ gives $1$. The answer is always $1$
$endgroup$
– Mohammad Zuhair Khan
Dec 30 '18 at 9:58
$begingroup$
That is a huge mistake . Many many thanks
$endgroup$
– Standard Equation
Dec 30 '18 at 10:00
add a comment |
1
$begingroup$
$4^4$ divided by $3$ gives $1$. The answer is always $1$
$endgroup$
– Mohammad Zuhair Khan
Dec 30 '18 at 9:58
$begingroup$
That is a huge mistake . Many many thanks
$endgroup$
– Standard Equation
Dec 30 '18 at 10:00
1
1
$begingroup$
$4^4$ divided by $3$ gives $1$. The answer is always $1$
$endgroup$
– Mohammad Zuhair Khan
Dec 30 '18 at 9:58
$begingroup$
$4^4$ divided by $3$ gives $1$. The answer is always $1$
$endgroup$
– Mohammad Zuhair Khan
Dec 30 '18 at 9:58
$begingroup$
That is a huge mistake . Many many thanks
$endgroup$
– Standard Equation
Dec 30 '18 at 10:00
$begingroup$
That is a huge mistake . Many many thanks
$endgroup$
– Standard Equation
Dec 30 '18 at 10:00
add a comment |
4 Answers
4
active
oldest
votes
$begingroup$
The other answers are all correct. But since you posted such an elementary problem, I guess it would be better if you learnt how to attack this problem rather than only the solution of it.
See, you need to find out $n^n pmod{n-1}$ where $n>2$. Whenever you need to find mod of such products, the first thing to try is finding out the mod of individual terms (the others being some manipulation or Euler's/Fermat's little theorem if it's a power etc.). Now, in this case, it is evident that $n equiv (n-1)+1 equiv 1 pmod{n-1}$.
We know that, taking mod is multiplicative. So, $n^n equiv (1)^n pmod{n-1} equiv 1 pmod{n-1}$.
Please comment if you need further clarifications.
$endgroup$
1
$begingroup$
I think it would have better if you used equiv $equiv$ instead of =
$endgroup$
– Mohammad Zuhair Khan
Dec 30 '18 at 11:12
$begingroup$
@MohammadZuhairKhan You're right. Edited.
$endgroup$
– SinTan1729
Dec 30 '18 at 15:24
add a comment |
$begingroup$
$$n^n equiv ((n-1)+1)^n equiv 1^n equiv 1 pmod {n-1}$$
$endgroup$
$begingroup$
It would probably more helpful to the OP if you edited in where this equation comes from. (I understand it, but OP need not necessarily do so, it's mostly just an equation completely out of context. >_>)
$endgroup$
– Eevee Trainer
Dec 30 '18 at 10:01
1
$begingroup$
I cant understand your solution . Can you please make elaboration of this solution ?
$endgroup$
– Standard Equation
Dec 30 '18 at 10:04
$begingroup$
@StandardEquation Do you know modular arithmetic / congruences? It helps to add such context to your questions. You accepted an answer using modular arithmetic, so how could you understand that but not this? (they are equivalent)
$endgroup$
– Bill Dubuque
Dec 30 '18 at 15:43
add a comment |
$begingroup$
$n^n = (n^{n-1} + n^{n-2} +ldots + 1)(n-1) + 1$. Its a telescope sum.
$endgroup$
1
$begingroup$
It would probably more helpful to the OP if you edited in where this equation comes from. (I understand it, but OP need not necessarily do so, it's mostly just an equation completely out of context. >_>)
$endgroup$
– Eevee Trainer
Dec 30 '18 at 10:01
1
$begingroup$
This solution make sense to me . Many many thanks
$endgroup$
– Standard Equation
Dec 30 '18 at 10:05
add a comment |
$begingroup$
For n>2:
Binomial expansion:
$(1+(n-1))^n=$
$sum_{k=1}^{n}binom{n}{k}(n-1)^k+1;$
The first term is divisible by $(n-1)$, the remainder is $1$.
$endgroup$
$begingroup$
Except when $,|n-1| = 1,$ when the remainder $,r= 0neq 1,,$ but $,0equiv 1pmod{!pm!1},,$ i.e. $, requiv 1pmod{n!-!1} $ is always true.
$endgroup$
– Bill Dubuque
Dec 30 '18 at 15:37
$begingroup$
Bill.Oops. Thanks for your comment. n>2. Shall fix it.
$endgroup$
– Peter Szilas
Dec 30 '18 at 17:41
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%2f3056668%2fwhat-is-the-remainder-when-nn-is-divided-by-n-1%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$
The other answers are all correct. But since you posted such an elementary problem, I guess it would be better if you learnt how to attack this problem rather than only the solution of it.
See, you need to find out $n^n pmod{n-1}$ where $n>2$. Whenever you need to find mod of such products, the first thing to try is finding out the mod of individual terms (the others being some manipulation or Euler's/Fermat's little theorem if it's a power etc.). Now, in this case, it is evident that $n equiv (n-1)+1 equiv 1 pmod{n-1}$.
We know that, taking mod is multiplicative. So, $n^n equiv (1)^n pmod{n-1} equiv 1 pmod{n-1}$.
Please comment if you need further clarifications.
$endgroup$
1
$begingroup$
I think it would have better if you used equiv $equiv$ instead of =
$endgroup$
– Mohammad Zuhair Khan
Dec 30 '18 at 11:12
$begingroup$
@MohammadZuhairKhan You're right. Edited.
$endgroup$
– SinTan1729
Dec 30 '18 at 15:24
add a comment |
$begingroup$
The other answers are all correct. But since you posted such an elementary problem, I guess it would be better if you learnt how to attack this problem rather than only the solution of it.
See, you need to find out $n^n pmod{n-1}$ where $n>2$. Whenever you need to find mod of such products, the first thing to try is finding out the mod of individual terms (the others being some manipulation or Euler's/Fermat's little theorem if it's a power etc.). Now, in this case, it is evident that $n equiv (n-1)+1 equiv 1 pmod{n-1}$.
We know that, taking mod is multiplicative. So, $n^n equiv (1)^n pmod{n-1} equiv 1 pmod{n-1}$.
Please comment if you need further clarifications.
$endgroup$
1
$begingroup$
I think it would have better if you used equiv $equiv$ instead of =
$endgroup$
– Mohammad Zuhair Khan
Dec 30 '18 at 11:12
$begingroup$
@MohammadZuhairKhan You're right. Edited.
$endgroup$
– SinTan1729
Dec 30 '18 at 15:24
add a comment |
$begingroup$
The other answers are all correct. But since you posted such an elementary problem, I guess it would be better if you learnt how to attack this problem rather than only the solution of it.
See, you need to find out $n^n pmod{n-1}$ where $n>2$. Whenever you need to find mod of such products, the first thing to try is finding out the mod of individual terms (the others being some manipulation or Euler's/Fermat's little theorem if it's a power etc.). Now, in this case, it is evident that $n equiv (n-1)+1 equiv 1 pmod{n-1}$.
We know that, taking mod is multiplicative. So, $n^n equiv (1)^n pmod{n-1} equiv 1 pmod{n-1}$.
Please comment if you need further clarifications.
$endgroup$
The other answers are all correct. But since you posted such an elementary problem, I guess it would be better if you learnt how to attack this problem rather than only the solution of it.
See, you need to find out $n^n pmod{n-1}$ where $n>2$. Whenever you need to find mod of such products, the first thing to try is finding out the mod of individual terms (the others being some manipulation or Euler's/Fermat's little theorem if it's a power etc.). Now, in this case, it is evident that $n equiv (n-1)+1 equiv 1 pmod{n-1}$.
We know that, taking mod is multiplicative. So, $n^n equiv (1)^n pmod{n-1} equiv 1 pmod{n-1}$.
Please comment if you need further clarifications.
edited Dec 30 '18 at 15:24
answered Dec 30 '18 at 10:10
SinTan1729SinTan1729
2,689724
2,689724
1
$begingroup$
I think it would have better if you used equiv $equiv$ instead of =
$endgroup$
– Mohammad Zuhair Khan
Dec 30 '18 at 11:12
$begingroup$
@MohammadZuhairKhan You're right. Edited.
$endgroup$
– SinTan1729
Dec 30 '18 at 15:24
add a comment |
1
$begingroup$
I think it would have better if you used equiv $equiv$ instead of =
$endgroup$
– Mohammad Zuhair Khan
Dec 30 '18 at 11:12
$begingroup$
@MohammadZuhairKhan You're right. Edited.
$endgroup$
– SinTan1729
Dec 30 '18 at 15:24
1
1
$begingroup$
I think it would have better if you used equiv $equiv$ instead of =
$endgroup$
– Mohammad Zuhair Khan
Dec 30 '18 at 11:12
$begingroup$
I think it would have better if you used equiv $equiv$ instead of =
$endgroup$
– Mohammad Zuhair Khan
Dec 30 '18 at 11:12
$begingroup$
@MohammadZuhairKhan You're right. Edited.
$endgroup$
– SinTan1729
Dec 30 '18 at 15:24
$begingroup$
@MohammadZuhairKhan You're right. Edited.
$endgroup$
– SinTan1729
Dec 30 '18 at 15:24
add a comment |
$begingroup$
$$n^n equiv ((n-1)+1)^n equiv 1^n equiv 1 pmod {n-1}$$
$endgroup$
$begingroup$
It would probably more helpful to the OP if you edited in where this equation comes from. (I understand it, but OP need not necessarily do so, it's mostly just an equation completely out of context. >_>)
$endgroup$
– Eevee Trainer
Dec 30 '18 at 10:01
1
$begingroup$
I cant understand your solution . Can you please make elaboration of this solution ?
$endgroup$
– Standard Equation
Dec 30 '18 at 10:04
$begingroup$
@StandardEquation Do you know modular arithmetic / congruences? It helps to add such context to your questions. You accepted an answer using modular arithmetic, so how could you understand that but not this? (they are equivalent)
$endgroup$
– Bill Dubuque
Dec 30 '18 at 15:43
add a comment |
$begingroup$
$$n^n equiv ((n-1)+1)^n equiv 1^n equiv 1 pmod {n-1}$$
$endgroup$
$begingroup$
It would probably more helpful to the OP if you edited in where this equation comes from. (I understand it, but OP need not necessarily do so, it's mostly just an equation completely out of context. >_>)
$endgroup$
– Eevee Trainer
Dec 30 '18 at 10:01
1
$begingroup$
I cant understand your solution . Can you please make elaboration of this solution ?
$endgroup$
– Standard Equation
Dec 30 '18 at 10:04
$begingroup$
@StandardEquation Do you know modular arithmetic / congruences? It helps to add such context to your questions. You accepted an answer using modular arithmetic, so how could you understand that but not this? (they are equivalent)
$endgroup$
– Bill Dubuque
Dec 30 '18 at 15:43
add a comment |
$begingroup$
$$n^n equiv ((n-1)+1)^n equiv 1^n equiv 1 pmod {n-1}$$
$endgroup$
$$n^n equiv ((n-1)+1)^n equiv 1^n equiv 1 pmod {n-1}$$
answered Dec 30 '18 at 9:58
Kenny LauKenny Lau
20.1k2260
20.1k2260
$begingroup$
It would probably more helpful to the OP if you edited in where this equation comes from. (I understand it, but OP need not necessarily do so, it's mostly just an equation completely out of context. >_>)
$endgroup$
– Eevee Trainer
Dec 30 '18 at 10:01
1
$begingroup$
I cant understand your solution . Can you please make elaboration of this solution ?
$endgroup$
– Standard Equation
Dec 30 '18 at 10:04
$begingroup$
@StandardEquation Do you know modular arithmetic / congruences? It helps to add such context to your questions. You accepted an answer using modular arithmetic, so how could you understand that but not this? (they are equivalent)
$endgroup$
– Bill Dubuque
Dec 30 '18 at 15:43
add a comment |
$begingroup$
It would probably more helpful to the OP if you edited in where this equation comes from. (I understand it, but OP need not necessarily do so, it's mostly just an equation completely out of context. >_>)
$endgroup$
– Eevee Trainer
Dec 30 '18 at 10:01
1
$begingroup$
I cant understand your solution . Can you please make elaboration of this solution ?
$endgroup$
– Standard Equation
Dec 30 '18 at 10:04
$begingroup$
@StandardEquation Do you know modular arithmetic / congruences? It helps to add such context to your questions. You accepted an answer using modular arithmetic, so how could you understand that but not this? (they are equivalent)
$endgroup$
– Bill Dubuque
Dec 30 '18 at 15:43
$begingroup$
It would probably more helpful to the OP if you edited in where this equation comes from. (I understand it, but OP need not necessarily do so, it's mostly just an equation completely out of context. >_>)
$endgroup$
– Eevee Trainer
Dec 30 '18 at 10:01
$begingroup$
It would probably more helpful to the OP if you edited in where this equation comes from. (I understand it, but OP need not necessarily do so, it's mostly just an equation completely out of context. >_>)
$endgroup$
– Eevee Trainer
Dec 30 '18 at 10:01
1
1
$begingroup$
I cant understand your solution . Can you please make elaboration of this solution ?
$endgroup$
– Standard Equation
Dec 30 '18 at 10:04
$begingroup$
I cant understand your solution . Can you please make elaboration of this solution ?
$endgroup$
– Standard Equation
Dec 30 '18 at 10:04
$begingroup$
@StandardEquation Do you know modular arithmetic / congruences? It helps to add such context to your questions. You accepted an answer using modular arithmetic, so how could you understand that but not this? (they are equivalent)
$endgroup$
– Bill Dubuque
Dec 30 '18 at 15:43
$begingroup$
@StandardEquation Do you know modular arithmetic / congruences? It helps to add such context to your questions. You accepted an answer using modular arithmetic, so how could you understand that but not this? (they are equivalent)
$endgroup$
– Bill Dubuque
Dec 30 '18 at 15:43
add a comment |
$begingroup$
$n^n = (n^{n-1} + n^{n-2} +ldots + 1)(n-1) + 1$. Its a telescope sum.
$endgroup$
1
$begingroup$
It would probably more helpful to the OP if you edited in where this equation comes from. (I understand it, but OP need not necessarily do so, it's mostly just an equation completely out of context. >_>)
$endgroup$
– Eevee Trainer
Dec 30 '18 at 10:01
1
$begingroup$
This solution make sense to me . Many many thanks
$endgroup$
– Standard Equation
Dec 30 '18 at 10:05
add a comment |
$begingroup$
$n^n = (n^{n-1} + n^{n-2} +ldots + 1)(n-1) + 1$. Its a telescope sum.
$endgroup$
1
$begingroup$
It would probably more helpful to the OP if you edited in where this equation comes from. (I understand it, but OP need not necessarily do so, it's mostly just an equation completely out of context. >_>)
$endgroup$
– Eevee Trainer
Dec 30 '18 at 10:01
1
$begingroup$
This solution make sense to me . Many many thanks
$endgroup$
– Standard Equation
Dec 30 '18 at 10:05
add a comment |
$begingroup$
$n^n = (n^{n-1} + n^{n-2} +ldots + 1)(n-1) + 1$. Its a telescope sum.
$endgroup$
$n^n = (n^{n-1} + n^{n-2} +ldots + 1)(n-1) + 1$. Its a telescope sum.
edited Dec 30 '18 at 17:23
answered Dec 30 '18 at 10:00
WuestenfuxWuestenfux
5,5911513
5,5911513
1
$begingroup$
It would probably more helpful to the OP if you edited in where this equation comes from. (I understand it, but OP need not necessarily do so, it's mostly just an equation completely out of context. >_>)
$endgroup$
– Eevee Trainer
Dec 30 '18 at 10:01
1
$begingroup$
This solution make sense to me . Many many thanks
$endgroup$
– Standard Equation
Dec 30 '18 at 10:05
add a comment |
1
$begingroup$
It would probably more helpful to the OP if you edited in where this equation comes from. (I understand it, but OP need not necessarily do so, it's mostly just an equation completely out of context. >_>)
$endgroup$
– Eevee Trainer
Dec 30 '18 at 10:01
1
$begingroup$
This solution make sense to me . Many many thanks
$endgroup$
– Standard Equation
Dec 30 '18 at 10:05
1
1
$begingroup$
It would probably more helpful to the OP if you edited in where this equation comes from. (I understand it, but OP need not necessarily do so, it's mostly just an equation completely out of context. >_>)
$endgroup$
– Eevee Trainer
Dec 30 '18 at 10:01
$begingroup$
It would probably more helpful to the OP if you edited in where this equation comes from. (I understand it, but OP need not necessarily do so, it's mostly just an equation completely out of context. >_>)
$endgroup$
– Eevee Trainer
Dec 30 '18 at 10:01
1
1
$begingroup$
This solution make sense to me . Many many thanks
$endgroup$
– Standard Equation
Dec 30 '18 at 10:05
$begingroup$
This solution make sense to me . Many many thanks
$endgroup$
– Standard Equation
Dec 30 '18 at 10:05
add a comment |
$begingroup$
For n>2:
Binomial expansion:
$(1+(n-1))^n=$
$sum_{k=1}^{n}binom{n}{k}(n-1)^k+1;$
The first term is divisible by $(n-1)$, the remainder is $1$.
$endgroup$
$begingroup$
Except when $,|n-1| = 1,$ when the remainder $,r= 0neq 1,,$ but $,0equiv 1pmod{!pm!1},,$ i.e. $, requiv 1pmod{n!-!1} $ is always true.
$endgroup$
– Bill Dubuque
Dec 30 '18 at 15:37
$begingroup$
Bill.Oops. Thanks for your comment. n>2. Shall fix it.
$endgroup$
– Peter Szilas
Dec 30 '18 at 17:41
add a comment |
$begingroup$
For n>2:
Binomial expansion:
$(1+(n-1))^n=$
$sum_{k=1}^{n}binom{n}{k}(n-1)^k+1;$
The first term is divisible by $(n-1)$, the remainder is $1$.
$endgroup$
$begingroup$
Except when $,|n-1| = 1,$ when the remainder $,r= 0neq 1,,$ but $,0equiv 1pmod{!pm!1},,$ i.e. $, requiv 1pmod{n!-!1} $ is always true.
$endgroup$
– Bill Dubuque
Dec 30 '18 at 15:37
$begingroup$
Bill.Oops. Thanks for your comment. n>2. Shall fix it.
$endgroup$
– Peter Szilas
Dec 30 '18 at 17:41
add a comment |
$begingroup$
For n>2:
Binomial expansion:
$(1+(n-1))^n=$
$sum_{k=1}^{n}binom{n}{k}(n-1)^k+1;$
The first term is divisible by $(n-1)$, the remainder is $1$.
$endgroup$
For n>2:
Binomial expansion:
$(1+(n-1))^n=$
$sum_{k=1}^{n}binom{n}{k}(n-1)^k+1;$
The first term is divisible by $(n-1)$, the remainder is $1$.
edited Dec 30 '18 at 17:42
answered Dec 30 '18 at 10:06
Peter SzilasPeter Szilas
12k2822
12k2822
$begingroup$
Except when $,|n-1| = 1,$ when the remainder $,r= 0neq 1,,$ but $,0equiv 1pmod{!pm!1},,$ i.e. $, requiv 1pmod{n!-!1} $ is always true.
$endgroup$
– Bill Dubuque
Dec 30 '18 at 15:37
$begingroup$
Bill.Oops. Thanks for your comment. n>2. Shall fix it.
$endgroup$
– Peter Szilas
Dec 30 '18 at 17:41
add a comment |
$begingroup$
Except when $,|n-1| = 1,$ when the remainder $,r= 0neq 1,,$ but $,0equiv 1pmod{!pm!1},,$ i.e. $, requiv 1pmod{n!-!1} $ is always true.
$endgroup$
– Bill Dubuque
Dec 30 '18 at 15:37
$begingroup$
Bill.Oops. Thanks for your comment. n>2. Shall fix it.
$endgroup$
– Peter Szilas
Dec 30 '18 at 17:41
$begingroup$
Except when $,|n-1| = 1,$ when the remainder $,r= 0neq 1,,$ but $,0equiv 1pmod{!pm!1},,$ i.e. $, requiv 1pmod{n!-!1} $ is always true.
$endgroup$
– Bill Dubuque
Dec 30 '18 at 15:37
$begingroup$
Except when $,|n-1| = 1,$ when the remainder $,r= 0neq 1,,$ but $,0equiv 1pmod{!pm!1},,$ i.e. $, requiv 1pmod{n!-!1} $ is always true.
$endgroup$
– Bill Dubuque
Dec 30 '18 at 15:37
$begingroup$
Bill.Oops. Thanks for your comment. n>2. Shall fix it.
$endgroup$
– Peter Szilas
Dec 30 '18 at 17:41
$begingroup$
Bill.Oops. Thanks for your comment. n>2. Shall fix it.
$endgroup$
– Peter Szilas
Dec 30 '18 at 17:41
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%2f3056668%2fwhat-is-the-remainder-when-nn-is-divided-by-n-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
1
$begingroup$
$4^4$ divided by $3$ gives $1$. The answer is always $1$
$endgroup$
– Mohammad Zuhair Khan
Dec 30 '18 at 9:58
$begingroup$
That is a huge mistake . Many many thanks
$endgroup$
– Standard Equation
Dec 30 '18 at 10:00