Hi, currently when running e.g.
sage: IV53 = IntegerVectors(5,3) # length 3 vectors that sum to 5 sage: IV53.cardinality() The algorithm is simply to enumerate all elements (which is the default algorithm). My question is: is that because that's the best we can do, or just because nobody sat down and implemented the correct formula (i.e., is it known)? If an exact formula is not know, does anyone know an upper bound (somewhat tight :))? Cheers, Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF _www: http://martinralbrecht.wordpress.com/ _jab: [email protected] -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
