Utente:Grasso Luigi/sandbox4/Funzione di partizione

The values of the partition function (1, 2, 3, 5, 7, 11, 15, and 22) can be determined by counting the Young diagrams for the partitions of the numbers from 1 to 8.

In number theory, the partition function Template:Math represents the number of possible partitions of a non-negative integer Template:Mvar. For instance, Template:Math because the integer 4 has the five partitions Template:Math, Template:Math, Template:Math, Template:Math, and Template:Math.

No closed-form expression for the partition function is known, but it has both asymptotic expansions that accurately approximate it and recurrence relations by which it can be calculated exactly. It grows as an exponential function of the square root of its argument. The multiplicative inverse of its generating function is the Euler function; by Euler's pentagonal number theorem this function is an alternating sum of pentagonal number powers of its argument.

Srinivasa Ramanujan first discovered that the partition function has nontrivial patterns in modular arithmetic, now known as Ramanujan's congruences. For instance, whenever the decimal representation of Template:Mvar ends in the digit 4 or 9, the number of partitions of Template:Mvar will be divisible by 5.

Definition and examples

modifica

For a positive integer Template:Math, Template:Math is the number of distinct ways of representing Template:Mvar as a sum of positive integers. For the purposes of this definition, the order of the terms in the sum is irrelevant: two sums with the same terms in a different order are not considered to be distinct.

By convention Template:Math, as there is one way (the empty sum) of representing zero as a sum of positive integers. Furthermore Template:Math when Template:Mvar is negative.

The first few values of the partition function, starting with Template:Math, are: Template:Block indent

Some exact values of Template:Math for larger values of Template:Mvar include:Template:R

 

Template:As of, the largest known prime number among the values of Template:Math is Template:Math, with 40,000 decimal digits.Template:R[1] Until March 2022, this was also the largest prime that has been proved using elliptic curve primality proving.[2]

Generating function

modifica
 
Using Euler's method to find Template:Math: A ruler with plus and minus signs (grey box) is slid downwards, the relevant terms added or subtracted. The positions of the signs are given by differences of alternating natural (blue) and odd (orange) numbers. In the SVG file, hover over the image to move the ruler.
  Lo stesso argomento in dettaglio: Pentagonal number theorem.

The generating function for p(n) is given byTemplate:R

 
The equality between the products on the first and second lines of this formula is obtained by expanding each factor   into the geometric series   To see that the expanded product equals the sum on the first line, apply the distributive law to the product. This expands the product into a sum of monomials of the form   for some sequence of coefficients  , only finitely many of which can be non-zero. The exponent of the term is  , and this sum can be interpreted as a representation of   as a partition into   copies of each number  . Therefore, the number of terms of the product that have exponent   is exactly  , the same as the coefficient of   in the sum on the left. Therefore, the sum equals the product.

The function that appears in the denominator in the third and fourth lines of the formula is the Euler function. The equality between the product on the first line and the formulas in the third and fourth lines is Euler's pentagonal number theorem. The exponents of   in these lines are the pentagonal numbers   for   (generalized somewhat from the usual pentagonal numbers, which come from the same formula for the positive values of  ). The pattern of positive and negative signs in the third line comes from the term   in the fourth line: even choices of   produce positive terms, and odd choices produce negative terms.

More generally, the generating function for the partitions of   into numbers selected from a set   of positive integers can be found by taking only those terms in the first product for which  . This result is due to Leonhard Euler.Template:R The formulation of Euler's generating function is a special case of a  -Pochhammer symbol and is similar to the product formulation of many modular forms, and specifically the Dedekind eta function.

Recurrence relations

modifica

The same sequence of pentagonal numbers appears in a recurrence relation for the partition function:Template:R

 
As base cases,   is taken to equal  , and   is taken to be zero for negative  . Although the sum on the right side appears infinite, it has only finitely many nonzero terms, coming from the nonzero values of   in the range
 

Another recurrence relation for   can be given in terms of the sum of divisors function Template:Math:Template:R

 
If   denotes the number of partitions of   with no repeated parts then it follows by splitting each partition into its even parts and odd parts, and dividing the even parts by two, thatTemplate:R
 

Congruences

modifica
  Lo stesso argomento in dettaglio: Ramanujan's congruences.

Srinivasa Ramanujan is credited with discovering that the partition function has nontrivial patterns in modular arithmetic. For instance the number of partitions is divisible by five whenever the decimal representation of   ends in the digit 4 or 9, as expressed by the congruenceTemplate:R

 
For instance, the number of partitions for the integer 4 is 5. For the integer 9, the number of partitions is 30; for 14 there are 135 partitions. This congruence is implied by the more general identity
 
also by Ramanujan,Template:R where the notation   denotes the product defined by
 
A short proof of this result can be obtained from the partition function generating function.

Ramanujan also discovered congruences modulo 7 and 11:Template:R

 
The first one comes from Ramanujan's identityTemplate:R
 

Since 5, 7, and 11 are consecutive primes, one might think that there would be an analogous congruence for the next prime 13,   for some Template:Mvar. However, there is no congruence of the form   for any prime b other than 5, 7, or 11.Template:R Instead, to obtain a congruence, the argument of   should take the form   for some  . In the 1960s, A. O. L. Atkin of the University of Illinois at Chicago discovered additional congruences of this form for small prime moduli. For example:

 

Template:Harvs proved that there are such congruences for every prime modulus greater than 3. Later, Template:Harvtxt showed there are partition congruences modulo every integer coprime to 6.Template:R

Approximation formulas

modifica

Approximation formulas exist that are faster to calculate than the exact formula given above.

An asymptotic expression for p(n) is given by

  as  .

This asymptotic formula was first obtained by G. H. Hardy and Ramanujan in 1918 and independently by J. V. Uspensky in 1920. Considering  , the asymptotic formula gives about  , reasonably close to the exact answer given above (1.415% larger than the true value).

