Re: Inconsistent behavior?
- To: mathgroup at smc.vnet.net
- Subject: [mg87291] Re: [mg87243] Inconsistent behavior?
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Sun, 6 Apr 2008 06:46:26 -0400 (EDT)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <200804050923.EAA12082@smc.vnet.net>
- Reply-to: murray at math.umass.edu
Yes, I see the same phenomenon of unevaluated expressions starting with
6 from:
Clear[n]
Table[Binomial[n,k],{k,1,10}]
And one sees the same thing in:
Table[Binomial[n, n - k], {k, 1, 7}]
But I'm not surprised: Beyond a few special values for k, there may be
special code inside the kernel for evaluating the binomial coefficients.
angela wrote:
> 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
>
--
Murray Eisenberg murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2859 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305
- References:
- Inconsistent behavior?
- From: angela <mpopyft@lycos.com>
- Inconsistent behavior?