Student Support Forum: 'Recursively defined Double Factorial' topicStudent Support Forum > General > "Recursively defined Double Factorial"

 Next Comment > Help | Reply To Topic
 Author Comment/Response Josh Holmes 05/15/12 10:55am My goal here is to define the function doublefactorial. The domain of this function is the set of positive integers. For a positive even integer n the value of DoubleF[n] is the product of all positive even integers which are <=n. For a positive odd integer n the value DoubleF[n] is the product of all positive odd integers which are<=n. I want to make a recursive definition of this function but do not know how. Here is some code so far: Clear[MyF1, n]; MyF1[1] = 1; MyF1[n_Integer] /; (n > 0) := MyF1[n] = n*MyF1[n - 1] Help plz? URL: ,

 Subject (listing for 'Recursively defined Double Factorial') Author Date Posted Recursively defined Double Factorial Josh Holmes 05/15/12 10:55am Re: Recursively defined Double Factorial Bill Simpson 05/15/12 10:42pm Re: Recursively defined Double Factorial Chenyu Lue 05/16/12 05:59am Re: Re: Recursively defined Double Factorial Peter Pein 05/20/12 11:53am
 Next Comment > Help | Reply To Topic