/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} 36E 1.36. Square roots. In this prob... [FREE SOLUTION] | 91影视

91影视

1.36. Square roots. In this problem, we'll see that it is easy to compute square roots modulo a prime pwith p3(mod4).
(a) Suppose p3(mod4). Show that(p+1)/4 is an integer.
(b) We say x is a square root of a modulo p if a=x2(modp). Show that if p3(mod4)and if a has a square root modulo p, thena(p+1)/4 is such a square root.

Short Answer

Expert verified
  1. p+14is showed as integer.
  2. It is proved that, if p3mod4and if a has a square root modulo p, then ap+14is such a square root is depicted.

Step by step solution

01

Step 1: Introduction to the Concept

After one number is divided by another, the modulo operation yields the remainder or signed remainder of the division (called the modulus of the operation).

02

Step 2: Solution Explanation

a)

The following is a representation of the provided equation "p3mod4"

p=3+4k--------1

  • Because "x1modN" is the same as "x=1+kN"
  • It's worth noting that "k" is an integer.

On both sides of the equation (1), add "1".

p+1=4k+3+1p+1=4k+4p+1=4k+1p+14=k+1--------2

"k+1" is also an integer because "k" is an integer. (k+1) equalsp+14 according to equation (2).

As a result,p+14 is an integer.

03

Step 3: Solution Explanation

b)

From Fermat's "Little Theorem",

ap-1=1modp------3

The following equation has been derived based on equation (3):

ap-1=1modpap-1-1=0modp

Multiply "12" by both sides of the above expression's power values.

ap-12-112=0modpap-12-1=0modpap-12-1ap-12+1=0modp

Moving the negative set of valueap-12-1 to the right side of the equation is not a valid solution.

ap-12+1=0ap-12+1modpap-12+1=0modpap-12=-1modp

Thus, the above equation will not satisfy the Fermat's "Little Theorem".

Moving the positive set of value ap-12+1to the right side of the equation as follows,

ap-12-1=0ap-12+1modpap-12-1=0modpap+12-a=0modpap+12=amodp

The equation above demonstrates this ap+12=amodp, and it may be written as follows:

ap+142=amodp.

When you move the square from left to right, it is converted to square root.

ap+14=amodp

When "a" has a square root modulo 鈥ap+14鈥漣s a square root.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with 91影视!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

In the RSA cryptosystem, Alice鈥檚 public key (N,e)is available to everyone. Suppose that her private key d is compromised and becomes known to Eve. Show that e=3if (a common choice) then Eve can efficiently factor N.

Show that any binary integer is at most four times as long as the corresponding decimal integer. For very large numbers, what is the ratio of these two lengths, approximately?

Suppose you want to compute the nth Fibonacci number Fn , modulo an integer p. Can you find an efficient way to do this?

Unlike a decreasing geometric series, the sum of the1,12,13,14,15,..... diverges; that is,i=1n1i=

It turns out that, for large n , the sum of the first n terms of this series can be well approximated as

i=1n1iInn+y

where is natural logarithm (log base e=2.718...) and y is a particular constant 0.57721...... Show that

i=1n1i=(logn)

(Hint: To show an upper bound, decrease each denominator to the next power of two. For a lower bound, increase each denominator to the next power of 2 .)

Quadratic residues. Fix a positive integer N. We say that a is a quadratic residue modulo N ifthere exists a such that ax2modN.
(a) Let N be an odd prime and be a non-zero quadratic residue modulo N. Show that there are exactly two values in{0,1,....,N-1} satisfying x2amodN.
(b) Show that if N is an odd prime, there are exactly(N+1)2 quadratic residues in {0,1,...,N-1}.
(c) Give an example of positive integers a and N such thatx2amodNhas more than two solutions in {0,1,...,N-1}.

See all solutions

Recommended explanations on Computer Science Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.