AMC 10 · 2006 · #22

Grade 7 arithmetic
linear-diophantinegcdprime-factorization convert-to-algebra ↑ Prerequisites: linear-diophantinegcd
📏 Long solution 💡 3 insights
Problem

Two farmers agree that pigs are worth 300300 dollars and that goats are worth 210210 dollars. When one farmer owes the other money, he pays the debt in pigs or goats, with "change" received in the form of goats or pigs as necessary. (For example, a 390390 dollar debt could be paid with two pigs, with one goat received in change.) What is the amount of the smallest positive debt that can be resolved in this way?

Pick an answer.

(A)
5
(B)
10
(C)
30
(D)
90
(E)
210

AMC 10 2006 problem © Mathematical Association of America (MAA AMC). Reproduced for educational use.

Try it yourself first — the explanation is most useful after you’ve attempted it.