Find smallest positive a &#x2208;<!-- ∈ --> <mrow class="MJX-TeXAtom-ORD"> <mi mathva

verekszem5vhx5

verekszem5vhx5

Answered question

2022-06-04

Find smallest positive a Z such 10 a 7 mod 17
I found that the answer was a = 16, I believe.
Note that 10 a 7 mod 17 17 10 a 7 10 a 7 = 17 x , x Z
The way I went about it was running EEA for 10 a + 17 ( x ) = 7 , x Z ..
I found it to be 1 = 10 ( 5 ) + 17 ( 3 ) 7 = 10 ( 35 ) + 17 ( 21 ). But I wasn't sure where then I could find 16 for this. I ended using bruteforce to find a = 16 starting from 1. (not efficient).
Any more efficient alternative to find this such a is appreciated!

Answer & Explanation

marianita2mcg4

marianita2mcg4

Beginner2022-06-05Added 3 answers

Step 1
If you're familiar with modular arithmetic: Note that
5 10 = 50 1 mod 17.
Thus, your equation is equivalent to a 35 mod 17.
Step 2
Again reducing 35, we get a 1 mod 17
or a 1 mod 17.
It is now clear that the smallest positive such integer is 16.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?