Sum of squares function

from Wikipedia, the free encyclopedia

The sums of squares function (Engl. Sum of squares function ) is a number theoretic function that specifies how many ways a given natural number as a sum of can be represented squares of integers, all permutations, and sign combinations are counted. It is referred to as .

definition

The first values ​​of r k
n n r 1 (n) r 2 (n) r 3 (n) r 4 (n) r 5 (n) r 6 (n) r 7 (n) r 8 (n)
0 0 1 1 1 1 1 1 1 1
1 1 2 4th 6th 8th 10 12 14th 16
2 2 0 4th 12 24 40 60 84 112
3 3 0 0 8th 32 80 160 280 448
4th 2 2 2 4th 6th 24 90 252 574 1136
5 5 0 8th 24 48 112 312 840 2016
6th 2‧3 0 0 24 96 240 544 1288 3136
7th 7th 0 0 0 64 320 960 2368 5504
8th 2 3 0 4th 12 24 200 1020 3444 9328
9 3 2 2 4th 30th 104 250 876 3542 12112
10 2‧5 0 8th 24 144 560 1560 4424 14112
11 11 0 0 24 96 560 2400 7560 21312
12 2 2 ‧3 0 0 8th 96 400 2080 9240 31808
13 13 0 8th 24 112 560 2040 8456 35168
14th 2‧7 0 0 48 192 800 3264 11088 38528
15th 3‧5 0 0 0 192 960 4160 16576 56448
16 2 4 2 4th 6th 24 730 4092 18494 74864
17th 17th 0 8th 48 144 480 3480 17808 78624
18th 2‧3 2 0 4th 36 312 1240 4380 19740 84784
19th 19th 0 0 24 160 1520 7200 27720 109760
20th 2 2 ‧5 0 8th 24 144 752 6552 34440 143136

The function is defined as

,

d. H. as the number of possible representations of as the sum of squares of whole numbers with . Be it .

For example , because there is always 2 sign combinations, and also because of 4 sign combinations. On the other hand, it is because there is no representation of the number 3 as the sum of 2 squares.

The relationship immediately follows from the definition

from which a recursion formula for efficient calculation can be derived:

Average order of magnitude

Be it

.

This is clearly the number of (integer) grid points in a -dimensional sphere with the radius and therefore approximately equal to the sphere volume. More precisely, it can be derived recursively

,

where the constants are the volumes of the -dimensional unit spheres: and is the Landau symbol .

The average order of magnitude of is thus , e.g. B. that of .

Generating function

The generating function is obtained as the power of the Jacobian theta function for the special case . This is true

One gets from it

Special cases

Values ​​and average order of magnitude of r 2 (n)
Values ​​and average order of magnitude of r 4 (n)
Values ​​and average order of magnitude of r 8 (n)

Simple formulas result for straight lines , e.g. B. ( ):

The following applies to:

With the help of prime factorization , where the prime factors are the form and the prime factors are the form , another formula results

,

when all exponents are even. If at least one is odd, then is . By definition, the number of all Gaussian numbers is also with the norm .

The formula for comes from Carl Gustav Jacob Jacobi and is given as the eightfold sum of all factors that are not divisible by 4 ( Jacobi's theorem ):

is also the number of all Lipschitz quaternions with the norm .

Jacobi also found an explicit formula for :

Relationship to the Sierpiński constant

The Limes

exists and is called (after Wacław Sierpiński ) the Sierpiński constant . This can be expressed by the number of circles , the Euler-Mascheroni constant and the gamma function :

See also

Web links

Individual evidence

  1. E. Krätzel: Number theory . VEB Deutscher Verlag der Wissenschaften, Berlin 1981, p. 165 .
  2. E. Krätzel: Number theory . VEB Deutscher Verlag der Wissenschaften, Berlin 1981, p. 197 .