> > sage: (Partition([2]).to_core(4)).parent() > 5-Cores of length 2 >
Okay, I get from the documentation of to_core that this returns what it is supposed to. But anyway, let me mention that for me as someone not very familiar with the topic, I would expect that Partition([2]).to_core(k) checks if the input partition is actually a k-core and then turns it into a k-core if possible... -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-combinat-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-combinat-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-combinat-devel. For more options, visit https://groups.google.com/groups/opt_out.