不定方程 3x+7y=10000 的通解
Full Solutions
题目详情
求所有整数解 使得 。
所有解可写为 、( 为任意整数),其中 为最小正整数。求 。
Find all pairs of integers such that . All of the solutions can be written in the form and , where is any arbitrary integer and are integers such that is a minimal positive integer. Find .
解析
利用 ,乘以 10000 得一个解 。
通解为
令 ,可改写为
此时 最小正,故 。
Original Explanation
Since and are clearly relatively prime, there must exist a solution to this equation. We note that , so if we multiply by on both sides, , which means is a solution to this equation. By the latter hint, we can write all solutions to this equation in the form .
We now need to reduce this equation so that the integer in front of is as small as possible. We note that , so we note that if , we can rewrite the form of solutions as .
This is the general form where is as small as possible but possible. In particular .