Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

show that we can easily factor when we know that n is the product of two primes, p and q, and we know the value of (p1)(q1)

Short Answer

Expert verified

Since we know nandrole="math" localid="1668667931552" (p1)(q1), we can determine x=p+qand then pcan be determined using the quadratic formula to solve p2xp+n=0, while qcan then be obtained usingn=pq

Step by step solution

01

Step 1

Let us assume thatn is a positive integer that is the product of two primes pandq

n=pq

We have also been given the value of (p1)(q1)

(p1)(q1)=pqpq+1=npq+1=n(p+q)+1

However, we know both andand thus we can calculatep+q as

p+q=((p1)(q1)n1)=n+1(p1)(q1)

02

Step 2

Let x=p+q. we then note p=xq or equivalently n=pq=xpp2. However, thus then implies that the following equation needs to hold .

p2xp+n=0

We can then determine the root pusing the quadratic formula and we then useq=n/p to determine q (oncep is known).

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 Vaia!

One App. One Place for Learning.

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

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free