Solve the congruence $9x equiv âÂÂ3 pmod24$. Give your answer as a congruence to the smallest possible modulus, and as a congruence modulo 24.
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I've been able to find the answer as a congruence to the smallest possible modulus (i.e. mod 8) but unsure how to find answer as congruence to mod 24. Also, is everything I've done below correct?:
gcd(9,24) = 3
Therefore, our congruence becomes 3x â¡ -1 (mod 8)
So, 3x â¡ 7 (mod 8)
We must find inverse 'c' of 3 (mod 8), i.e. 3c â¡ 1(mod 8)
gcd(3,8) = 1
let 3c + 8y = 1
Using extended Euclidean Algorithm, we get c = 1
Therefore, solution of 3x â¡ 7 (mod 8) (i.e. smallest possible modulus) is:
x â¡ 7 (mod 8)
Now, how to find solution as a congruence to modulus 24? Assuming everything I've done above is correct.
discrete-mathematics modular-arithmetic
add a comment |Â
up vote
2
down vote
favorite
I've been able to find the answer as a congruence to the smallest possible modulus (i.e. mod 8) but unsure how to find answer as congruence to mod 24. Also, is everything I've done below correct?:
gcd(9,24) = 3
Therefore, our congruence becomes 3x â¡ -1 (mod 8)
So, 3x â¡ 7 (mod 8)
We must find inverse 'c' of 3 (mod 8), i.e. 3c â¡ 1(mod 8)
gcd(3,8) = 1
let 3c + 8y = 1
Using extended Euclidean Algorithm, we get c = 1
Therefore, solution of 3x â¡ 7 (mod 8) (i.e. smallest possible modulus) is:
x â¡ 7 (mod 8)
Now, how to find solution as a congruence to modulus 24? Assuming everything I've done above is correct.
discrete-mathematics modular-arithmetic
1
$9times 7equiv 63equiv 15not equiv -3 pmod 24$.
â lulu
Mar 31 '17 at 12:38
@lulu Hi lulu, what is this referring to?
â Programmer
Mar 31 '17 at 12:40
1
I am pointing out that your solution is not correct. Even $pmod 8$ it is not correct...$3times 7=21equiv 5not equiv 7pmod 8$.
â lulu
Mar 31 '17 at 12:42
we get $$5;13;21$$
â Dr. Sonnhard Graubner
Mar 31 '17 at 12:54
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I've been able to find the answer as a congruence to the smallest possible modulus (i.e. mod 8) but unsure how to find answer as congruence to mod 24. Also, is everything I've done below correct?:
gcd(9,24) = 3
Therefore, our congruence becomes 3x â¡ -1 (mod 8)
So, 3x â¡ 7 (mod 8)
We must find inverse 'c' of 3 (mod 8), i.e. 3c â¡ 1(mod 8)
gcd(3,8) = 1
let 3c + 8y = 1
Using extended Euclidean Algorithm, we get c = 1
Therefore, solution of 3x â¡ 7 (mod 8) (i.e. smallest possible modulus) is:
x â¡ 7 (mod 8)
Now, how to find solution as a congruence to modulus 24? Assuming everything I've done above is correct.
discrete-mathematics modular-arithmetic
I've been able to find the answer as a congruence to the smallest possible modulus (i.e. mod 8) but unsure how to find answer as congruence to mod 24. Also, is everything I've done below correct?:
gcd(9,24) = 3
Therefore, our congruence becomes 3x â¡ -1 (mod 8)
So, 3x â¡ 7 (mod 8)
We must find inverse 'c' of 3 (mod 8), i.e. 3c â¡ 1(mod 8)
gcd(3,8) = 1
let 3c + 8y = 1
Using extended Euclidean Algorithm, we get c = 1
Therefore, solution of 3x â¡ 7 (mod 8) (i.e. smallest possible modulus) is:
x â¡ 7 (mod 8)
Now, how to find solution as a congruence to modulus 24? Assuming everything I've done above is correct.
discrete-mathematics modular-arithmetic
edited Aug 26 at 13:14
The Pointer
2,7692832
2,7692832
asked Mar 31 '17 at 12:34
Programmer
366112
366112
1
$9times 7equiv 63equiv 15not equiv -3 pmod 24$.
â lulu
Mar 31 '17 at 12:38
@lulu Hi lulu, what is this referring to?
â Programmer
Mar 31 '17 at 12:40
1
I am pointing out that your solution is not correct. Even $pmod 8$ it is not correct...$3times 7=21equiv 5not equiv 7pmod 8$.
â lulu
Mar 31 '17 at 12:42
we get $$5;13;21$$
â Dr. Sonnhard Graubner
Mar 31 '17 at 12:54
add a comment |Â
1
$9times 7equiv 63equiv 15not equiv -3 pmod 24$.
â lulu
Mar 31 '17 at 12:38
@lulu Hi lulu, what is this referring to?
â Programmer
Mar 31 '17 at 12:40
1
I am pointing out that your solution is not correct. Even $pmod 8$ it is not correct...$3times 7=21equiv 5not equiv 7pmod 8$.
â lulu
Mar 31 '17 at 12:42
we get $$5;13;21$$
â Dr. Sonnhard Graubner
Mar 31 '17 at 12:54
1
1
$9times 7equiv 63equiv 15not equiv -3 pmod 24$.
â lulu
Mar 31 '17 at 12:38
$9times 7equiv 63equiv 15not equiv -3 pmod 24$.
â lulu
Mar 31 '17 at 12:38
@lulu Hi lulu, what is this referring to?
â Programmer
Mar 31 '17 at 12:40
@lulu Hi lulu, what is this referring to?
â Programmer
Mar 31 '17 at 12:40
1
1
I am pointing out that your solution is not correct. Even $pmod 8$ it is not correct...$3times 7=21equiv 5not equiv 7pmod 8$.
â lulu
Mar 31 '17 at 12:42
I am pointing out that your solution is not correct. Even $pmod 8$ it is not correct...$3times 7=21equiv 5not equiv 7pmod 8$.
â lulu
Mar 31 '17 at 12:42
we get $$5;13;21$$
â Dr. Sonnhard Graubner
Mar 31 '17 at 12:54
we get $$5;13;21$$
â Dr. Sonnhard Graubner
Mar 31 '17 at 12:54
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
How do you get $c=1$. The inverse of $3c equiv 1 pmod8$ is $c=3$ (since $3times 3=9$). In this way, you obtain $x equiv 5 pmod8$.
Observe that $9 times 5=45$ and $24 times 2=48$, so $x equiv 5 pmod24$.
Thanks very much :) I realised my mistake. And also thanks for helping me find mod 24 answer. Appreciate it.
â Programmer
Mar 31 '17 at 13:10
1
Just to say: this is not the $pmod 24$ answer. $xequiv 5 pmod 8$ is correct, $pmod 8$. but then you get $xequiv 5,13,21pmod 24$
â lulu
Mar 31 '17 at 13:40
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
How do you get $c=1$. The inverse of $3c equiv 1 pmod8$ is $c=3$ (since $3times 3=9$). In this way, you obtain $x equiv 5 pmod8$.
Observe that $9 times 5=45$ and $24 times 2=48$, so $x equiv 5 pmod24$.
Thanks very much :) I realised my mistake. And also thanks for helping me find mod 24 answer. Appreciate it.
â Programmer
Mar 31 '17 at 13:10
1
Just to say: this is not the $pmod 24$ answer. $xequiv 5 pmod 8$ is correct, $pmod 8$. but then you get $xequiv 5,13,21pmod 24$
â lulu
Mar 31 '17 at 13:40
add a comment |Â
up vote
2
down vote
accepted
How do you get $c=1$. The inverse of $3c equiv 1 pmod8$ is $c=3$ (since $3times 3=9$). In this way, you obtain $x equiv 5 pmod8$.
Observe that $9 times 5=45$ and $24 times 2=48$, so $x equiv 5 pmod24$.
Thanks very much :) I realised my mistake. And also thanks for helping me find mod 24 answer. Appreciate it.
â Programmer
Mar 31 '17 at 13:10
1
Just to say: this is not the $pmod 24$ answer. $xequiv 5 pmod 8$ is correct, $pmod 8$. but then you get $xequiv 5,13,21pmod 24$
â lulu
Mar 31 '17 at 13:40
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
How do you get $c=1$. The inverse of $3c equiv 1 pmod8$ is $c=3$ (since $3times 3=9$). In this way, you obtain $x equiv 5 pmod8$.
Observe that $9 times 5=45$ and $24 times 2=48$, so $x equiv 5 pmod24$.
How do you get $c=1$. The inverse of $3c equiv 1 pmod8$ is $c=3$ (since $3times 3=9$). In this way, you obtain $x equiv 5 pmod8$.
Observe that $9 times 5=45$ and $24 times 2=48$, so $x equiv 5 pmod24$.
answered Mar 31 '17 at 13:02
TheWanderer
1,76711029
1,76711029
Thanks very much :) I realised my mistake. And also thanks for helping me find mod 24 answer. Appreciate it.
â Programmer
Mar 31 '17 at 13:10
1
Just to say: this is not the $pmod 24$ answer. $xequiv 5 pmod 8$ is correct, $pmod 8$. but then you get $xequiv 5,13,21pmod 24$
â lulu
Mar 31 '17 at 13:40
add a comment |Â
Thanks very much :) I realised my mistake. And also thanks for helping me find mod 24 answer. Appreciate it.
â Programmer
Mar 31 '17 at 13:10
1
Just to say: this is not the $pmod 24$ answer. $xequiv 5 pmod 8$ is correct, $pmod 8$. but then you get $xequiv 5,13,21pmod 24$
â lulu
Mar 31 '17 at 13:40
Thanks very much :) I realised my mistake. And also thanks for helping me find mod 24 answer. Appreciate it.
â Programmer
Mar 31 '17 at 13:10
Thanks very much :) I realised my mistake. And also thanks for helping me find mod 24 answer. Appreciate it.
â Programmer
Mar 31 '17 at 13:10
1
1
Just to say: this is not the $pmod 24$ answer. $xequiv 5 pmod 8$ is correct, $pmod 8$. but then you get $xequiv 5,13,21pmod 24$
â lulu
Mar 31 '17 at 13:40
Just to say: this is not the $pmod 24$ answer. $xequiv 5 pmod 8$ is correct, $pmod 8$. but then you get $xequiv 5,13,21pmod 24$
â lulu
Mar 31 '17 at 13:40
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2211650%2fsolve-the-congruence-9x-equiv-%25e2%2588%25923-pmod24-give-your-answer-as-a-congruence%23new-answer', 'question_page');
);
Post as a guest
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
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
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
1
$9times 7equiv 63equiv 15not equiv -3 pmod 24$.
â lulu
Mar 31 '17 at 12:38
@lulu Hi lulu, what is this referring to?
â Programmer
Mar 31 '17 at 12:40
1
I am pointing out that your solution is not correct. Even $pmod 8$ it is not correct...$3times 7=21equiv 5not equiv 7pmod 8$.
â lulu
Mar 31 '17 at 12:42
we get $$5;13;21$$
â Dr. Sonnhard Graubner
Mar 31 '17 at 12:54