Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Joe Riel Newsgroups: comp.soft-sys.math.maple Subject: Re: Doublefactorial and Pochhammer Date: Mon, 09 Nov 2015 15:44:00 -0800 Organization: A noiseless patient Spider Lines: 29 Message-ID: <87bnb2u4an.fsf@san.rr.com> References: <18156841-3104-434f-8cdc-1999bb794b97@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="beff205464f7c240d88e23fe20d5f78f"; logging-data="30621"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ACAyUjB28IzDSSNvfeedd" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:UuVZ2yIiScWK4CiMzVeSR4QKDdI= sha1:kFIusuvEW727ck3LKEbOAK/Qapg= Xref: csiph.com comp.soft-sys.math.maple:1211 Peter Luschny writes: > a := n -> doublefactorial(2*n-1)-2^n*pochhammer(1/2,n): > seq(a(n), n=0..99); > 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, > 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, > 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, > 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, > 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 > > a(100) > 6666308670072953744411215006735034163324489389674388736363184954745922258576896518414625915283128424390474317708176893511841954015267176587405666801912441638268530971962511539459228515625-1267650600228229401496703205376*GAMMA(201/2)/sqrt(Pi) > > Can somebody explain this sudden jump? > GAMMA has a preset limit at which it will apply a particular simplification to an integer input. You can extend this by modifying a global constant: `GAMMA/magic` := 2*`GAMMA/magic`: a(100); 0 The constant actually is an expression sequence of four integers. -- Joe Riel