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

Prove that a,b=1if and only if there is no prime psuch thatp|a and p|b.

Short Answer

Expert verified

It is proved thata,b=1 if and only if there is no prime psuch that p|aand p|b.

Step by step solution

01

Necessary condition

Assume there are two integers, aand b;theirgcd will be 1 if there is no prime such that p|aand p|b.

Now, take a,b=1.Then there exists any prime such that the common divisor of aand bis p, where , which contradicts the greatest common divisor is 1. Hence, there is no primep with p|aand p|b.

02

Sufficient condition

Now assume that there is no prime psuch that p|aand p|b. Then for any two integers aand b, a,b1. Let a,b=d.

Now, using the fundamental theorem of arithmetic, dis the product of primes. Then pwill be a factor of d. Since d|aandd|b,then p|aand p|bthat are contradictionsto the assumption, so the value of dshould be 1.

Hence, it is proved that a,b=1if and only if there is no prime psuch that p|aand p|b.

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