Hardy and Ramanujan obtained an asymptotic expansion with this approximation as the first term:Template:R

 
where
 
Here, the notation   means that the sum is taken only over the values of   that are relatively prime to  . The function   is a Dedekind sum.

The error after   terms is of the order of the next term, and   may be taken to be of the order of  . As an example, Hardy and Ramanujan showed that   is the nearest integer to the sum of the first   terms of the series.Template:R

In 1937, Hans Rademacher was able to improve on Hardy and Ramanujan's results by providing a convergent series expression for  . It isTemplate:R

 

The proof of Rademacher's formula involves Ford circles, Farey sequences, modular symmetry and the Dedekind eta function.

It may be shown that the  th term of Rademacher's series is of the order

 
so that the first term gives the Hardy–Ramanujan asymptotic approximation. Template:Harvs published an elementary proof of the asymptotic formula for  .Template:R

Techniques for implementing the Hardy–Ramanujan–Rademacher formula efficiently on a computer are discussed by Template:Harvtxt, who shows that   can be computed in time   for any  . This is near-optimal in that it matches the number of digits of the result.Template:R The largest value of the partition function computed exactly is  , which has slightly more than 11 billion digits.Template:R

Strict partition function

modifica

Definition and properties

modifica

A partition in which no part occurs more than once is called strict, or is said to be a partition into distinct parts. The function q(n) gives the number of these strict partitions of the given sum n. For example, q(3) = 2 because the partitions 3 and 1 + 2 are strict, while the third partition 1 + 1 + 1 of 3 has repeated parts. The number q(n) is also equal to the number of partitions of n in which only odd summands are permitted.[3]

Example values of q(n) and associated partitions
n q(n) Strict partitions Partitions with only odd parts
0 1 () empty partition () empty partition
1 1 1 1
2 1 2 1+1
3 2 1+2, 3 1+1+1, 3
4 2 1+3, 4 1+1+1+1, 1+3
5 3 2+3, 1+4, 5 1+1+1+1+1, 1+1+3, 5
6 4 1+2+3, 2+4, 1+5, 6 1+1+1+1+1+1, 1+1+1+3, 3+3, 1+5
7 5 1+2+4, 3+4, 2+5, 1+6, 7 1+1+1+1+1+1+1, 1+1+1+1+3, 1+3+3, 1+1+5, 7
8 6 1+3+4, 1+2+5, 3+5, 2+6, 1+7, 8 1+1+1+1+1+1+1+1, 1+1+1+1+1+3, 1+1+3+3, 1+1+1+5, 3+5, 1+7
9 8 2+3+4, 1+3+5, 4+5, 1+2+6, 3+6, 2+7, 1+8, 9 1+1+1+1+1+1+1+1+1, 1+1+1+1+1+1+3, 1+1+1+3+3, 3+3+3, 1+1+1+1+5, 1+3+5, 1+1+7, 9

Generating function

modifica

The generating function for the numbers q(n) is given by a simple infinite product:[4]

 
where the notation   represents the Pochhammer symbol   From this formula, one may easily obtain the first few terms (EN) Sequenza A000009, su On-Line Encyclopedia of Integer Sequences, The OEIS Foundation.:
 
This series may also be written in terms of theta functions as
 
where
 
and
 
In comparison, the generating function of the regular partition numbers p(n) has this identity with respect to the theta function:
 

Identities about strict partition numbers

modifica

Following identity is valid for the Pochhammer products:

 

From this identity follows that formula:

 

Therefore those two formulas are valid for the synthesis of the number sequence p(n):

 
 

In the following, two examples are accurately executed:

 
 
 
 
 
 

Restricted partition function

modifica

More generally, it is possible to consider partitions restricted to only elements of a subset A of the natural numbers (for example a restriction on the maximum value of the parts), or with a restriction on the number of parts or the maximum difference between parts. Each particular restriction gives rise to an associated partition function with specific properties. Some common examples are given below.

Euler and Glaisher's theorem

modifica

Two important examples are the partitions restricted to only odd integer parts or only even integer parts, with the corresponding partition functions often denoted   and  .

A theorem from Euler shows that the number of strict partitions is equal to the number of partitions with only odd parts: for all n,  . This is generalized as Glaisher's theorem, which states that the number of partitions with no more than d-1 repetitions of any part is equal to the number of partitions with no part divisible by d.

Gaussian binomial coefficient

modifica

If we denote   the number of partitions of n in at most M parts, with each part smaller or equal to N, then the generating function of   is the following Gaussian binomial coefficient:

 

Asymptotics

modifica

Some general results on the asymptotic properties of restricted partition functions are known. If pA(n) is the partition function of partitions restricted to only elements of a subset A of the natural numbers, then:

If A possesses positive natural density α then  , with  

and conversely if this asymptotic property holds for pA(n) then A has natural density α.Template:Sfn This result was stated, with a sketch of proof, by Erdős in 1942.[5]Template:Sfn

If A is a finite set, this analysis does not apply (the density of a finite set is zero). If A has k elements whose greatest common divisor is 1, thenTemplate:Sfn

 

References

modifica
  1. ^ PrimePage Primes: p(1289844341).
  2. ^ The Top Twenty: Elliptic Curve Primality Proof.
  3. ^ Richard P. Stanley, Enumerative Combinatorics 1, Cambridge University Press, 1997, ISBN 0-521-66351-2.
  4. ^ Richard P. Stanley, Enumerative Combinatorics 1, Cambridge University Press, 1997, ISBN 0-521-66351-2.
  5. ^ Errore nelle note: Errore nell'uso del marcatore <ref>: non è stato indicato alcun testo per il marcatore erdos42
modifica