This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Mathematical Functions / Combinatorial  /
PartitionsP

  • PartitionsP[ n ] gives the number of unrestricted partitions of the integer .
  • Integer mathematical function (see Section A.3.10).
  • See the Mathematica book: Section 3.2.5.
  • See also Implementation NotesA.9.44.9MainBookLinkOldButtonDataA.9.44.9.
  • See also: DedekindEta.

    Further Examples

    This is the number of ways to write as a sum of positive integers without regard to order.

    In[1]:=

    Out[1]=