Блог пользователя NeverSayNever

Автор NeverSayNever, 12 лет назад, По-английски

Jacobi's Two Square Theorem: The number of representations of a positive integer as the sum of two squares is equal to four times the difference of the numbers of divisors congruent to 1 and 3 modulo 4.

I find this on Google , but not able to find any proof . I have brute force it and find that this is correct. Can anyone tell me any proof or whether any test case on which this theorem fails. Really needed please help.

  • Проголосовать: нравится
  • +6
  • Проголосовать: не нравится

»
12 лет назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

Google gives me this on the first page of the results.

»
12 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится +14 Проголосовать: не нравится

There is much more easier proof; let p be a prime in form 4k + 1. Then exists a number x such that x2 =  - 1 (p). For example, satisfies this condition because of Wilson Theorem.

Lets consider numbers of type a + bx, where are a, b integers in range . Obviously there are more than p such numbers, so, by Pigeonhole principle, we can get four numbers a, b, c, d({a, b} ≠ {c, d}) such that a + bx = c + dx (p), so, a - c = x(d - b) (p), then, (a - c)2 =  - (b - d)2 (p), so, (a - c)2 + (b - d)2 = 0 (p).

a, b, c, d are in range , so (a - c)2 + (b - d)2 obviously is between 0 and 2p. It's divisible on p, so, it is exactly equal to p. Theorem is proved.