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
Suppose you have $15,000 in equipment for your business. You expect
Margarita [4]
I am stuck on this too
6 0
3 years ago
Oliver deposited $1,640.70 in a savings account that earns 2.6% simple interest. What will Oliver's account balance be in 8 mont
Evgesh-ka [11]
The answer would probably be the last one cuz it’s true and it has more then one thing
8 0
3 years ago
Find the length of the arc of the circular helix with vector equation r(t) = 2 cos t i + 2 sin t j + tk from the point (2, 0, 0)
USPshnik [31]

\vec r(t)=2\cos t\,\vec\imath+2\sin t\,\vec\jmath+t\,\vec k

\implies\vec r'(t)=-2\sin t\,\vec\imath+2\cos t\,\vec\jmath+\vec k

\implies\|\vec r'(t)\|=\sqrt{(-2\sin t)^2+(2\cos t)^2+1^2}=\sqrt5

Then the length of the arc is

\displaystyle\int_0^{2\pi}\|\vec r'(t)\|\,\mathrm dt=\sqrt5\int_0^{2\pi}\mathrm dt=2\sqrt5\,\pi

4 0
3 years ago
how to make a 89 inch snow man with a three balls of snow at the top piece 3 pieces 8 inches 3 inches and 7.09 inches now with a
oksano4ka [1.4K]
The answer is 112.09 i added 89+3+3+8+2=105+7.09=112.09
4 0
3 years ago
Solve for the unknown variable 2/5(3x-4)=-4
Elanso [62]

Answer:

x = -2

Step-by-step explanation:

Solve for x:

(2 (3 x - 4))/5 = -4

Multiply both sides of (2 (3 x - 4))/5 = -4 by 5/2:

(5×2 (3 x - 4))/(2×5) = -4×5/2

5/2×2/5 = (5×2)/(2×5):

(5×2)/(2×5) (3 x - 4) = -4×5/2

5/2 (-4) = (5 (-4))/2:

(5×2 (3 x - 4))/(2×5) = (-4×5)/2

(5×2 (3 x - 4))/(2×5) = (2×5)/(2×5)×(3 x - 4) = 3 x - 4:

3 x - 4 = (-4×5)/2

(-4)/2 = (2 (-2))/2 = -2:

3 x - 4 = 5×-2

5 (-2) = -10:

3 x - 4 = -10

Add 4 to both sides:

3 x + (4 - 4) = 4 - 10

4 - 4 = 0:

3 x = 4 - 10

4 - 10 = -6:

3 x = -6

Divide both sides of 3 x = -6 by 3:

(3 x)/3 = (-6)/3

3/3 = 1:

x = (-6)/3

The gcd of -6 and 3 is 3, so (-6)/3 = (3 (-2))/(3×1) = 3/3×-2 = -2:

Answer:  x = -2

6 0
3 years ago
Read 2 more answers
Other questions:
  • A circle has a circumference of 120 meters. What is the measure of its radius? Round to the nearest tenth.
    9·2 answers
  • PLEASE HELP<br> THANK YOU
    6·1 answer
  • What is the value of n in the equation<br> 1/2(n-1) - 3 = 3 - (2n + 3)?
    5·1 answer
  • What is the surface area and volume of this prism?
    6·2 answers
  • A grocery store is making fruit baskets using 144 apples, 108 oranges, and 90 pears. Each basket will be identical. What is the
    11·2 answers
  • 178·37−37·78 <br> Plz find in binary<br> If not able: Say no solution.
    5·1 answer
  • Can someone answer this?
    11·1 answer
  • How do you find a fraction between 1 4/6 and 1 5/6? ILL GIVE BRAINLEST
    12·2 answers
  • Solve this equation -2x + 8 = 22
    10·1 answer
  • Jasmin rakes at two different houses. it takes her 2 1/3 hours to rake leaves at the first. it takes her 1/2 of that time to rak
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!