199k views
5 votes
Are 26 and 39 relatively prime

User Jadasdas
by
7.4k points

1 Answer

4 votes

Use Euclid's algorithm:

39 = 1•26 + 13

26 = 2•13 + 0

The last remainder is not 1, so 26 and 39 are not relatively prime.

Alternatively, we have

26 = 2•13

39 = 3•13

so that GCD(26, 39) = 13 ≠ 1.

User Ingo Leonhardt
by
7.8k points