1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
vivado [14]
3 years ago
9

Find an integer x such that 0<=x<527 and x^37===3 mod 527

Mathematics
1 answer:
Greeley [361]3 years ago
3 0
Since 527=17\times31, we have that

x^{37}\equiv3\mod{527}\implies\begin{cases}x^{37}\equiv3\mod{17}\\x^{37}\equiv3\mod{31}\end{cases}

By Fermat's little theorem, and the fact that 37=2(17)+3=1(31)+6, we know that

x^{37}\equiv(x^2)^{17}x^3\equiv x^5\mod{17}
x^{37}\equiv(x^1)^{31}x^6\equiv x^7\mod{31}

so we have

\begin{cases}x^5\equiv3\mod{17}\\x^7\equiv3\mod{31}\end{cases}

Consider the first case. By Fermat's little theorem, we know that

x^{17}\equiv x^{16}x\equiv x\mod{17}

so if we were to raise x^5 to the nth power such that

(x^5)^n\equiv x^{5n}\equiv x\mod{17}

we would need to choose n such that 5n\equiv1\mod{16} (because 16+1\equiv1\mod{16}). We can find such an n by applying the Euclidean algorithm:

16=3(5)+1
\implies1=16-3(5)
\implies16-3(5)\equiv-3(5)\equiv1\mod{16}

which makes -3\equiv13\mod{16} the inverse of 5 modulo 16, and so n=13.

Now,

x^5\equiv3\mod{17}
\implies (x^5)^{13}\equiv x^{65}\equiv x\equiv3^{13}\equiv(3^4)^2\times3^4\times3^1\mod{17}

3^1\equiv3\mod{17}
3^4\equiv81\equiv4(17)+13\equiv13\equiv-4\mod{17}
3^8\equiv(3^4)^2\equiv(-4)^2\mod{17}
\implies3^{13}\equiv(-4)^2\times(-4)\times3\equiv(-1)\times(-4)\times3\equiv12\mod{17}

Similarly, we can look for m such that 7m\equiv1\mod{30}. Apply the Euclidean algorithm:

30=4(7)+2
7=3(2)+1
\implies1=7-3(2)=7-3(30-4(7))=13(7)-3(30)
\implies13(7)-3(30)\equiv13(7)equiv1\mod{30}

so that m=13 is also the inverse of 7 modulo 30.

And similarly,

x^7\equiv3\mod{31}[/ex] [tex]\implies (x^7)^{13}\equiv3^{13}\mod{31}

Decomposing the power of 3 in a similar fashion, we have

3^{13}\equiv(3^3)^4\times3\mod{31}

3\equiv3\mod{31}
3^3\equiv27\equiv-4\mod{31}
\implies3^{13}\equiv(-4)^4\times3\equiv256\times3\equiv(8(31)+8)\times3\equiv24\mod{31}

So we have two linear congruences,

\begin{cases}x\equiv12\mod{17}\\x\equiv24\mod{31}\end{cases}

and because \mathrm{gcd}\,(17,31)=1, we can use the Chinese remainder theorem to solve for x.

Suppose x=31+17. Then modulo 17, we have

x\equiv31\equiv14\mod{17}

but we want to obtain x\equiv12\mod{17}. So let's assume x=31y+17, so that modulo 17 this reduces to

x\equiv31y+17\equiv14y\equiv1\mod{17}

Using the Euclidean algorithm:

17=1(14)+3
14=4(3)+2
3=1(2)+1
\implies1=3-2=5(3)-14=5(17)-6(14)
\implies-6(14)\equiv11(14)\equiv1\mod{17}

we find that y=11 is the inverse of 14 modulo 17, and so multiplying by 12, we guarantee that we are left with 12 modulo 17:

x\equiv31(11)(12)+17\equiv12\mod{17}

To satisfy the second condition that x\equiv24\mod{31}, taking x modulo 31 gives

x\equiv31(11)(12)+17\equiv17\mod{31}

To get this remainder to be 24, we first multiply by the inverse of 17 modulo 31, then multiply by 24. So let's find z such that 17z\equiv1\mod{31}. Euclidean algorithm:

31=1(17)+14
17=1(14)+3

and so on - we've already done this. So z=11 is the inverse of 17 modulo 31. Now, we take

x\equiv31(11)(12)+17(11)(24)\equiv24\mod{31}

