Re: HP Prime (emulator): Zeta function query Message #6 Posted by Gerson W. Barbosa on 29 Sept 2013, 6:50 p.m., in response to message #5 by Paul Dale
That's what I thought, but that works for non-integer values and this is defined for integers only.
http://people.math.sfu.ca/~cbm/aands/page_807.htm
(Abramowitz and Stegun: Handbook of Mathematical Functions, page 807, formula 23.2.16)
Gerson.
P.S.: This HP 50g program has the same behaviour regarding integer arguments.
%%HP: T(3)A(D)F(.);
\<< -22 CF \-> n
\<< '(2.*\pi)^n/(2.*n!)' \->NUM n IBERNOULLI ABS INV /
\>>
\>>
Edited: 29 Sept 2013, 6:54 p.m.
|