[seqfan] Re: next partition into distinct parts

Alex M timeroot.alex at gmail.com
Sun Feb 13 08:45:35 CET 2011


Do you mean sorted by lexicographic order? There's more than one reasonable
way to order them...

~6 out of 5 statisticians say that the
number of statistics that either make
no sense or use ridiculous timescales
at all has dropped over 164% in the
last 5.62474396842 years.

On Sat, Feb 12, 2011 at 10:13 PM, David Newman <davidsnewman at gmail.com>wrote:

> Does anyone out there have a Mathematica program which will give the
> next partition into distinct parts?
>
> For example given the partition    {11 , 4 , 2}  as input, it should
> output  {11  ,3  ,2 , 1}.
>
> If someone has such a program or can  easily write one, I'd like to have
> it.
>
> _______________________________________________
>
> Seqfan Mailing list - http://list.seqfan.eu/
>



More information about the SeqFan mailing list