Extending Euclid's Algorithm

Find the least positive integer x x such that

36 x 18 ( m o d 102 ) . 36x\equiv18\pmod{102}.


The answer is 9.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

5 solutions

Aditya Raut
Oct 22, 2014

36 x 18 ( m o d 102 ) 36x \equiv 18 \pmod{102}

102 36 x 18 \therefore 102 \mid 36x- 18

6 × 17 6 × 3 ( 2 x 1 ) \therefore 6\times 17 \mid 6 \times 3 ( 2x - 1)

17 3 ( 2 x 1 ) \therefore 17 \mid 3(2x-1)

But 3 3 and 17 17 are coprime, so 17 3 17 \nmid 3

17 2 x 1 \implies 17 \mid 2x-1

This gives 2 x 1 2x-1 is divisible by 17 17 . And minimum such positive integer is 17 17 itself.

2 x 1 = 17 x = 9 2x-1 = 17 \implies x= \boxed{9}

Did much the same way. I used a bit of Algebra though. Took 36 x = 102 p + 18 , p Z 36x=102p+18, p\in \mathbb{Z} and then ended up with p = 3 17 ( 2 x 1 ) p=\frac{3}{17}\cdot (2x-1) and with a little observation, we get the answer from there.

Prasun Biswas - 6 years, 6 months ago
Trevor Arashiro
Oct 29, 2014

Alternative:

Take the smallest x such that 36 x > 102 36x>102

36 × ( 3 ) 6 ( m o d 102 ) 36\times (3) \equiv 6 \pmod{102}

Multiply both sides by three

36 × ( 9 ) 18 ( m o d 102 ) 36\times (9) \equiv 18 \pmod{102}

36 x 18 ( m o d 102 ) 36x \equiv 18\pmod{102}

Can be expressed as,

36 x = 18 + 102 k 36x = 18 + 102k , where k k is an integer

Dividing both sides by 6 6 , we get

6 x = 3 + 17 k 6x = 3 + 17k

6 x 3 ( m o d 17 ) 6x \equiv 3\pmod{17}

2 x 1 ( m o d 17 ) 2x \equiv 1\pmod{17}

2 x 18 ( m o d 17 ) 2x \equiv 18\pmod{17}

x 9 ( m o d 17 ) x \equiv 9\pmod{17}

Therefore the smallest is 9 \boxed9

Fidel Simanjuntak
Jan 21, 2017

Trial and Error

x x has to be an integer.

36 x = 102 + 18 x is not an integer 36x = 102+18 \Rightarrow \text{x is not an integer}

36 x = 2 × 102 + 18 x is not an integer 36x = 2 \times 102 + 18 \Rightarrow \text{x is not an integer}

36 x = 3 × 102 + 18 36 x = 324 x is an integer 36x = 3 \times 102 + 18 \Rightarrow 36x \space = \space 324 \Rightarrow \text{x is an integer}

Hence, x = 9 x = 9 .

Cédric Goemaere
Oct 31, 2016

36x=18+102t, t is an integer

2x=1+(17/3)t

2x-1=(17/3)t

-> t has to be minimum 3 for x to be an integer

-> 2x-1=17

x=9

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...