Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Discrete Mathematics > Combinatorial Functions > PartitionsP >
Mathematica > Mathematics and Algorithms > Mathematical Functions > Integer Functions > Combinatorial Functions > PartitionsP >

PartitionsP

PartitionsP[n]
gives the number of unrestricted partitions of the integer n.
  • Integer mathematical function, suitable for both symbolic and numerical manipulation.
Plot the number of unrestricted partitions:
In[1]:=
Click for copyable input
Out[1]=
 
Plot the number of unrestricted partitions:
In[1]:=
Click for copyable input
Out[1]=
Compute the number of partitions for large numbers:
PartitionsP threads element-wise over lists:
TraditionalForm formatting:
Number of non-isomorphic Abelian groups of order :
Compare cumulative counts of even and odd partitions:
Visualize p-adic valuations of the number of partitions:
PartitionsP gives the length of IntegerPartitions:
Obtain values of PartitionsP from series expansion:
Use FullSimplify to simplify expressions containing PartitionsP:
PartitionsP evaluates only for integer arguments:
Use Simplify to find implicit integers in arguments:
Successive differences of PartitionsP modulo 2:
A "random" walk based on PartitionsP:
New in 1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF