主题
Search

丢番图方程


丢番图方程是只允许整数解的方程。

希尔伯特第十问题询问是否存在一种算法来确定任意丢番图方程是否有解。对于一阶丢番图方程的解,这样的算法确实存在。然而,尤里·马季亚谢维奇在 1970 年证明了获得通解是不可能的 (Matiyasevich 1970, Davis 1973, Davis and Hersh 1973, Davis 1982, Matiyasevich 1993),他通过证明关系式 n=F_(2m) (其中 F_(2m) 是第 (2m)斐波那契数) 是丢番图式的。更具体地说,马季亚谢维奇证明存在一个关于 Pnm 和一些其他变量 xyz、... 的多项式 P,其性质是 n=F_(2m) 当且仅当 存在整数 xyz、... 使得 P(n,m,x,y,z,...)=0

马季亚谢维奇的结果填补了马丁·戴维斯、希拉里·普特南和朱莉娅·罗宾逊先前工作中的一个关键空白。马季亚谢维奇和罗宾逊随后的工作证明,即使对于包含十三个变量的方程,也不可能存在确定是否存在解的算法。马季亚谢维奇随后将此结果改进为仅包含九个变量的方程 (Jones and Matiyasevich 1982)。

奥格威和安德森 (1988) 给出了一些具有已知和未知解的丢番图方程。

线性丢番图方程(在两个变量中)是以下一般形式的方程

 ax+by=c,
(1)

其中解是在 abc整数的情况下寻求的。这类方程可以完全求解,第一个已知的解是由婆罗摩笈多构造的。考虑方程

 ax+by=1.
(2)

现在使用欧几里得算法的变体,令 a=r_1b=r_2

r_1=q_1r_2+r_3
(3)
r_2=q_2r_3+r_4
(4)
r_(n-3)=q_(n-3)r_(n-2)+r_(n-1)
(5)
r_(n-2)=q_(n-2)r_(n-1)+1.
(6)

从底部开始得到

1=r_(n-2)-q_(n-2)r_(n-1)
(7)
r_(n-1)=r_(n-3)-q_(n-3)r_(n-2),
(8)

因此

1=r_(n-2)-q_(n-2)(r_(n-3)-q_(n-3)r_(n-2))
(9)
=-q_(n-2)r_(n-3)+(1+q_(n-2)q_(n-3))r_(n-2).
(10)

将此过程一直继续回到顶部。

以方程为例

 1027x+712y=1
(11)

并应用上述算法得到

  1027 = 712·  1+  315;  712 = 315·  2+  82;  315 = 82·  3+  69;  82 = 69·  1+  13;  69 = 13·  5+  4;  13 = 4·  3+  1;    |; |; |; |; |; v;     1= -165·  1027+  238·  712; 1= 73·  712-  165·  315; 1= -19·  315+  73·  82; 1= 16·  82-  19·  69; 1= -3·  69+  16·  13; 1= 1·  13-  3·  4; 1= 0·  4+  1·  1^; |; |; |; |; |; |
(12)

因此解为 x=-165y=238

上述过程可以简化,注意到最左边的两列偏移一个条目并且符号交替,因为它们必须如此,因为

1=-A_(i+1)r_i+A_ir_(i+1)
(13)
r_(i+1)=r_(i-1)-r_iq_(i-1)
(14)
1=A_ir_(i-1)-(A_iq_(i-1)+A_(i+1)),
(15)

因此 r_(i-1)r_(i+1) 的系数相同,并且

 A_(i-1)=-(A_iq_(i-1)+A_(i+1)).
(16)

因此,使用此信息重复上述示例得到

  1027 = 712·  1+  315;  712 = 315·  2+  82;  315 = 82·  3+  69;  82 = 69·  1+  13;  69 = 13·  5+  4;  13 = 4·  3+  1;    |; |; |; |; |; v;     (-)  165·  1+  73 = 238; (+)  73·  2+  19 = 165; (-)  19·  3+  16 = 73; (+)  16·  1+  3 = 19; (-)  3·  5+  1 = 16; (+)  1·  3+  0 = 3; (-)  0·  1+  1 = 1^; |; |; |; |; |; |
(17)

并且我们恢复了上述解。

称以下方程的解为

 ax+by=1
(18)

x_0y_0。如果 axby 前面的符号为,则解上述方程并从下表获取解的符号

