Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.maple > #1198

Convert to factorial, bug?

Newsgroups comp.soft-sys.math.maple
Date 2015-11-01 10:40 -0800
Message-ID <26ea1f78-736f-4827-830b-e3af8ecc1b8a@googlegroups.com> (permalink)
Subject Convert to factorial, bug?
From Peter Luschny <peter.luschny@gmail.com>

Show all headers | View raw


A:=(n,k)->(n!/k!)*binomial(k,n-k)*2^(2*k-n); 
convert(A(n,k), factorial);
B:=(n,k)->n!*2^(2*k-n)/((n-k)!*(2*k-n)!);

A(1,0); # gives 0
B(1,0); # Error, div by zero

Peter

Back to comp.soft-sys.math.maple | Previous | NextNext in thread | Find similar


Thread

Convert to factorial, bug? Peter Luschny <peter.luschny@gmail.com> - 2015-11-01 10:40 -0800
  Re: Convert to factorial, bug? Axel Vogt <&noreply@axelvogt.de> - 2015-11-02 08:44 +0100
    Re: Convert to factorial, bug? Peter Luschny <peter.luschny@gmail.com> - 2015-11-02 00:15 -0800

csiph-web