Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6204
| From | "Dr. Wolfgang Hintze" <weh@snafu.de> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: bug in Mathematica? |
| Date | 2011-11-05 09:55 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j9315k$ach$1@smc.vnet.net> (permalink) |
| References | <j90hep$sp5$1@smc.vnet.net> |
"Hansruedi Widmer" <widmer@baden.ch> schrieb im Newsbeitrag
news:j90hep$sp5$1@smc.vnet.net...
> Hi Everyone
>
>
> The code
>
> Sum[Binomial[m, j], {j, 1, m - 1}]
>
> produces the correct value -2+2^m.
>
>
> But the code
>
> Product[Binomial[m, j], {j, 1, m - 1}]
>
> creates the wrong value of zero. Does anyone have an explanation for
> why
> this is happening?
>
>
> Thanks and best regards
>
> Hansrued Widmer
>
>
>
>
I don't see a zero, my version simply does not evaluate the product in
symbolic form.
But the values are ok:
(Product[Binomial[#1, j], {j, 1, #1 - 1}] & ) /@ Range[10]
{1, 2, 9, 96, 2500, 162000, 26471025, 11014635520,
11759522374656, 32406091200000000}
Hope this helps
Best regards,
Wolfgang
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
bug in Mathematica? "Hansruedi Widmer" <widmer@baden.ch> - 2011-11-04 11:14 +0000 Re: bug in Mathematica? David Reiss <dbreiss@gmail.com> - 2011-11-05 09:52 +0000 Re: bug in Mathematica? "Dr. Wolfgang Hintze" <weh@snafu.de> - 2011-11-05 09:55 +0000
csiph-web