方程xy
ax+by=1x_0y_0
ax-by=1x_0-y_0
-ax+by=1-x_0y_0
-ax-by=1-x_0-y_0

事实上,方程的解

 ax-by=1
(19)

等价于找到 a/b连分数,其中 ab 互质 (Olds 1963)。如果分数中有 n 项,则取第 (n-1) 个收敛项 p_(n-1)/q_(n-1)。但是

 p_nq_(n-1)-p_(n-1)q_n=(-1)^n,
(20)

因此一个解是 x_0=(-1)^nq_(n-1)y_0=(-1)^np_(n-1),通解为

x=x_0+kb
(21)
y=y_0+ka
(22)

其中 k 是任意整数。用最小正整数表示的解是通过选择适当的 k 给出的。

现在考虑以下形式的一般一阶方程

 ax+by=c.
(23)

最大公约数 d=GCD(a,b) 可以除以得到

 a^'x+b^'y=c^',
(24)

其中 a^'=a/db^'=b/d,且 c^'=c/d。如果 dc,则 c^' 不是整数,并且该方程不可能有整数解。因此,一般一阶方程有整数解的充要条件是 d|c。如果是这种情况,则解

 a^'x+b^'y=1
(25)

并将解乘以 c^',因为

 a^'(c^'x)+b^'(c^'y)=c^'.
(26)

D. 威尔逊编制了一个正整数的最小第 n的列表,这些正整数是不同较小正整数的第 n之和。前几个是 3、5、6、15、12、25、40,...(OEIS A030052)

3^1=1^1+2^1
(27)
5^2=3^2+4^2
(28)
6^3=3^3+4^3+5^3
(29)
15^4=4^4+6^4+8^4+9^4+14^4
(30)
12^5=4^5+5^5+6^5+7^5+9^5+11^5
(31)
25^6=1^6+2^6+3^6+5^6+6^6+7^6+8^6+9^6+10^6+12^6+13^6+15^6+16^6+17^6+18^6+23^6
(32)
40^7=1^7+3^7+5^7+9^7+12^7+14^7+16^7+17^7+18^7+20^7+21^7+22^7+25^7+28^7+39^7
(33)
84^8=1^8+2^8+3^8+5^8+7^8+9^8+10^8+11^8+12^8+13^8+14^8+15^8+16^8+17^8+18^8+19^8+21^8+23^8+24^8+25^8+26^8+27^8+29^8+32^8+33^8+35^8+37^8+38^8+39^8+41^8+42^8+43^8+45^8+46^8+47^8+48^8+49^8+51^8+52^8+53^8+57^8+58^8+59^8+61^8+63^8+69^8+73^8
(34)
47^9=1^9+2^9+4^9+7^9+11^9+14^9+15^9+18^9+26^9+27^9+30^9+31^9+32^9+33^9+36^9+38^9+39^9+43^9
(35)
63^(10)=1^(10)+2^(10)+4^(10)+5^(10)+6^(10)+8^(10)+12^(10)+15^(10)+16^(10)+17^(10)+20^(10)+21^(10)+25^(10)+26^(10)+27^(10)+28^(10)+30^(10)+36^(10)+37^(10)+38^(10)+40^(10)+51^(10)+62^(10).
(36)

另请参阅

abc 猜想, 阿基米德牛群问题, 巴歇方程, 婆罗摩笈多问题, 炮弹问题, 卡塔兰猜想, 丢番图, 丢番图方程——2 次幂 丢番图方程——3 次幂, 丢番图方程——4 次幂, 丢番图方程——5 次幂 丢番图方程——6 次幂, 丢番图方程——7 次幂, 丢番图方程——8 次幂, 丢番图方程——9 次幂, 丢番图方程——10 次幂, 丢番图方程——n 次幂, 丢番图性质, 欧拉砖块, 欧拉四次猜想, 费马最后定理, 费马椭圆曲线定理, 亏格定理, 赫尔维茨方程, 马尔可夫数, 猴子与椰子问题, 多次方程组, p-adic 数, 佩尔方程, 毕达哥拉斯四元组, 毕达哥拉斯三元组, 有理距离问题, 图厄方程 在 MathWorld 课堂中探索此主题

使用 Wolfram|Alpha 探索

参考文献

