cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

About fact2(n)

SOLVED
-MFra-
Topaz I

About fact2(n)

Hi,

does fact2 (n) not work? or, isn't correct, the use I make of it?Double factorial.jpg

1 ACCEPTED SOLUTION

Accepted Solutions

Re: About fact2(n)


@-MFra- wrote:

I have the impression that you are making confusion. The double factorial is not the factorial of the factorial of n. On Wiki ... there is a broad description.


The number that you show fact2(3) evaluating to is actually (4!)! (620448401733239000000000).   (10!)! is monstrously long.

 

Do you have anything else defined earlier in your worksheet that might affect the result?

 

Cheers,

 

Stuart

 

View solution in original post

7 REPLIES 7

Re: About fact2(n)

Works for me in M15:

 

g0.jpg

If I try   fact2(10)=    I get the error message "This variable is not defined".  (It's symbolic only)

 

Alan

Re: About fact2(n)

I also use M15.

Re: About fact2(n)

Appears to be wrong, see also:https://www.maplesoft.com/support/help/Maple/view.aspx?path=factorial

 

LucMeekes_0-1592822823434.png

Success!
Luc

Re: About fact2(n)

I have the impression that you are making confusion. The double factorial is not the factorial of the factorial of n. On Wiki ... there is a broad description.

Re: About fact2(n)


@-MFra- wrote:

I have the impression that you are making confusion. The double factorial is not the factorial of the factorial of n. On Wiki ... there is a broad description.


The number that you show fact2(3) evaluating to is actually (4!)! (620448401733239000000000).   (10!)! is monstrously long.

 

Do you have anything else defined earlier in your worksheet that might affect the result?

 

Cheers,

 

Stuart

 

View solution in original post

Re: About fact2(n)

there must be interference with something defined in a large reference file, which I am using. In fact, if I use fact2 in a new file without a reference file, everything is fine.

Re: About fact2(n)

I found the problem. In the definition of the new operator !!,  there was a redefinition of fact2.

Thank you

Announcements
Check out the latest
Mathcad Tip
"PTC Mathcad 15 / Prime 1-6 Update."