Lagrange's four-square theorem

Lagrange's four-square theorem

(http://en.wikipedia.org/wiki/Lagrange%27s_four-square_theorem)

Lagrange's four-square theorem, also known as Bachet's conjecture, was proven in 1770 by Joseph Louis Lagrange. An earlier proof by Fermat was never published.

The theorem appears in the Arithmetica of Diophantus, translated into Latin by Bachet in 1621. It states that every positive integer can be expressed as the sum of four squares of integers. For example,

3 = 1 2 + 1 2 + 1 2 + 0 2
31 = 5 2 + 2 2 + 1 2 + 1 2
310 = 17 2 + 4 2 + 2 2 + 1 2.

More formally, for every positive integer n there exist integers x1, x2, x3, x4 such that

n = x 1 2 + x 2 2 + x 3 2 + x 4 2.

Adrien-Marie Legendre improved on the theorem in 1798 by stating that a positive integer can be expressed as the sum of three squares if and only if it is not of the form 4k(8m + 7). His proof was incomplete, leaving a gap which was later filled by Carl Friedrich Gauss.

Lagrange's four-square theorem is a special case of the Fermat polygonal number theorem and Waring's problem.

 

 

Euler's four-square identity

(http://en.wikipedia.org/wiki/Euler%27s_four-square_identity)

 

In mathematics, Euler's four-square identity says that the product of two numbers, each of which being a sum of four squares, is itself a sum of four squares. Specifically:

Euler wrote about this identity in a letter dated May 4, 1748 to Goldbach[1][2] (but note that he used a different sign convention from the above). It can be proven with elementary algebra and holds in every commutative ring. If the ak and bk are real numbers, a more elegant proof is available: the identity expresses the fact that the absolute value of the product of two quaternions is equal to the product of their absolute values, in the same way that the Brahmagupta-Fibonacci two-square identity does for complex numbers.

The sign convention used above corresponds to the signs obtained by multiplying two quaternions. Other sign conventions can be obtained by changing any ak to ak, bk to bk, or by changing the signs inside any of the squared terms on the right hand side. For example, changing a1 to a1, b1 to b1, and changing the signs of the second, third, and fourth terms on the right hand side yields the alternate form:

The identity was used by Lagrange to prove his four square theorem. More specifically, it allows the theorem to be proven only for prime numbers.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值