For faster navigation, this Iframe is preloading the Wikiwand page for 四平方和定理.

四平方和定理

此條目没有列出任何参考或来源。 (2019年7月14日)維基百科所有的內容都應該可供查證。请协助補充可靠来源改善这篇条目。无法查证的內容可能會因為異議提出而被移除。

四平方和定理 (英語:Lagrange's four-square theorem) 說明每个正整数均可表示为4个整数平方和。它是費馬多邊形數定理華林問題的特例。

历史

根据上述欧拉恒等式或四元數的概念可知如果正整数能表示为4个整数的平方和,则其乘积也能表示为4个整数的平方和。于是为证明原命题只需证明每个素数可以表示成4个整数的平方和即可。

  • 1751年,欧拉又得到了另一个一般的结果。即对任意素数 p,同余方程

必有一组整数解x,y满足(引理一)

至此,证明四平方和定理所需的全部引理已经全部证明完毕。此后,拉格朗日和欧拉分别在1770年和1773年作出最后的证明。

證明

根據上面的四平方和恆等式及算術基本定理,可知只需證明質數可以表示成四个整数的平方和即可。

,因此只需證明奇質數可以表示成四个整数的平方和。

根據引理一,奇質數必有正倍數可以表示成四个整数的平方和。在這些倍數中,必存在一個最小的。設該數為。又從引理一可知

證明不會是偶數

是偶數,且。由奇偶性可得知必有兩個數或四個數的奇偶性相同。不失一般性設的奇偶性相同,的奇偶性相同,均為偶數,可得出公式:

,與是最小的正整數使得的假設可以表示成四个整数的平方和不符。

證明

現在用反證法證明。設

  • 不可整除的最大公因數,否則可整除,則得的因數,但且p為質數,矛盾。

故存在不全為零、絕對值小於(注意是奇數在此的重要性)整數的使得

可得 ,其中是正整數且小於

  • 下面證明可以表示成四个整数的平方和,從而推翻假設。

,根据四平方和恆等式可知的倍數,令

矛盾。

引理一的證明

的剩餘兩個一組的分開,可得出組,分別為。 將模二次剩餘個,分別為

是模的二次剩餘,選取使得,則,定理得證。

不屬於模的二次剩餘,則剩下組,分別為,而模的二次剩餘仍有個,由於 ,根據抽屜原理,存在

{{bottomLinkPreText}} {{bottomLinkText}}
四平方和定理
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?