MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: bug in Mathematica?


"Hansruedi Widmer" <widmer at baden.ch> schrieb im Newsbeitrag 
news:j90hep$sp5$1 at 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




  • Prev by Date: How the GaussianMatrix is calculated in Mathematica?
  • Next by Date: Re: Bug in FourierTransform?
  • Previous by thread: Re: bug in Mathematica?
  • Next by thread: Bug in FourierTransform?