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
What is the balanced equation for the reaction (NH4)2SO4+SrCl2--&gt;
steposvetlana [31]
(NH4)2SO4+SrCl2--><span>(NH4)2Cl2 + SrSO4

The reaction side are both aquas and the product is aquas and a solid precipitate. </span>
7 0
3 years ago
Help please, I’m confused and could you please explain the best you can do I understand? Thank you so much if you decide to help
ElenaW [278]

A ray is basically a line that has a "fixed point" on one end (this would be represented by a shaded circle on one end) and the opposite end goes to infinity (this would be represented by an arrow). The first image below is an example of a ray.

When writing rays out you must write it like in the third image below. Note that there is a "ray" on top of the "letters". The letter that signifies the end point (In the example below this would be "A") is under the side that has NO arrow symbol, and the letter that signifies the continues end is under the side of the ray that HAS the arrow. In other words the "formula" for writing out rays is:

End point; infinite end

We must find four rays with the endpoint E. This means that the "fixed point" must be E and the other end must continue indefinitely.

In the second image below I have colored each ray with the end point E in a different color.

First we have the ray EA (I don't know how to make the ray symbol on here so just assume that above EA the arrow looks like so: --->)

Next is ray EG (again the symbol above EG is --->)

Next is the ray ED (symbol above ED is --->)

Finally EF is a ray with the end point E (symbol above EF is --->)

When looking at the answer choices the only two that even use the correct symbol is B and C.

The issue with option C is that the end point (E) doesn't come first when they wrote it out.

That makes the answer B!

Hope this helped!

~Just a girl in love with Shawn Mendes

~Just a girl in love with Shawn Mendes

4 0
3 years ago
Read 2 more answers
A cartographer wants to create a map of Seattle. He has designed key/legend for the map indicating that 1 cm equals 2 miles. If
VMariaS [17]
Answer:a is the answer I think..........................
6 0
3 years ago
Read 2 more answers
What is the inverse of a cubic function called?
Zigmanuir [339]

Answer:

Función inversa

Step-by-step explanation:

5 0
3 years ago
Read 2 more answers
Which number is an Rational Number?
Irina-Kira [14]
It’s either b, c, or d. but i could be wrong
6 0
2 years ago
Read 2 more answers
Other questions:
  • A system of equations is shown below:
    12·1 answer
  • What is the sum
    14·2 answers
  • Rewrite in simplest radical form <br> 1<br> x<br> −3<br> 6
    15·2 answers
  • Please help me .<br> factor. <br> X^2+10x-75
    7·2 answers
  • -28<br> Altitude<br> change:<br> 1<br> -287 feet in<br> 3<br> 37 seconds
    6·1 answer
  • If x= -3 is one solution of x2 + 9x + 18, what is the other solution?​
    12·1 answer
  • The function f(x) = 1.25x + 12 represents the cost, in dollars, of a large pizza with x toppings. What does the 1.25 represent?
    10·1 answer
  • 6th grade math help me pleaseee
    11·2 answers
  • HELP NEEDED ASAP! I NEED HELP ASAP !! IF YOU ANSWER WITHOUT ACTUALLY ANSWERING AND ONLY FOR POINTS YOU WILL BE REPORTED!!
    8·1 answer
  • Solve each pair of simultaneous equations giving both solutions. You need to multiply both equations by suitable numbers before
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!