MATH135 Lecture 2: Example on LDE

48 views2 pages
leensy188 and 36637 others unlocked
MATH135 Full Course Notes
40
MATH135 Full Course Notes
Verified Note
40 documents

Document Summary

Here is a brainteaser from the waterloo county almanac, circa 1930: Neither of them has cash, but joe has 14 cows which he values at each. He would like to pay his debt in cows, with jane making change by giving joe some of her pigs valued at each. Is the deal possible, and in how many ways? (the example is taken from elementary number theory by charles vanden eynden. ) Let x the number of cows joe pays, y the number of pigs jane returns as change. Then 0 x 14 and y 0, and, to keep our discussion family-friendly, we shall restrict x and y to be integers. This is a linear diophantine equation (with a 185, b 110 and c 10). Let"s begin by solving ( ) for its general solution. We apply the extended euclidean algorithm to nd d gcd a, bq gcd 185, 110q gcd 185, 110q.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related textbook solutions

Related Documents

Related Questions