Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Partition Function

  • To: mathgroup at
  • Subject: [mg57599] Partition Function
  • From: "Shug Boabby" <Shug.Boabby at>
  • Date: Wed, 1 Jun 2005 06:04:42 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

hi there,

is there any way to get mathematica to return the actual partitions of
an integer? the only functions related to this, (e.g. only return the
*number* of partitions, not the actual partititons (including
permutations) themselves.

e.g. for 4, i'd like a function to return
 {{1,1,1,1}, {2,1,1}, {1,2,1}, {1,1,2}, {3,1}, {2,2}, {1,3}, {4}}

with the ordering of the partitions not being important


  • Prev by Date: Ree Re: sum the elements of a list
  • Next by Date: Re: What is causing this error message?
  • Previous by thread: Ree Re: sum the elements of a list
  • Next by thread: Re: Partition Function