#Extended Euclidean Algo

74 messages · Page 1 of 1 (latest)

modern stream
#

What have you tried?

tired tulip
#

I tried basic algebra

#

Converting the LHS to mod 9527

#

Im not sure where to start here

#

28812 is 231 (mod9527)

modern stream
tired tulip
#

Im not sure what to do

tired tulip
modern stream
tired tulip
#

How is 28812 / 7 = 33

modern stream
tired tulip
#

ohh

modern stream
tired tulip
#

I don't understand that sorry

modern stream
tired tulip
#

yes

tired tulip
modern stream
#

There are no "a,b,k,n" in "this equation" because 1) it's not an equation, and 2) it's not an instance of what I'm talking about.

tired tulip
#

But if you laid it out, what steps did you take to get to this "33x == 1 (mod 1361)"

modern stream
#

I was literally just trying to explain that, and you didn't get it.

tired tulip
#

Ok thanks for trying 👍

modern stream
#

Look. 33x * 7 == 1 * 7 (mod 1361 * 7), right?

tired tulip
#

Yes but I dont understand where it came from

#

You divided 231 = 4(56) + 7 by 7?

modern stream
#

No!

#

Stop looking at your work and look at my work!

#

The only thing relevant about your work is that it spit out the shared factor of 7.

tired tulip
#

I see

#

So where did 33x * 7 == 1 * 7 (mod 1361 * 7) come from

modern stream
#

...because what's 33 * 7?

tired tulip
#

231

modern stream
#

And what's 1 * 7?

tired tulip
#

7

modern stream
#

And what's 1361 * 7?

tired tulip
#

9527

modern stream
#

So...?

tired tulip
#

Oh I think I understand

modern stream
#

Thank God.

tired tulip
#

231 is 28812(mod 9527)

modern stream
#

...yes. We already knew that.

#

You realize we've spent most of the time we've been spending on this problem re-doing work we've already done?

tired tulip
#

Learning takes time

#

If you don't want to help me that's okay, thanks for what you taught so far tho

modern stream
#

That's fair, but at the same time it doesn't bode well for your mathematical career if you can't follow the trail of your own work.

#

Anyway.

#

33x * 7 == 1 * 7 (mod 1361 * 7), therefore 33x == 1 (mod 1361).

tired tulip
#

Yes

#

Now I solve for x?

modern stream
#

Yes.

tired tulip
#

x = 1/33

modern stream
#

No.

#

This isn't equality, it's congruence. Only integers are allowed.

#

And I know you know that, because you knew what to do when I said to find a multiplicative inverse before.

tired tulip
#

So how do I solve for x?

modern stream
#

How do you think?

tired tulip
#

I don't know

modern stream
#

Think.

tired tulip
#

I dont know

modern stream
#

I know you know.

#

You've shown me you know.

tired tulip
#

I genuinely do not know

modern stream
#

I know you know what to do because you did it before.

tired tulip
#

Finding the multiplicative inverse?

modern stream
#

Yes.

tired tulip
#

of 33 mod 1361?

modern stream
#

Yes.

tired tulip
#

33 = 4(8) + 1

#

1 = 33 - 4(8)

#

1 = 33 - 4(1361 - (41x33))

#

idk what to do now

modern stream
tepid ermine
#

+close