Alpern, D. "Sums of Powers." http://www.alpertron.com.ar/SUMPOWER.HTM.Bashmakova, I. G. Diophantus and Diophantine Equations. Washington, DC: Math. Assoc. Amer., 1997.Beiler, A. H. Recreations in the Theory of Numbers: The Queen of Mathematics Entertains. New York: Dover, 1966.Carmichael, R. D. The Theory of Numbers, and Diophantine Analysis. New York: Dover, 1959.Courant, R. and Robbins, H. "Continued Fractions. Diophantine Equations." §2.4 in Supplement to Ch. 1 in What Is Mathematics?: An Elementary Approach to Ideas and Methods, 2nd ed. Oxford, England: Oxford University Press, pp. 49-51, 1996.Davis, M. "Hilbert's Tenth Problem is Unsolvable." Amer. Math. Monthly 80, 233-269, 1973.Davis, M. and Hersh, R. "Hilbert's 10th Problem." Sci. Amer. 229, 84-91, Nov. 1973.Davis, M. "Hilbert's Tenth Problem is Unsolvable." Appendix 2 in Computability and Unsolvability. New York: Dover, 1999-235, 1982.Dickson, L. E. "Linear Diophantine Equations and Congruences." Ch. 2 in History of the Theory of Numbers, Vol. 2: Diophantine Analysis. New York: Dover, pp. 41-99, 2005.dmoz. "Equal Sums of Like Powers." http://dmoz.org/Science/Math/Number_Theory/Diophantine_Equations/Equal_Sums_of_Like_Powers/.Dörrie, H. "The Fermat-Gauss Impossibility Theorem." §21 in 100 Great Problems of Elementary Mathematics: Their History and Solutions. New York: Dover, pp. 96-104, 1965.Ekl, R. L. "New Results in Equal Sums of Like Powers." Math. Comput. 67, 1309-1315, 1998.Guy, R. K. "Diophantine Equations." Ch. D in Unsolved Problems in Number Theory, 2nd ed. New York: Springer-Verlag, pp. 139-198, 1994.Hardy, G. H. and Wright, E. M. An Introduction to the Theory of Numbers, 5th ed. Oxford, England: Clarendon Press, 1979.Hunter, J. A. H. and Madachy, J. S. "Diophantos and All That." Ch. 6 in Mathematical Diversions. New York: Dover, pp. 52-64, 1975.Ireland, K. and Rosen, M. "Diophantine Equations." Ch. 17 in A Classical Introduction to Modern Number Theory, 2nd ed. New York: Springer-Verlag, pp. 269-296, 1990.Jones, J. P. and Matiyasevich, Yu. V. "Exponential Diophantine Representation of Recursively Enumerable Sets." Proceedings of the Herbrand Symposium, Marseilles, 1981. Amsterdam, Netherlands: North-Holland, pp. 159-177, 1982.Lang, S. Introduction to Diophantine Approximations, 2nd ed. New York: Springer-Verlag, 1995.Matiyasevich, Yu. V. "Solution of the Tenth Problem of Hilbert." Mat. Lapok 21, 83-87, 1970.Matiyasevich, Yu. V. Hilbert's Tenth Problem. Cambridge, MA: MIT Press, 1993. http://www.informatik.uni-stuttgart.de/ifi/ti/personen/Matiyasevich/H10Pbook/.Meyrignac, J.-C. "Computing Minimal Equal Sums of Like Powers." http://euler.free.fr/.Mordell, L. J. Diophantine Equations. New York: Academic Press, 1969.Nagell, T. "Diophantine Equations of First Degree." §10 in Introduction to Number Theory. New York: Wiley, pp. 29-32, 1951.Ogilvy, C. S. and Anderson, J. T. "Diophantine Equations." Ch. 6 in Excursions in Number Theory. New York: Dover, pp. 65-83, 1988.Olds, C. D. Ch. 2 in Continued Fractions. New York: Random House, 1963.Sloane, N. J. A. Sequence A030052 in "The On-Line Encyclopedia of Integer Sequences."Weisstein, E. W. "Books about Diophantine Equations." http://www.ericweisstein.com/encyclopedias/books/DiophantineEquations.html.

在 Wolfram|Alpha 上被引用

丢番图方程

请引用为

Weisstein, Eric W. "丢番图方程。" 来自 MathWorld--Wolfram Web 资源。 https://mathworld.net.cn/DiophantineEquation.html

学科分类