[Haskell-cafe] Can anyone help me with partition numbers?
cgibbard at gmail.com
Thu Nov 24 14:12:37 EST 2005
First of all, read this :)
There doesn't appear to be a list for Haskell homework help in the
list of mailing lists on haskell.org. If Jerzy knows more about one,
he might be able to provide some information there.
We'll be happy to help, but what have you already tried? This looks
just exactly like the problem text.
On 24/11/05, whoals (sent by Nabble.com) <lists at nabble.com> wrote:
> A partition of a positive integer n is a representation of n as the sum of
> any number of positive integral parts. For example, there are 7 partitions
> of the number 5: 1+1+1+1+1, 1+1+1+2, 1+1+3, 1+2+2, 1+4, 2+3 and 5. Define a
> function parts which returns the list of distinct partitions of an integer
> n. For example, parts 4 =
> Sent from the Haskell - Haskell-Cafe forum at Nabble.com.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe