Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Number Theory >

PartitionsQ

PartitionsQ[n]
gives the number q(n) of partitions of the integer n into distinct parts.
  • Integer mathematical function, suitable for both symbolic and numerical manipulation.
Plot the number of restricted partitions:
Compute the number of partitions for large numbers:
PartitionsQ threads element-wise over lists:
TraditionalForm formatting:
Compare cumulative counts of even and odd partitions into distinct parts:
Plot the ratio of the number of partitions with its asymptotic value:
Visualize p-adic valuations of the number of partitions:
PartitionsQ gives the length of IntegerPartitions with nonrepeating parts:
Generate the explicit partitions:
Model PartitionsQ based on the definition:
PartitionsQ evaluates only for explicit integers:
Use Simplify to find implicit integers in arguments:
Successive differences of PartitionsQ modulo 2:
A "random" walk based on PartitionsQ:
New in 1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team