Chinese Remainder Theorem Application Question
up vote
0
down vote
favorite
How to find the remainder of $10^{5^{102}}$ mod $35$, in this question I cannot find "$a$" such that $10^a$ congruent to $1$ and use the basic trick. This makes me pretty confused, any help is really appreciated!
number-theory elementary-number-theory
add a comment |
up vote
0
down vote
favorite
How to find the remainder of $10^{5^{102}}$ mod $35$, in this question I cannot find "$a$" such that $10^a$ congruent to $1$ and use the basic trick. This makes me pretty confused, any help is really appreciated!
number-theory elementary-number-theory
1
@Clayton that fails because $10$ is not relatively prime to $35$. You need to use (or you can use) the Chinese Remainder Th.
– fleablood
Dec 6 at 1:17
@fleablood: thanks. You’re right. It has been one hard week.
– Clayton
Dec 6 at 1:18
@fleablood thanks, could you please explain more about the logic here?
– Johnny Wong
Dec 6 at 1:21
Have you ever heard of the chinese remainder theorem. If $M equiv a pmod 5$ and $Mequiv b pmod 7$ there is one solution to $M equiv ??? pmod {5*7} $. And finding $10^{5^{102}}pmod 5; pmod 7$ is very easy.
– fleablood
Dec 6 at 2:09
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
How to find the remainder of $10^{5^{102}}$ mod $35$, in this question I cannot find "$a$" such that $10^a$ congruent to $1$ and use the basic trick. This makes me pretty confused, any help is really appreciated!
number-theory elementary-number-theory
How to find the remainder of $10^{5^{102}}$ mod $35$, in this question I cannot find "$a$" such that $10^a$ congruent to $1$ and use the basic trick. This makes me pretty confused, any help is really appreciated!
number-theory elementary-number-theory
number-theory elementary-number-theory
edited Dec 6 at 5:24
Tianlalu
3,01021038
3,01021038
asked Dec 6 at 1:05
Johnny Wong
11
11
1
@Clayton that fails because $10$ is not relatively prime to $35$. You need to use (or you can use) the Chinese Remainder Th.
– fleablood
Dec 6 at 1:17
@fleablood: thanks. You’re right. It has been one hard week.
– Clayton
Dec 6 at 1:18
@fleablood thanks, could you please explain more about the logic here?
– Johnny Wong
Dec 6 at 1:21
Have you ever heard of the chinese remainder theorem. If $M equiv a pmod 5$ and $Mequiv b pmod 7$ there is one solution to $M equiv ??? pmod {5*7} $. And finding $10^{5^{102}}pmod 5; pmod 7$ is very easy.
– fleablood
Dec 6 at 2:09
add a comment |
1
@Clayton that fails because $10$ is not relatively prime to $35$. You need to use (or you can use) the Chinese Remainder Th.
– fleablood
Dec 6 at 1:17
@fleablood: thanks. You’re right. It has been one hard week.
– Clayton
Dec 6 at 1:18
@fleablood thanks, could you please explain more about the logic here?
– Johnny Wong
Dec 6 at 1:21
Have you ever heard of the chinese remainder theorem. If $M equiv a pmod 5$ and $Mequiv b pmod 7$ there is one solution to $M equiv ??? pmod {5*7} $. And finding $10^{5^{102}}pmod 5; pmod 7$ is very easy.
– fleablood
Dec 6 at 2:09
1
1
@Clayton that fails because $10$ is not relatively prime to $35$. You need to use (or you can use) the Chinese Remainder Th.
– fleablood
Dec 6 at 1:17
@Clayton that fails because $10$ is not relatively prime to $35$. You need to use (or you can use) the Chinese Remainder Th.
– fleablood
Dec 6 at 1:17
@fleablood: thanks. You’re right. It has been one hard week.
– Clayton
Dec 6 at 1:18
@fleablood: thanks. You’re right. It has been one hard week.
– Clayton
Dec 6 at 1:18
@fleablood thanks, could you please explain more about the logic here?
– Johnny Wong
Dec 6 at 1:21
@fleablood thanks, could you please explain more about the logic here?
– Johnny Wong
Dec 6 at 1:21
Have you ever heard of the chinese remainder theorem. If $M equiv a pmod 5$ and $Mequiv b pmod 7$ there is one solution to $M equiv ??? pmod {5*7} $. And finding $10^{5^{102}}pmod 5; pmod 7$ is very easy.
– fleablood
Dec 6 at 2:09
Have you ever heard of the chinese remainder theorem. If $M equiv a pmod 5$ and $Mequiv b pmod 7$ there is one solution to $M equiv ??? pmod {5*7} $. And finding $10^{5^{102}}pmod 5; pmod 7$ is very easy.
– fleablood
Dec 6 at 2:09
add a comment |
4 Answers
4
active
oldest
votes
up vote
3
down vote
Hint: Find the quantity $bmod 5$ (shouldn't be hard given that the base is $10$) and then find it $bmod 7$ (using some $a$ so that $10^aequiv 1bmod 7$ like you mentioned). From here, splice them together with the Chinese remainder theorem.
I just followed the logic you said, like I can let $10^{5^{102}}$ be X, and X is congruent to 0 mod 5 and X is also congruent to 3 mod 7, and X=45, I cannot not fully understand the logic here, could you please explain more?
– Johnny Wong
Dec 6 at 1:19
@JohnnyWong Are you familiar with the Chinese remainder theorem?
– Carl Schildkraut
Dec 6 at 2:14
add a comment |
up vote
1
down vote
Set $x= 10^{5^{102}}$. Clearly
$$
x=0 mod 5.
$$
You have to solve now:
$$
x=10^{5^{102}} mod 7,
$$
that is:
$$
x=3^{5^{102}} mod 7.
$$
Since $7$ is prime and $7$ is not a divisor of $3$ , Fermat's little theorem says
$$
3^6=1 mod 7,
$$
therefore:
$$
3^{5^{102}}=3^y mod 7 quad text{ if }quad 5^{102}=y mod 6.
$$
Now,
$$
y=5^{102} mod 6,\
y=(-1)^{102} mod 6,\
y=1 mod 6.
$$
This means:
$$
x=3^1=3 mod 7.\
$$
Now, using:
$$
x=0 mod 5,\
x=3 mod 7,\
$$
you should be able to prove:
$$
x = 10 mod 35.
$$
(Chinese remainder theorem tells you that this solution is unique mod 35)
add a comment |
up vote
1
down vote
You can't find it because $10$ and $35$ are not relatively prime and there is none.
As $gcd(10, 35)= 7$ every $10^k$ will be equivalent to a multiple of $5$. we can attempt to find $10^k equiv 10pmod {35}$....
But the Chinese Remeander Theorem is much easier.
CRT says: If $10^{5^{102}} equiv j pmod {5}$ and $10^{5^{102}} equiv m pmod 7$, there is unique equivalence class $n pmod{5*7}$ so that $nequiv j equiv 10^{5^{102}} pmod 5$ and $nequiv m equiv 10^{5^{102}}pmod 5$. And from $m,j$ will be able to find that $n$.
$10equiv 0 pmod 5$ so $10^{5^{102}} equiv 0 pmod 5$.
Now by Fermat Little Theorem $10^6 equiv 1 pmod 7$. And so "the trick" is if $a = 6b + r$ or in other words is $a equiv r pmod 6$ then $10^a = (10^6)^b10^r equiv 10^r pmod 7$ so
$10^{5^{102}} = 10^{(6-1)^{102}} equiv 10^{(-1)^{102}} =10^1equiv 3 pmod 7$.
So we nee to solve $n equiv 0 pmod 5$ and $nequiv 3 pmod 7$. By CRT there is one and also by CRT there is only one and as $10^{5^{102}}$ is a solution, $n equiv 10^{5^{102}} pmod 35$.
And as $10^k equiv 0 equiv 10 pmod 5$ and $10^{5^{102}}equiv 10 pmod 7$ we know.... $n equiv 10 mod 35$ is that solution. $10 equiv 0 pmod 5$ and $10equiv 3 pmod 7$.
So $10^{5^{102}}equiv 0 pmod 5$ and $10^{4^{102}}equiv 3pmod 7iff 10^{5^{102}} equiv 10 pmod 35$.
add a comment |
up vote
1
down vote
$$10^{large 25^{LARGE n}}!!bmod 35, =, overbrace{5left[ 10^{largecolor{#c00}{ 25}^{LARGE n}}!!/5bmod 7right], =, 5left[10^{large color{#c00}{bf 1}^{LARGE n}}!!/5bmod 7right]}^{ Large 10^{LARGE color{#0a0} 6}equiv, 1!pmod{!7}; color{#c00}{25 equiv 1}pmod{!color{#0a0}6}} =, 5[2], =, 10qquad$$
By $color{#0a0}{rmmu Fermat}$ & the mod Distributive Law $,abbmod ac = a(bbmod c),$ instead of CRT.
– Bill Dubuque
Dec 6 at 2:29
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%2f3027895%2fchinese-remainder-theorem-application-question%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
up vote
3
down vote
Hint: Find the quantity $bmod 5$ (shouldn't be hard given that the base is $10$) and then find it $bmod 7$ (using some $a$ so that $10^aequiv 1bmod 7$ like you mentioned). From here, splice them together with the Chinese remainder theorem.
I just followed the logic you said, like I can let $10^{5^{102}}$ be X, and X is congruent to 0 mod 5 and X is also congruent to 3 mod 7, and X=45, I cannot not fully understand the logic here, could you please explain more?
– Johnny Wong
Dec 6 at 1:19
@JohnnyWong Are you familiar with the Chinese remainder theorem?
– Carl Schildkraut
Dec 6 at 2:14
add a comment |
up vote
3
down vote
Hint: Find the quantity $bmod 5$ (shouldn't be hard given that the base is $10$) and then find it $bmod 7$ (using some $a$ so that $10^aequiv 1bmod 7$ like you mentioned). From here, splice them together with the Chinese remainder theorem.
I just followed the logic you said, like I can let $10^{5^{102}}$ be X, and X is congruent to 0 mod 5 and X is also congruent to 3 mod 7, and X=45, I cannot not fully understand the logic here, could you please explain more?
– Johnny Wong
Dec 6 at 1:19
@JohnnyWong Are you familiar with the Chinese remainder theorem?
– Carl Schildkraut
Dec 6 at 2:14
add a comment |
up vote
3
down vote
up vote
3
down vote
Hint: Find the quantity $bmod 5$ (shouldn't be hard given that the base is $10$) and then find it $bmod 7$ (using some $a$ so that $10^aequiv 1bmod 7$ like you mentioned). From here, splice them together with the Chinese remainder theorem.
Hint: Find the quantity $bmod 5$ (shouldn't be hard given that the base is $10$) and then find it $bmod 7$ (using some $a$ so that $10^aequiv 1bmod 7$ like you mentioned). From here, splice them together with the Chinese remainder theorem.
answered Dec 6 at 1:08
Carl Schildkraut
11.1k11441
11.1k11441
I just followed the logic you said, like I can let $10^{5^{102}}$ be X, and X is congruent to 0 mod 5 and X is also congruent to 3 mod 7, and X=45, I cannot not fully understand the logic here, could you please explain more?
– Johnny Wong
Dec 6 at 1:19
@JohnnyWong Are you familiar with the Chinese remainder theorem?
– Carl Schildkraut
Dec 6 at 2:14
add a comment |
I just followed the logic you said, like I can let $10^{5^{102}}$ be X, and X is congruent to 0 mod 5 and X is also congruent to 3 mod 7, and X=45, I cannot not fully understand the logic here, could you please explain more?
– Johnny Wong
Dec 6 at 1:19
@JohnnyWong Are you familiar with the Chinese remainder theorem?
– Carl Schildkraut
Dec 6 at 2:14
I just followed the logic you said, like I can let $10^{5^{102}}$ be X, and X is congruent to 0 mod 5 and X is also congruent to 3 mod 7, and X=45, I cannot not fully understand the logic here, could you please explain more?
– Johnny Wong
Dec 6 at 1:19
I just followed the logic you said, like I can let $10^{5^{102}}$ be X, and X is congruent to 0 mod 5 and X is also congruent to 3 mod 7, and X=45, I cannot not fully understand the logic here, could you please explain more?
– Johnny Wong
Dec 6 at 1:19
@JohnnyWong Are you familiar with the Chinese remainder theorem?
– Carl Schildkraut
Dec 6 at 2:14
@JohnnyWong Are you familiar with the Chinese remainder theorem?
– Carl Schildkraut
Dec 6 at 2:14
add a comment |
up vote
1
down vote
Set $x= 10^{5^{102}}$. Clearly
$$
x=0 mod 5.
$$
You have to solve now:
$$
x=10^{5^{102}} mod 7,
$$
that is:
$$
x=3^{5^{102}} mod 7.
$$
Since $7$ is prime and $7$ is not a divisor of $3$ , Fermat's little theorem says
$$
3^6=1 mod 7,
$$
therefore:
$$
3^{5^{102}}=3^y mod 7 quad text{ if }quad 5^{102}=y mod 6.
$$
Now,
$$
y=5^{102} mod 6,\
y=(-1)^{102} mod 6,\
y=1 mod 6.
$$
This means:
$$
x=3^1=3 mod 7.\
$$
Now, using:
$$
x=0 mod 5,\
x=3 mod 7,\
$$
you should be able to prove:
$$
x = 10 mod 35.
$$
(Chinese remainder theorem tells you that this solution is unique mod 35)
add a comment |
up vote
1
down vote
Set $x= 10^{5^{102}}$. Clearly
$$
x=0 mod 5.
$$
You have to solve now:
$$
x=10^{5^{102}} mod 7,
$$
that is:
$$
x=3^{5^{102}} mod 7.
$$
Since $7$ is prime and $7$ is not a divisor of $3$ , Fermat's little theorem says
$$
3^6=1 mod 7,
$$
therefore:
$$
3^{5^{102}}=3^y mod 7 quad text{ if }quad 5^{102}=y mod 6.
$$
Now,
$$
y=5^{102} mod 6,\
y=(-1)^{102} mod 6,\
y=1 mod 6.
$$
This means:
$$
x=3^1=3 mod 7.\
$$
Now, using:
$$
x=0 mod 5,\
x=3 mod 7,\
$$
you should be able to prove:
$$
x = 10 mod 35.
$$
(Chinese remainder theorem tells you that this solution is unique mod 35)
add a comment |
up vote
1
down vote
up vote
1
down vote
Set $x= 10^{5^{102}}$. Clearly
$$
x=0 mod 5.
$$
You have to solve now:
$$
x=10^{5^{102}} mod 7,
$$
that is:
$$
x=3^{5^{102}} mod 7.
$$
Since $7$ is prime and $7$ is not a divisor of $3$ , Fermat's little theorem says
$$
3^6=1 mod 7,
$$
therefore:
$$
3^{5^{102}}=3^y mod 7 quad text{ if }quad 5^{102}=y mod 6.
$$
Now,
$$
y=5^{102} mod 6,\
y=(-1)^{102} mod 6,\
y=1 mod 6.
$$
This means:
$$
x=3^1=3 mod 7.\
$$
Now, using:
$$
x=0 mod 5,\
x=3 mod 7,\
$$
you should be able to prove:
$$
x = 10 mod 35.
$$
(Chinese remainder theorem tells you that this solution is unique mod 35)
Set $x= 10^{5^{102}}$. Clearly
$$
x=0 mod 5.
$$
You have to solve now:
$$
x=10^{5^{102}} mod 7,
$$
that is:
$$
x=3^{5^{102}} mod 7.
$$
Since $7$ is prime and $7$ is not a divisor of $3$ , Fermat's little theorem says
$$
3^6=1 mod 7,
$$
therefore:
$$
3^{5^{102}}=3^y mod 7 quad text{ if }quad 5^{102}=y mod 6.
$$
Now,
$$
y=5^{102} mod 6,\
y=(-1)^{102} mod 6,\
y=1 mod 6.
$$
This means:
$$
x=3^1=3 mod 7.\
$$
Now, using:
$$
x=0 mod 5,\
x=3 mod 7,\
$$
you should be able to prove:
$$
x = 10 mod 35.
$$
(Chinese remainder theorem tells you that this solution is unique mod 35)
answered Dec 6 at 1:54
FormulaWriter
412
412
add a comment |
add a comment |
up vote
1
down vote
You can't find it because $10$ and $35$ are not relatively prime and there is none.
As $gcd(10, 35)= 7$ every $10^k$ will be equivalent to a multiple of $5$. we can attempt to find $10^k equiv 10pmod {35}$....
But the Chinese Remeander Theorem is much easier.
CRT says: If $10^{5^{102}} equiv j pmod {5}$ and $10^{5^{102}} equiv m pmod 7$, there is unique equivalence class $n pmod{5*7}$ so that $nequiv j equiv 10^{5^{102}} pmod 5$ and $nequiv m equiv 10^{5^{102}}pmod 5$. And from $m,j$ will be able to find that $n$.
$10equiv 0 pmod 5$ so $10^{5^{102}} equiv 0 pmod 5$.
Now by Fermat Little Theorem $10^6 equiv 1 pmod 7$. And so "the trick" is if $a = 6b + r$ or in other words is $a equiv r pmod 6$ then $10^a = (10^6)^b10^r equiv 10^r pmod 7$ so
$10^{5^{102}} = 10^{(6-1)^{102}} equiv 10^{(-1)^{102}} =10^1equiv 3 pmod 7$.
So we nee to solve $n equiv 0 pmod 5$ and $nequiv 3 pmod 7$. By CRT there is one and also by CRT there is only one and as $10^{5^{102}}$ is a solution, $n equiv 10^{5^{102}} pmod 35$.
And as $10^k equiv 0 equiv 10 pmod 5$ and $10^{5^{102}}equiv 10 pmod 7$ we know.... $n equiv 10 mod 35$ is that solution. $10 equiv 0 pmod 5$ and $10equiv 3 pmod 7$.
So $10^{5^{102}}equiv 0 pmod 5$ and $10^{4^{102}}equiv 3pmod 7iff 10^{5^{102}} equiv 10 pmod 35$.
add a comment |
up vote
1
down vote
You can't find it because $10$ and $35$ are not relatively prime and there is none.
As $gcd(10, 35)= 7$ every $10^k$ will be equivalent to a multiple of $5$. we can attempt to find $10^k equiv 10pmod {35}$....
But the Chinese Remeander Theorem is much easier.
CRT says: If $10^{5^{102}} equiv j pmod {5}$ and $10^{5^{102}} equiv m pmod 7$, there is unique equivalence class $n pmod{5*7}$ so that $nequiv j equiv 10^{5^{102}} pmod 5$ and $nequiv m equiv 10^{5^{102}}pmod 5$. And from $m,j$ will be able to find that $n$.
$10equiv 0 pmod 5$ so $10^{5^{102}} equiv 0 pmod 5$.
Now by Fermat Little Theorem $10^6 equiv 1 pmod 7$. And so "the trick" is if $a = 6b + r$ or in other words is $a equiv r pmod 6$ then $10^a = (10^6)^b10^r equiv 10^r pmod 7$ so
$10^{5^{102}} = 10^{(6-1)^{102}} equiv 10^{(-1)^{102}} =10^1equiv 3 pmod 7$.
So we nee to solve $n equiv 0 pmod 5$ and $nequiv 3 pmod 7$. By CRT there is one and also by CRT there is only one and as $10^{5^{102}}$ is a solution, $n equiv 10^{5^{102}} pmod 35$.
And as $10^k equiv 0 equiv 10 pmod 5$ and $10^{5^{102}}equiv 10 pmod 7$ we know.... $n equiv 10 mod 35$ is that solution. $10 equiv 0 pmod 5$ and $10equiv 3 pmod 7$.
So $10^{5^{102}}equiv 0 pmod 5$ and $10^{4^{102}}equiv 3pmod 7iff 10^{5^{102}} equiv 10 pmod 35$.
add a comment |
up vote
1
down vote
up vote
1
down vote
You can't find it because $10$ and $35$ are not relatively prime and there is none.
As $gcd(10, 35)= 7$ every $10^k$ will be equivalent to a multiple of $5$. we can attempt to find $10^k equiv 10pmod {35}$....
But the Chinese Remeander Theorem is much easier.
CRT says: If $10^{5^{102}} equiv j pmod {5}$ and $10^{5^{102}} equiv m pmod 7$, there is unique equivalence class $n pmod{5*7}$ so that $nequiv j equiv 10^{5^{102}} pmod 5$ and $nequiv m equiv 10^{5^{102}}pmod 5$. And from $m,j$ will be able to find that $n$.
$10equiv 0 pmod 5$ so $10^{5^{102}} equiv 0 pmod 5$.
Now by Fermat Little Theorem $10^6 equiv 1 pmod 7$. And so "the trick" is if $a = 6b + r$ or in other words is $a equiv r pmod 6$ then $10^a = (10^6)^b10^r equiv 10^r pmod 7$ so
$10^{5^{102}} = 10^{(6-1)^{102}} equiv 10^{(-1)^{102}} =10^1equiv 3 pmod 7$.
So we nee to solve $n equiv 0 pmod 5$ and $nequiv 3 pmod 7$. By CRT there is one and also by CRT there is only one and as $10^{5^{102}}$ is a solution, $n equiv 10^{5^{102}} pmod 35$.
And as $10^k equiv 0 equiv 10 pmod 5$ and $10^{5^{102}}equiv 10 pmod 7$ we know.... $n equiv 10 mod 35$ is that solution. $10 equiv 0 pmod 5$ and $10equiv 3 pmod 7$.
So $10^{5^{102}}equiv 0 pmod 5$ and $10^{4^{102}}equiv 3pmod 7iff 10^{5^{102}} equiv 10 pmod 35$.
You can't find it because $10$ and $35$ are not relatively prime and there is none.
As $gcd(10, 35)= 7$ every $10^k$ will be equivalent to a multiple of $5$. we can attempt to find $10^k equiv 10pmod {35}$....
But the Chinese Remeander Theorem is much easier.
CRT says: If $10^{5^{102}} equiv j pmod {5}$ and $10^{5^{102}} equiv m pmod 7$, there is unique equivalence class $n pmod{5*7}$ so that $nequiv j equiv 10^{5^{102}} pmod 5$ and $nequiv m equiv 10^{5^{102}}pmod 5$. And from $m,j$ will be able to find that $n$.
$10equiv 0 pmod 5$ so $10^{5^{102}} equiv 0 pmod 5$.
Now by Fermat Little Theorem $10^6 equiv 1 pmod 7$. And so "the trick" is if $a = 6b + r$ or in other words is $a equiv r pmod 6$ then $10^a = (10^6)^b10^r equiv 10^r pmod 7$ so
$10^{5^{102}} = 10^{(6-1)^{102}} equiv 10^{(-1)^{102}} =10^1equiv 3 pmod 7$.
So we nee to solve $n equiv 0 pmod 5$ and $nequiv 3 pmod 7$. By CRT there is one and also by CRT there is only one and as $10^{5^{102}}$ is a solution, $n equiv 10^{5^{102}} pmod 35$.
And as $10^k equiv 0 equiv 10 pmod 5$ and $10^{5^{102}}equiv 10 pmod 7$ we know.... $n equiv 10 mod 35$ is that solution. $10 equiv 0 pmod 5$ and $10equiv 3 pmod 7$.
So $10^{5^{102}}equiv 0 pmod 5$ and $10^{4^{102}}equiv 3pmod 7iff 10^{5^{102}} equiv 10 pmod 35$.
edited Dec 6 at 2:12
answered Dec 6 at 2:04
fleablood
68k22684
68k22684
add a comment |
add a comment |
up vote
1
down vote
$$10^{large 25^{LARGE n}}!!bmod 35, =, overbrace{5left[ 10^{largecolor{#c00}{ 25}^{LARGE n}}!!/5bmod 7right], =, 5left[10^{large color{#c00}{bf 1}^{LARGE n}}!!/5bmod 7right]}^{ Large 10^{LARGE color{#0a0} 6}equiv, 1!pmod{!7}; color{#c00}{25 equiv 1}pmod{!color{#0a0}6}} =, 5[2], =, 10qquad$$
By $color{#0a0}{rmmu Fermat}$ & the mod Distributive Law $,abbmod ac = a(bbmod c),$ instead of CRT.
– Bill Dubuque
Dec 6 at 2:29
add a comment |
up vote
1
down vote
$$10^{large 25^{LARGE n}}!!bmod 35, =, overbrace{5left[ 10^{largecolor{#c00}{ 25}^{LARGE n}}!!/5bmod 7right], =, 5left[10^{large color{#c00}{bf 1}^{LARGE n}}!!/5bmod 7right]}^{ Large 10^{LARGE color{#0a0} 6}equiv, 1!pmod{!7}; color{#c00}{25 equiv 1}pmod{!color{#0a0}6}} =, 5[2], =, 10qquad$$
By $color{#0a0}{rmmu Fermat}$ & the mod Distributive Law $,abbmod ac = a(bbmod c),$ instead of CRT.
– Bill Dubuque
Dec 6 at 2:29
add a comment |
up vote
1
down vote
up vote
1
down vote
$$10^{large 25^{LARGE n}}!!bmod 35, =, overbrace{5left[ 10^{largecolor{#c00}{ 25}^{LARGE n}}!!/5bmod 7right], =, 5left[10^{large color{#c00}{bf 1}^{LARGE n}}!!/5bmod 7right]}^{ Large 10^{LARGE color{#0a0} 6}equiv, 1!pmod{!7}; color{#c00}{25 equiv 1}pmod{!color{#0a0}6}} =, 5[2], =, 10qquad$$
$$10^{large 25^{LARGE n}}!!bmod 35, =, overbrace{5left[ 10^{largecolor{#c00}{ 25}^{LARGE n}}!!/5bmod 7right], =, 5left[10^{large color{#c00}{bf 1}^{LARGE n}}!!/5bmod 7right]}^{ Large 10^{LARGE color{#0a0} 6}equiv, 1!pmod{!7}; color{#c00}{25 equiv 1}pmod{!color{#0a0}6}} =, 5[2], =, 10qquad$$
edited Dec 6 at 2:14
answered Dec 6 at 1:45
Bill Dubuque
208k29189625
208k29189625
By $color{#0a0}{rmmu Fermat}$ & the mod Distributive Law $,abbmod ac = a(bbmod c),$ instead of CRT.
– Bill Dubuque
Dec 6 at 2:29
add a comment |
By $color{#0a0}{rmmu Fermat}$ & the mod Distributive Law $,abbmod ac = a(bbmod c),$ instead of CRT.
– Bill Dubuque
Dec 6 at 2:29
By $color{#0a0}{rmmu Fermat}$ & the mod Distributive Law $,abbmod ac = a(bbmod c),$ instead of CRT.
– Bill Dubuque
Dec 6 at 2:29
By $color{#0a0}{rmmu Fermat}$ & the mod Distributive Law $,abbmod ac = a(bbmod c),$ instead of CRT.
– Bill Dubuque
Dec 6 at 2:29
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
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%2f3027895%2fchinese-remainder-theorem-application-question%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
@Clayton that fails because $10$ is not relatively prime to $35$. You need to use (or you can use) the Chinese Remainder Th.
– fleablood
Dec 6 at 1:17
@fleablood: thanks. You’re right. It has been one hard week.
– Clayton
Dec 6 at 1:18
@fleablood thanks, could you please explain more about the logic here?
– Johnny Wong
Dec 6 at 1:21
Have you ever heard of the chinese remainder theorem. If $M equiv a pmod 5$ and $Mequiv b pmod 7$ there is one solution to $M equiv ??? pmod {5*7} $. And finding $10^{5^{102}}pmod 5; pmod 7$ is very easy.
– fleablood
Dec 6 at 2:09