as required. This means the congruence x^{37}\equiv3\mod{527} is satisfied by

x=31(11)(12)+17(11)(24)=8580

We want 0\le x, so just subtract as many multples of 527 from 8580 until this occurs.

8580=16(527)+148\implies x=148
You might be interested in
Members of the chess club held a bake sale to raise money. Cupcakes and cookies were sold. Cupcakes were sold for two dollars ea
Gala2k [10]
C 75.00- 1/3 were cookies which is 150 cookies. 150x0.50=75.00
5 0
2 years ago
students set up 6 rows of seats for a music concert. they put 6 seats in each row. what is the total number of seats? solve this
Mariulka [41]

Answer:

36

Step-by-step explanation:

becuase each row has 6 in them and there are 6 rows so 36 is the final answer

8 0
3 years ago
Read 2 more answers
Express 432 as a product of prime factors
laiz [17]
Here's the answer
432=2^4 x 17
8 0
3 years ago
2 1/3 + 3/7 divided by 2 1/3 x 1 3/7​
oee [108]

Answer: \frac{29}{35}

Step-by-step explanation:

1. Make sure all your denominators are the same, you can do this by multiplying them all by 3 or 7, 2 and 1/3 would become 2 7/21, 3/7 would become 9/21, 2 and 1/3, would become 2 and 7/21, and so on and so forth, leaving us with

2\frac{7}{21}+\frac{9}{21} / 2\frac{7}{21} * 1\frac{9}{21}

2. Now, I would go and solve each side of the equation because we divide them, we can add 2\frac{7}{21} and \frac{9}{21}  together to get  2\frac{16}{21}, because 7 + 9 = 16

2\frac{16}{21} / 2\frac{7}{21} * 1\frac{9}{21}

3. We can do the same thing to the other side, by multiplying the two of them. I'm going to convert both of them to just fractions, 2\frac{7}{21} becomes \frac{49}{21} and 1\frac{9}{21} becomes \frac{30}{21}

\frac{49}{21} *  \frac{30}{21}

Now we can reduce them, and for our first fraction divide the top and bottom by 7, giving us  \frac{7}{3} and the second one by 3, which gives us  \frac{10}{7}

\frac{7}{3} * \frac{10}{7} now we cross divide, where we replace the 7's with ones because they're right across from each other to get  \frac{1}{3} and  \frac{10}{1}, or just 10.

\frac{1}{3} * 10 =  \frac{10}{3}

4. So now we can do a similar thing with the first half of our equation and convert it into a fraction and not a mixed number.

\frac{58}{21} / \frac{10}{3}

Now we multiply divide them, and the easiest way I learned how to do this was by keep the first fraction in its place, and flipping the denominator and numerator of the second, and multiplying them.

so   \frac{58}{21} * \frac{3}{10} which if we multiply both sides, you get \frac{174}{210}

I'll save you some times and simplify it for you, the greatest common factor is 6 so we divide the top and bottom by 6 to get

\frac{29}{35}

4 0
3 years ago
What is the relationship between ∠a and∠b? NO LINKS ! if you give me a link you're getting reported. Also the last option says n
oksano4ka [1.4K]
The answer would be B. As you can see Angle A and angle B are connected by that line and together they would equal 90 degrees like on the other side of line AB.
3 0
3 years ago
Other questions:
  • Quadrilateral ABCD has a vertices A(-1,5) B(5,1) C(6,-2) D(x,2) what is the x coordinate to make ABCD a parallelogram
    13·1 answer
  • Find a line parallel to the graph of y=3x+6 that passes through the point (3,0) in standard form
    8·1 answer
  • The surface area of a cube is 150 cm2. what is the area of each face of the cube?
    10·1 answer
  • Stu has 2/3 of a circular pizza left over from a party. He takes half of it as a snack and evenly splits up the rest to share wi
    8·1 answer
  • Please help me solve for the value of x
    8·2 answers
  • On a coordinate plane, a solid straight line has a positive slope and goes through (negative 4, 0) and (0, 2). Everything to the
    9·2 answers
  • How do we write 2.51 in expanded form and in word form
    6·1 answer
  • I need help with this one too
    11·1 answer
  • two planes take off at a new york airport. the first plane climbs at an angle of 45 degree with respect to the ground amd reache
    6·1 answer
  • Find the surface area of an open-top box with length 5 cm, width 6 cm, and height 4 cm.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!