Yesterday, Egan posted how to calculate multiFactorials, which I had never even heard of before his post. See following link
Egan had posted a HP-15C program that would calculate it.
I've been playing around with the solver on the HP-19BII and thought I'd give a try at translating his 15C program to a solver equation.
I came up with the following:
MF = SIGMA(K:1:
IF(X=N OR N=1:1:(X/N)+1):1:
IF(K=1:0*L(M:X):0*L(X:X-N)+0*L(M:G(M)*X)))
+ IF(N=1:FACT(X):G(M))
Just enter X and N and press MF to solve.
I'm still trying to learn how to use the solver, and this is my first try with the SIGMA function. So would appreciate any suggestions, comments, etc on how to do it better.
Thanks,
Bill
Edited: 2 Mar 2007, 8:40 a.m.