Talk:Ordered partitions: Difference between revisions
Content added Content deleted
mNo edit summary |
|||
Line 9:
The task with args 1,2,4 would generate 105 distinct partitions. But <code>4 choose 1</code> is 0 and <code>4 choose 2</code> is 0 and <code>4 choose 4</code> is 1, so the above formula would give a result of 6. --[[User:Rdm|Rdm]] 22:27, 7 February 2011 (UTC)
:Never mind, I fixed it. --[[User:Rdm|Rdm]] 22:36, 7 February 2011 (UTC)
|
Revision as of 22:36, 7 February 2011
Incorrect math statement
The task says:
- Note that the number of elements in the list is
But this cannot be right.
The task with args 1,2,4 would generate 105 distinct partitions. But 4 choose 1
is 0 and 4 choose 2
is 0 and 4 choose 4
is 1, so the above formula would give a result of 6. --Rdm 22:27, 7 February 2011 (UTC)
- Never mind, I fixed it. --Rdm 22:36, 7 February 2011 (UTC)