Re: Inconsistent behavior?
- To: mathgroup at smc.vnet.net
- Subject: [mg87264] Re: Inconsistent behavior?
- From: "Steve Luttrell" <steve at _removemefirst_luttrell.org.uk>
- Date: Sun, 6 Apr 2008 06:41:19 -0400 (EDT)
- References: <ft7ggo$bs3$1@smc.vnet.net>
Mathematica avoids expanding Binomial (and other functions) in cases where the resulting expression might be too long to be of interest. You can override this by using FunctionExpand. Binomial[n, 6] // FunctionExpand 1/720 (-5+n) (-4+n) (-3+n) (-2+n) (-1+n) n Stephen Luttrell West Malvern, UK "angela" <mpopyft at lycos.com> wrote in message news:ft7ggo$bs3$1 at smc.vnet.net... > Binomial[n,4] yields > 1/24 (-3+n) (-2+n) (-1+n) n > > Binomial[n,5] yields > 1/120 (-4+n) (-3+n) (-2+n) (-1+n) n > > Binomial[n,6] yields > Binomial[n,6] > > Binomial[n,7] yields > Binomial[n,7] > > Is some setting doing this. > > Thanks; > Angela >