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

Let n be a positive integer. Prove that a andc leave the same remainder when divided by n if and only if a-c=nk for some integerk.

Short Answer

Expert verified

It is proved that a and c leave the same remainder when divided by n if and only if a-c=nk for some integer k.

Step by step solution

01

The Division Algorithm

Theorem 1.1 states that consider a,b as an integer with b>0. Then q and r areunique integersin which role="math" localid="1646107310480" a=bq+rand 0rb.

Theorem 1.1 permits for a negative dividend a. However, the remainder r should not only be less than the divisor b, and it also should be nonnegative.

02

Show that a and c  leave the same remainder when divided by n if and only if a-c=nk for some integer k

Assume that a=nk+r with 0rn and 0=nq'+r'with 0<r<n'.

When r=r' then role="math" localid="1646107800141" a-0=nq-q' and k=q-q' would be an integer.

In that case a-0=nk, substitute for determining r-r'=nk-q+q'.

Assume rr'(as in the other case). The inequalities indicate that 0r-r'<n , and it concludes that 0k-q+q'<1 and implies that k-q+q'. Thus, r-r' and therefore, r=r' is obtained.

Hence, it is proved that a and c leave the same remainder when divided by n if and only if a-c=nk for some integer k.

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