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

  • PartitionsQ[ n ] gives the number of partitions of the integer into distinct parts.
  • Integer mathematical function (see Section A.3.10).
  • See the Mathematica book: Section 3.2.5.

    Further Examples

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

    In[1]:=

    Out[1]=