Mas210 HW1
Mas210 HW1
Instructions.
• This assignment is due on 12th March (Wednesday) at 12pm (noon).
본 과제 제출기한은 3월 12일 수요일 오후 12시(정오)입니다.
• Please submit a soft copy via KLMS. A scanned copy is acceptable, provided
that it is clearly legible. If you choose to TEX your solutions, please submit
both the .tex and .pdf files for plagiarism checks.
KLMS 과제를 통하여 답안을 업로드해 주시기 바랍니다. (글씨를 명확히 식별
할 수 있는) 스캔 파일을 제출하실 수 있고, 또한 TEX을 사용하여 답안을 작
성하고 싶으시다면 표절 체크를 위하여 .tex 파일과 .pdf 파일을 같이 제출해
주시기 바랍니다.
• Please show all the intermediate steps and computations.
중간과정 및 계산을 모두 보여주시기 바랍니다.
2. For each integer triple (a, b, c) below, (a) compute gcd(a, b) by Euclid’s algorithm,
(b) determine if aX + bY = c has an integer solution, and (c) determine all integer
solutions of aX + bY = c if there exist. (Please show your work. You do not need to
simplify the final answer.)
(1) a = 70, b = 21, c = 14.
(2) a = 395, b = 72, c = 1.
(3) a = 2021, b = 361, c = gcd(a, b).
Note that this notion is consistent with the usual definition of gcd when n = 2.
1
2 INSTRUCTOR: WANSU KIM