HOME

TheInfoList



OR:

In
number theory Number theory is a branch of pure mathematics devoted primarily to the study of the integers and arithmetic functions. Number theorists study prime numbers as well as the properties of mathematical objects constructed from integers (for example ...
, the partition function represents the
number A number is a mathematical object used to count, measure, and label. The most basic examples are the natural numbers 1, 2, 3, 4, and so forth. Numbers can be represented in language with number words. More universally, individual numbers can ...
of possible partitions of a non-negative integer . For instance, because the integer 4 has the five partitions , , , , and . No
closed-form expression In mathematics, an expression or equation is in closed form if it is formed with constants, variables, and a set of functions considered as ''basic'' and connected by arithmetic operations (, and integer powers) and function composition. ...
for the partition function is known, but it has both asymptotic expansions that accurately approximate it and
recurrence relation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
s by which it can be calculated exactly. It grows as an exponential function of the
square root In mathematics, a square root of a number is a number such that y^2 = x; in other words, a number whose ''square'' (the result of multiplying the number by itself, or y \cdot y) is . For example, 4 and −4 are square roots of 16 because 4 ...
of its argument. The
multiplicative inverse In mathematics, a multiplicative inverse or reciprocal for a number ''x'', denoted by 1/''x'' or ''x''−1, is a number which when Multiplication, multiplied by ''x'' yields the multiplicative identity, 1. The multiplicative inverse of a ra ...
of its generating function is the Euler function; by Euler's pentagonal number theorem this function is an alternating sum of
pentagonal number A pentagonal number is a figurate number that extends the concept of triangular number, triangular and square numbers to the pentagon, but, unlike the first two, the patterns involved in the construction of pentagonal numbers are not rotational ...
powers of its argument. Srinivasa Ramanujan first discovered that the partition function has nontrivial patterns in
modular arithmetic In mathematics, modular arithmetic is a system of arithmetic operations for integers, other than the usual ones from elementary arithmetic, where numbers "wrap around" when reaching a certain value, called the modulus. The modern approach to mo ...
, now known as Ramanujan's congruences. For instance, whenever the decimal representation of ends in the digit 4 or 9, the number of partitions of will be divisible by 5.


Definition and examples

For a positive integer , is the number of distinct ways of representing 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 , as there is one way (the empty sum) of representing zero as a sum of positive integers. Furthermore when is negative. The first few values of the partition function, starting with , are: Some exact values of for larger values of include: \begin p(100) &= 190,\!569,\!292\\ p(1000) &= 24,\!061,\!467,\!864,\!032,\!622,\!473,\!692,\!149,\!727,\!991 \approx 2.40615\times 10^\\ p(10000) &= 36,\!167,\!251,\!325,\!\dots,\!906,\!916,\!435,\!144 \approx 3.61673\times 10^ \end


Generating function

The generating function for ''p''(''n'') is given by \begin \sum_^\infty p(n)x^n &= \prod_^\infty \left(\frac \right)\\ &=\left(1+x+x^2+\cdots\right)\left(1+x^2+x^4+\cdots\right) \left(1+x^3+x^6+\cdots\right) \cdots \\ &=\frac\\ &=1 \Big/ \sum_^ (-1)^k x^. \end The equality between the products on the first and second lines of this formula is obtained by expanding each factor 1/(1-x^k) into the
geometric series In mathematics, a geometric series is a series (mathematics), series summing the terms of an infinite geometric sequence, in which the ratio of consecutive terms is constant. For example, 1/2 + 1/4 + 1/8 + 1/16 + ⋯, the series \tfrac12 + \tfrac1 ...
(1+x^k+x^+x^+\cdots). To see that the expanded product equals the sum on the first line, apply the
distributive law In mathematics, the distributive property of binary operations is a generalization of the distributive law, which asserts that the equality x \cdot (y + z) = x \cdot y + x \cdot z is always true in elementary algebra. For example, in elementary ...
to the product. This expands the product into a sum of
monomial In mathematics, a monomial is, roughly speaking, a polynomial which has only one term. Two definitions of a monomial may be encountered: # A monomial, also called a power product or primitive monomial, is a product of powers of variables with n ...
s of the form x^ x^ x^ \cdots for some sequence of coefficients a_i, only finitely many of which can be non-zero. The exponent of the term is n = \sum i a_i, and this sum can be interpreted as a representation of n as a partition into a_i copies of each number i. Therefore, the number of terms of the product that have exponent n is exactly p(n), the same as the coefficient of x^n 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 x in these lines are the
pentagonal number A pentagonal number is a figurate number that extends the concept of triangular number, triangular and square numbers to the pentagon, but, unlike the first two, the patterns involved in the construction of pentagonal numbers are not rotational ...
s P_k = k(3k-1)/2 for k \in \ (generalized somewhat from the usual pentagonal numbers, which come from the same formula for the positive values The pattern of positive and negative signs in the third line comes from the term (-1)^k in the fourth line: even choices of k produce positive terms, and odd choices produce negative terms. More generally, the generating function for the partitions of n into numbers selected from a set A of positive integers can be found by taking only those terms in the first product for which k\in A. This result is due to
Leonhard Euler Leonhard Euler ( ; ; ; 15 April 170718 September 1783) was a Swiss polymath who was active as a mathematician, physicist, astronomer, logician, geographer, and engineer. He founded the studies of graph theory and topology and made influential ...
. The formulation of Euler's generating function is a special case of a q-Pochhammer symbol and is similar to the product formulation of many
modular form In mathematics, a modular form is a holomorphic function on the complex upper half-plane, \mathcal, that roughly satisfies a functional equation with respect to the group action of the modular group and a growth condition. The theory of modul ...
s, and specifically the Dedekind eta function.


Recurrence relations

The same sequence of pentagonal numbers appears in a
recurrence relation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
for the partition function: \begin p(n) &= \sum_ (-1)^ p(n-k(3k-1)/2) \\ &= p(n-1) + p(n-2)-p(n-5)-p(n-7) +p(n-12) +p(n-15) - p(n-22) -\cdots \end As base cases, p(0) is taken to equal 1, and p(k) is taken to be zero for negative k. Although the sum on the right side appears infinite, it has only finitely many nonzero terms, coming from the nonzero values of k in the range - \frac \leq k \leq \frac. The recurrence relation can also be written in the equivalent form p(n) = \sum_^\infty (-1)^ \big(p(n-k(3k-1)/2) + p(n-k(3k+1)/2)\big) . Another recurrence relation for p(n) can be given in terms of the sum of divisors function : p(n) = \frac \sum_^ \sigma(n-k) p(k). If q(n) denotes the number of partitions of n 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, that p(n) = \sum_^ q(n-2k) p(k).


Congruences

Srinivasa Ramanujan is credited with discovering that the partition function has nontrivial patterns in
modular arithmetic In mathematics, modular arithmetic is a system of arithmetic operations for integers, other than the usual ones from elementary arithmetic, where numbers "wrap around" when reaching a certain value, called the modulus. The modern approach to mo ...
. For instance the number of partitions is divisible by five whenever the decimal representation of n ends in the digit 4 or 9, as expressed by the congruence p(5k+4) \equiv 0 \pmod 5 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 \sum_^\infty p(5k+4)x^k = 5~ \frac , also by Ramanujan, where the notation (x)_\infty denotes the product defined by (x)_\infty = \prod_^\infty (1-x^m). A short proof of this result can be obtained from the partition function generating function. Ramanujan also discovered congruences modulo 7 and 11: \begin p(7k + 5) &\equiv 0 \pmod 7,\\ p(11k + 6) &\equiv 0 \pmod . \end The first one comes from Ramanujan's identity \sum_^\infty p(7k+5)x^k = 7~ \frac +49x ~ \frac . Since 5, 7, and 11 are consecutive primes, one might think that there would be an analogous congruence for the next prime 13, p(13k + a) \equiv 0 \pmod for some . However, there is no congruence of the form p(bk + a) \equiv 0 \pmod for any prime ''b'' other than 5, 7, or 11. Instead, to obtain a congruence, the argument of p should take the form cbk+a for some c>1. 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: p(11^3 \cdot 13 \cdot k + 237)\equiv 0 \pmod . proved that there are such congruences for every prime modulus greater than 3. Later, showed there are partition congruences modulo every integer
coprime In number theory, two integers and are coprime, relatively prime or mutually prime if the only positive integer that is a divisor of both of them is 1. Consequently, any prime number that divides does not divide , and vice versa. This is equiv ...
to 6.


Approximation formulas

Approximation formulas exist that are faster to calculate than the exact formula given above. An
asymptotic In analytic geometry, an asymptote () of a curve is a line such that the distance between the curve and the line approaches zero as one or both of the ''x'' or ''y'' coordinates Limit of a function#Limits at infinity, tends to infinity. In pro ...
expression for ''p''(''n'') is given by :p(n) \sim \frac \exp\left(\right) as n \to \infty. This asymptotic formula was first obtained by
G. H. Hardy Godfrey Harold Hardy (7 February 1877 – 1 December 1947) was an English mathematician, known for his achievements in number theory and mathematical analysis. In biology, he is known for the Hardy–Weinberg principle, a basic principle of pop ...
and Ramanujan in 1918 and independently by J. V. Uspensky in 1920. Considering p(1000), the asymptotic formula gives about 2.4402 \times 10^, reasonably close to the exact answer given above (1.415% larger than the true value). Hardy and Ramanujan obtained an
asymptotic expansion In mathematics, an asymptotic expansion, asymptotic series or Poincaré expansion (after Henri Poincaré) is a formal series of functions which has the property that truncating the series after a finite number of terms provides an approximation ...
with this approximation as the first term: p(n) \sim \frac \sum_^v A_k(n)\sqrt \cdot \frac \left(\right) , where A_k(n) = \sum_ e^. Here, the notation (m,k)=1 means that the sum is taken only over the values of m that are
relatively prime In number theory, two integers and are coprime, relatively prime or mutually prime if the only positive integer that is a divisor of both of them is 1. Consequently, any prime number that divides does not divide , and vice versa. This is equiv ...
to k. The function s(m,k) is a Dedekind sum. The error after v terms is of the order of the next term, and v may be taken to be of the order of \sqrt n. As an example, Hardy and Ramanujan showed that p(200) is the nearest integer to the sum of the first v = 5 terms of the series. In 1937, Hans Rademacher was able to improve on Hardy and Ramanujan's results by providing a convergent series expression for p(n). It is p(n) = \frac \sum_^\infty A_k(n)\sqrt \cdot \frac \left(\right) . The proof of Rademacher's formula involves Ford circles, Farey sequences, modular symmetry and the Dedekind eta function. It may be shown that the kth term of Rademacher's series is of the order \exp\left(\frac \sqrt\frac \right) , so that the first term gives the Hardy–Ramanujan asymptotic approximation. published an elementary proof of the asymptotic formula for p(n). Techniques for implementing the Hardy–Ramanujan–Rademacher formula efficiently on a computer are discussed by , who shows that p(n) can be computed in time O(n^) for any \varepsilon>0. This is near-optimal in that it matches the number of digits of the result. The largest value of the partition function computed exactly is p(10^), which has slightly more than 11 billion digits.


Strict partition function


Definition and properties

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.


Generating function

The generating function for the numbers ''q''(''n'') is given by a simple infinite product: \sum_^ q(n)x^n = \prod_^\infty (1 + x^k) = (x;x^2)_^, where the notation (a;b)_ represents the Pochhammer symbol (a;b)_ = \prod_^ (1 - ab^). From this formula, one may easily obtain the first few terms : \sum_^ q(n)x^n = 1+1x+1x^2+2x^3+2x^4+3x^5+4x^6+5x^7+6x^8+8x^9+10x^+\ldots. This series may also be written in terms of theta functions as \sum_^ q(n)x^n = \vartheta_(x)^\vartheta_(x)^\biggl\^, where \vartheta_(x) = 1 + 2\sum_^ x^ and \vartheta_(x) = 1 + 2\sum_^ (-1)^ x^. In comparison, the generating function of the regular partition numbers ''p''(''n'') has this identity with respect to the theta function: \sum_^ p(n)x^n = (x;x)_^ = \vartheta_(x)^\vartheta_(x)^\biggl\^.


Identities about strict partition numbers

Following identity is valid for the Pochhammer products: : (x;x)_^ = (x^2;x^2)_^(x;x^2)_^ From this identity follows that formula: : \biggl sum_^\infty p(n)x^n\biggr= \biggl sum_^\infty p(n)x^\biggrbiggl sum_^\infty q(n)x^n\biggr/math> Therefore those two formulas are valid for the synthesis of the number sequence p(n): : p(2n) = \sum_^ p(n - k)q(2k) : p(2n+1) = \sum_^ p(n - k)q(2k + 1) In the following, two examples are accurately executed: : p(8) = \sum_^ p(4 - k)q(2k) = : = p(4)q(0) + p(3)q(2) + p(2)q(4) + p(1)q(6) + p(0)q(8) = : = 5\times 1 + 3\times 1 + 2\times 2 + 1\times 4 + 1\times 6 = 22 : p(9) = \sum_^ p(4 - k)q(2k + 1) = : = p(4)q(1) + p(3)q(3) + p(2)q(5) + p(1)q(7) + p(0)q(9) = : = 5\times 1 + 3\times 2 + 2\times 3 + 1\times 5 + 1\times 8 = 30


Restricted partition function

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

Two important examples are the partitions restricted to only odd integer parts or only even integer parts, with the corresponding partition functions often denoted p_o(n) and p_e(n). 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'', q(n) = p_o(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

If we denote p(N, M, n) the number of partitions of ''n'' in at most ''M'' parts, with each part smaller or equal to ''N'', then the generating function of p(N, M, n) is the following Gaussian binomial coefficient: :\sum_^\infty p(N, M, n)q^n = _q = \frac


Asymptotics

Some general results on the asymptotic properties of restricted partition functions are known. If ''p''''A''(''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 \log p_A(n) \sim C \sqrt, with C = \pi\sqrt\frac23 and conversely if this asymptotic property holds for ''p''''A''(''n'') then ''A'' has natural density α. This result was stated, with a sketch of proof, by Erdős in 1942. 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, then : p_A(n) = \left(\prod_ a^\right) \cdot \frac + O(n^) .


References

{{reflist, refs= {{citation , last1 = Al , first1 = Busra , last2 = Alkan , first2 = Mustafa , contribution = A note on relations among partitions , pages = 35–39 , title = Proc. Mediterranean Int. Conf. Pure & Applied Math. and Related Areas (MICOPAM 2018) , url = https://elibrary.matf.bg.ac.rs/handle/123456789/4699 , year = 2018 {{citation , last1 = Ahlgren , first1 = Scott , last2 = Boylan , first2 = Matthew , doi = 10.1007/s00222-003-0295-6 , issue = 3 , journal = Inventiones Mathematicae , mr = 2000466 , pages = 487–502 , title = Arithmetic properties of the partition function , url = https://www.math.sc.edu/~boylan/reprints/nomoreramafinal.pdf , volume = 153 , year = 2003, bibcode = 2003InMat.153..487A , s2cid = 123104639 {{citation , last = Andrews , first = George E. , author-link = George E. Andrews , isbn = 0-521-63766-X , mr = 0557013 , page = 69 , publisher = Cambridge University Press , title = The Theory of Partitions , year = 1976 {{citation , last1 = Ahlgren , first1 = Scott , last2 = Ono , first2 = Ken , author2-link = Ken Ono , bibcode = 2001PNAS...9812882A , doi = 10.1073/pnas.191488598 , issue = 23 , journal =
Proceedings of the National Academy of Sciences ''Proceedings of the National Academy of Sciences of the United States of America'' (often abbreviated ''PNAS'' or ''PNAS USA'') is a peer-reviewed multidisciplinary scientific journal. It is the official journal of the National Academy of Scie ...
, mr = 1862931 , pages = 12882–12884 , title = Congruence properties for the partition function , url = https://www.mathcs.emory.edu/~ono/publications-cv/pdfs/061.pdf , volume = 98 , year = 2001, pmid = 11606715 , pmc = 60793 , doi-access = free
{{citation , last1 = Abramowitz , first1 = Milton , author1-link = Milton Abramowitz , last2 = Stegun , first2 = Irene , author2-link = Irene Stegun , isbn = 0-486-61272-4 , page
825
, publisher = United States Department of Commerce, National Bureau of Standards , title = Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables , year = 1964
{{citation , last1 = Berndt , first1 = Bruce C. , author1-link = Bruce C. Berndt , last2 = Ono , first2 = Ken , author2-link = Ken Ono , contribution = Ramanujan's unpublished manuscript on the partition and tau functions with proofs and commentary , contribution-url = https://www.mathcs.emory.edu/~ono/publications-cv/pdfs/044.pdf , mr = 1701582 , at = Art. B42c, 63 , series = Séminaire Lotharingien de Combinatoire , title = The Andrews Festschrift (Maratea, 1998) , volume = 42 , year = 1999 {{citation , last = Euler , first = Leonhard , author-link = Leonhard Euler , journal = Novi Commentarii Academiae Scientiarum Petropolitanae , language = la , pages = 125–169 , title = De partitione numerorum , url = https://eulerarchive.maa.org/pages/E191.html , volume = 3 , year = 1753 {{citation , last = Erdős , first = P. , author-link = Paul Erdős , doi = 10.2307/1968802 , journal =
Annals of Mathematics The ''Annals of Mathematics'' is a mathematical journal published every two months by Princeton University and the Institute for Advanced Study. History The journal was established as ''The Analyst'' in 1874 and with Joel E. Hendricks as t ...
, mr = 0006749 , pages = 437–450 , series = Second Series , title = On an elementary proof of some asymptotic formulas in the theory of partitions , url = https://users.renyi.hu/~p_erdos/1942-02.pdf , volume = 43 , year = 1942 , issue = 3 , jstor = 1968802 , zbl = 0061.07905
{{citation , last = Ewell , first = John A. , doi = 10.1216/rmjm/1181069871 , issue = 2 , journal = The Rocky Mountain Journal of Mathematics , jstor = 44238988 , mr = 2072798 , pages = 619–627 , title = Recurrences for the partition function and its relatives , volume = 34 , year = 2004, doi-access = free {{citation , last = Johansson , first = Fredrik , date = March 2, 2014 , title = New partition function record: p(1020) computed , url = https://fredrikj.net/blog/2014/03/new-partition-function-record/ {{citation , last1 = Hardy , first1 = G. H. , author1-link = G. H. Hardy , last2 = Wright , first2 = E. M. , author2-link = E. M. Wright , edition = 6th , isbn = 978-0-19-921986-5 , mr = 2445243 , page = 380 , publisher =
Oxford University Press Oxford University Press (OUP) is the publishing house of the University of Oxford. It is the largest university press in the world. Its first book was printed in Oxford in 1478, with the Press officially granted the legal right to print books ...
, title = An Introduction to the Theory of Numbers , year = 2008 , orig-year = 1938 , zbl = 1159.11001
{{citation , last1 = Hardy , first1 = G. H. , author1-link = G. H. Hardy , last2 = Ramanujan , first2 = S. , author2-link = Srinivasa Ramanujan , issue = 75–115 , journal = Proceedings of the London Mathematical Society , series = Second Series , title = Asymptotic formulae in combinatory analysis , volume = 17 , year = 1918. Reprinted in ''Collected papers of Srinivasa Ramanujan'', Amer. Math. Soc. (2000), pp. 276–309. {{citation , last = Johansson , first = Fredrik , doi = 10.1112/S1461157012001088 , journal = LMS Journal of Computation and Mathematics , mr = 2988821 , pages = 341–59 , title = Efficient implementation of the Hardy–Ramanujan–Rademacher formula , volume = 15 , year = 2012, arxiv = 1205.5991 , s2cid = 16580723 {{citation , last = Nathanson , first = M. B. , author-link = Melvyn B. Nathanson , isbn = 0-387-98912-9 , page = 456 , publisher =
Springer-Verlag Springer Science+Business Media, commonly known as Springer, is a German multinational publishing company of books, e-books and peer-reviewed journals in science, humanities, technical and medical (STM) publishing. Originally founded in 1842 in ...
, series =
Graduate Texts in Mathematics Graduate Texts in Mathematics (GTM) () is a series of graduate-level textbooks in mathematics published by Springer-Verlag. The books in this series, like the other Springer-Verlag mathematics series, are yellow books of a standard size (with va ...
, title = Elementary Methods in Number Theory , volume = 195 , year = 2000 , zbl = 0953.11002
{{Cite OEIS, sequencenumber=A070177, mode=cs2 {{citation , last = Ono , first = Ken , author-link = Ken Ono , arxiv = math/0008140 , doi = 10.2307/121118 , issue = 1 , journal =
Annals of Mathematics The ''Annals of Mathematics'' is a mathematical journal published every two months by Princeton University and the Institute for Advanced Study. History The journal was established as ''The Analyst'' in 1874 and with Joel E. Hendricks as t ...
, mr = 1745012 , pages = 293–307 , title = Distribution of the partition function modulo m , volume = 151 , year = 2000 , jstor = 121118 , bibcode = 2000math......8140O , zbl = 0984.11050, s2cid = 119750203
{{citation , last = Ono , first = Ken , author-link = Ken Ono , isbn = 0-8218-3368-5 , location = Providence, Rhode Island , page = 87 , publisher =
American Mathematical Society The American Mathematical Society (AMS) is an association of professional mathematicians dedicated to the interests of mathematical research and scholarship, and serves the national and international community through its publications, meetings, ...
, series = CBMS Regional Conference Series in Mathematics , title = The web of modularity: arithmetic of the coefficients of modular forms and q-series , volume = 102 , year = 2004 , zbl = 1119.11026
{{citation , last = Rademacher , first = Hans , author-link = Hans Rademacher , doi = 10.1112/plms/s2-43.4.241 , issue = 4 , journal = Proceedings of the London Mathematical Society , mr = 1575213 , pages = 241–254 , series = Second Series , title = On the partition function p(n) , volume = 43 , year = 1937 {{citation , last = Wilf , first = Herbert S. , author-link = Herbert Wilf , doi = 10.2307/2321713 , issue = 5 , journal =
American Mathematical Monthly ''The American Mathematical Monthly'' is a peer-reviewed scientific journal of mathematics. It was established by Benjamin Finkel in 1894 and is published by Taylor & Francis on behalf of the Mathematical Association of America. It is an exposi ...
, mr = 653502 , pages = 289–292 , title = What is an answer? , volume = 89 , year = 1982, jstor = 2321713


External links


First 4096 values of the partition function
Arithmetic functions Integer sequences Integer partitions