Wolfram Researchfunctions.wolfram.comOther Wolfram Sites
Search Site
Function CategoriesGraphics GalleryNotationsGeneral IdentitiesAbout This Site Email Comments

View Related Information In
The Documentation Center
MathWorld

Download All Formulas For This Function
Mathematica Notebook
PDF File

 

Developed with Mathematica -- Download a Free Trial Version
 











Subfactorial






Mathematica Notation

Traditional Notation









Gamma, Beta, Erf > Subfactorial[n] > Differentiation > Symbolic differentiation





http://functions.wolfram.com/06.42.20.0007.01









  


  










Input Form





D[Subfactorial[z], {z, n}] == (1/E) (Derivative[n][Gamma][z + 1] + (-1)^z Sum[(-1)^(n - j) Binomial[n, j] (n - j)! Gamma[z + 1]^(n - j + 1) (Pi I)^j HypergeometricPFQRegularized[{Subscript[a, 1], Subscript[a, 2], \[Ellipsis], Subscript[a, n - j + 1]}, {1 + Subscript[a, 1], 1 + Subscript[a, 2], \[Ellipsis], 1 + Subscript[a, n - j + 1]}, 1], {j, 0, n}]) /; Subscript[a, 1] == Subscript[a, 2] == \[Ellipsis] == Subscript[a, n + 1] == z + 1 && Element[n, Integers] && n >= 0










Standard Form





Cell[BoxData[RowBox[List[RowBox[List[RowBox[List[SubscriptBox["\[PartialD]", RowBox[List["{", RowBox[List["z", ",", "n"]], "}"]]], RowBox[List["Subfactorial", "[", "z", "]"]]]], "\[Equal]", RowBox[List[FractionBox["1", "\[ExponentialE]"], RowBox[List["(", RowBox[List[RowBox[List[SuperscriptBox["Gamma", TagBox[RowBox[List["(", "n", ")"]], Derivative], Rule[MultilineFunction, None]], "[", RowBox[List["z", "+", "1"]], "]"]], "+", RowBox[List[SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], "z"], RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["j", "=", "0"]], "n"], RowBox[List[SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], RowBox[List["n", "-", "j"]]], " ", RowBox[List["Binomial", "[", RowBox[List["n", ",", "j"]], "]"]], " ", RowBox[List[RowBox[List["(", RowBox[List["n", "-", "j"]], ")"]], "!"]], " ", SuperscriptBox[RowBox[List["Gamma", "[", RowBox[List["z", "+", "1"]], "]"]], RowBox[List["n", "-", "j", "+", "1"]]], " ", SuperscriptBox[RowBox[List["(", RowBox[List["\[Pi]", " ", "\[ImaginaryI]"]], ")"]], "j"], " ", RowBox[List["HypergeometricPFQRegularized", "[", RowBox[List[RowBox[List["{", RowBox[List[SubscriptBox["a", "1"], ",", SubscriptBox["a", "2"], ",", "\[Ellipsis]", ",", SubscriptBox["a", RowBox[List["n", "-", "j", "+", "1"]]]]], "}"]], ",", RowBox[List["{", RowBox[List[RowBox[List["1", "+", SubscriptBox["a", "1"]]], ",", RowBox[List["1", "+", SubscriptBox["a", "2"]]], ",", "\[Ellipsis]", ",", RowBox[List["1", "+", SubscriptBox["a", RowBox[List["n", "-", "j", "+", "1"]]]]]]], "}"]], ",", "1"]], "]"]]]]]]]]]], ")"]]]]]], "/;", RowBox[List[RowBox[List[SubscriptBox["a", "1"], "\[Equal]", SubscriptBox["a", "2"], "\[Equal]", "\[Ellipsis]", "\[Equal]", SubscriptBox["a", RowBox[List["n", "+", "1"]]], "\[Equal]", RowBox[List["z", "+", "1"]]]], "\[And]", " ", RowBox[List["n", "\[Element]", "Integers"]], "\[And]", RowBox[List["n", "\[GreaterEqual]", "0"]]]]]]]]










MathML Form







<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <mrow> <mfrac> <mrow> <msup> <mo> &#8706; </mo> <mi> n </mi> </msup> <mrow> <mi> Subfactorial </mi> <mo> &#8289; </mo> <mo> ( </mo> <mi> z </mi> <mo> ) </mo> </mrow> </mrow> <mrow> <mo> &#8706; </mo> <msup> <mi> z </mi> <mi> n </mi> </msup> </mrow> </mfrac> <mo> &#63449; </mo> <mrow> <mfrac> <mn> 1 </mn> <mi> &#8519; </mi> </mfrac> <mo> &#8290; </mo> <mrow> <mo> ( </mo> <mrow> <mrow> <msup> <mrow> <mo> ( </mo> <mrow> <mo> - </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> <mi> z </mi> </msup> <mo> &#8290; </mo> <mrow> <munderover> <mo> &#8721; </mo> <mrow> <mi> j </mi> <mo> = </mo> <mn> 0 </mn> </mrow> <mi> n </mi> </munderover> <mrow> <msup> <mrow> <mo> ( </mo> <mrow> <mo> - </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> <mrow> <mi> n </mi> <mo> - </mo> <mi> j </mi> </mrow> </msup> <mo> &#8290; </mo> <semantics> <mrow> <mo> ( </mo> <mtable> <mtr> <mtd> <mi> n </mi> </mtd> </mtr> <mtr> <mtd> <mi> j </mi> </mtd> </mtr> </mtable> <mo> ) </mo> </mrow> <annotation encoding='Mathematica'> TagBox[RowBox[List[&quot;(&quot;, GridBox[List[List[TagBox[&quot;n&quot;, Identity, Rule[Editable, True], Rule[Selectable, True]]], List[TagBox[&quot;j&quot;, Identity, Rule[Editable, True], Rule[Selectable, True]]]]], &quot;)&quot;]], InterpretTemplate[Function[Binomial[Slot[1], Slot[2]]]], Rule[Editable, False], Rule[Selectable, False]] </annotation> </semantics> <mo> &#8290; </mo> <mrow> <mrow> <mo> ( </mo> <mrow> <mi> n </mi> <mo> - </mo> <mi> j </mi> </mrow> <mo> ) </mo> </mrow> <mo> ! </mo> </mrow> <mo> &#8290; </mo> <msup> <mrow> <mi> &#915; </mi> <mo> &#8289; </mo> <mo> ( </mo> <mrow> <mi> z </mi> <mo> + </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> <mrow> <mi> n </mi> <mo> - </mo> <mi> j </mi> <mo> + </mo> <mn> 1 </mn> </mrow> </msup> <mo> &#8290; </mo> <msup> <mrow> <mo> ( </mo> <mrow> <mi> &#960; </mi> <mo> &#8290; </mo> <mi> &#8520; </mi> </mrow> <mo> ) </mo> </mrow> <mi> j </mi> </msup> <mo> &#8290; </mo> <semantics> <mrow> <mrow> <msub> <mo> &#8202; </mo> <mrow> <mi> n </mi> <mo> - </mo> <mi> j </mi> <mo> + </mo> <mn> 1 </mn> </mrow> </msub> <msub> <mover> <mi> F </mi> <mo> ~ </mo> </mover> <mrow> <mi> n </mi> <mo> - </mo> <mi> j </mi> <mo> + </mo> <mn> 1 </mn> </mrow> </msub> </mrow> <mo> &#8289; </mo> <mrow> <mo> ( </mo> <mrow> <mrow> <mrow> <mi> z </mi> <mo> + </mo> <mn> 1 </mn> </mrow> <mo> , </mo> <mo> &#8230; </mo> <mo> , </mo> <mrow> <mi> z </mi> <mo> + </mo> <mn> 1 </mn> </mrow> </mrow> <mo> ; </mo> <mrow> <mrow> <mi> z </mi> <mo> + </mo> <mn> 2 </mn> </mrow> <mo> , </mo> <mo> &#8230; </mo> <mo> , </mo> <mrow> <mi> z </mi> <mo> + </mo> <mn> 2 </mn> </mrow> </mrow> <mo> ; </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> </mrow> <annotation encoding='Mathematica'> TagBox[TagBox[RowBox[List[RowBox[List[SubscriptBox[&quot;\[InvisiblePrefixScriptBase]&quot;, FormBox[RowBox[List[&quot;n&quot;, &quot;-&quot;, &quot;j&quot;, &quot;+&quot;, &quot;1&quot;]], TraditionalForm]], SubscriptBox[OverscriptBox[&quot;F&quot;, &quot;~&quot;], FormBox[RowBox[List[&quot;n&quot;, &quot;-&quot;, &quot;j&quot;, &quot;+&quot;, &quot;1&quot;]], TraditionalForm]]]], &quot;\[InvisibleApplication]&quot;, RowBox[List[&quot;(&quot;, RowBox[List[TagBox[TagBox[RowBox[List[TagBox[RowBox[List[&quot;z&quot;, &quot;+&quot;, &quot;1&quot;]], HypergeometricPFQRegularized, Rule[Editable, True]], &quot;,&quot;, TagBox[&quot;\[Ellipsis]&quot;, HypergeometricPFQRegularized, Rule[Editable, True]], &quot;,&quot;, TagBox[RowBox[List[&quot;z&quot;, &quot;+&quot;, &quot;1&quot;]], HypergeometricPFQRegularized, Rule[Editable, True]]]], InterpretTemplate[Function[List[SlotSequence[1]]]]], HypergeometricPFQRegularized, Rule[Editable, False]], &quot;;&quot;, TagBox[TagBox[RowBox[List[TagBox[RowBox[List[&quot;z&quot;, &quot;+&quot;, &quot;2&quot;]], HypergeometricPFQRegularized, Rule[Editable, True]], &quot;,&quot;, TagBox[&quot;\[Ellipsis]&quot;, HypergeometricPFQRegularized, Rule[Editable, True]], &quot;,&quot;, TagBox[RowBox[List[&quot;z&quot;, &quot;+&quot;, &quot;2&quot;]], HypergeometricPFQRegularized, Rule[Editable, True]]]], InterpretTemplate[Function[List[SlotSequence[1]]]]], HypergeometricPFQRegularized, Rule[Editable, False]], &quot;;&quot;, TagBox[&quot;1&quot;, HypergeometricPFQRegularized, Rule[Editable, True]]]], &quot;)&quot;]]]], InterpretTemplate[Function[HypergeometricPFQRegularized[Slot[1], Slot[2], Slot[3]]]], Rule[Editable, True]], HypergeometricPFQRegularized] </annotation> </semantics> </mrow> </mrow> </mrow> <mo> + </mo> <mrow> <msup> <mi> &#915; </mi> <semantics> <mrow> <mo> ( </mo> <mi> n </mi> <mo> ) </mo> </mrow> <annotation encoding='Mathematica'> TagBox[RowBox[List[&quot;(&quot;, &quot;n&quot;, &quot;)&quot;]], Derivative] </annotation> </semantics> </msup> <mo> ( </mo> <mrow> <mi> z </mi> <mo> + </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> </mrow> <mo> ) </mo> </mrow> </mrow> </mrow> <mo> /; </mo> <mrow> <mrow> <msub> <mi> a </mi> <mn> 1 </mn> </msub> <mo> &#63449; </mo> <msub> <mi> a </mi> <mn> 2 </mn> </msub> <mo> &#63449; </mo> <mo> &#8230; </mo> <mo> &#63449; </mo> <msub> <mi> a </mi> <mrow> <mi> n </mi> <mo> + </mo> <mn> 1 </mn> </mrow> </msub> <mo> &#63449; </mo> <mrow> <mi> z </mi> <mo> + </mo> <mn> 1 </mn> </mrow> </mrow> <mo> &#8743; </mo> <mrow> <mi> n </mi> <mo> &#8712; </mo> <mi> &#8469; </mi> </mrow> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <ci> Condition </ci> <apply> <eq /> <apply> <partialdiff /> <bvar> <ci> z </ci> <degree> <ci> n </ci> </degree> </bvar> <apply> <ci> Subfactorial </ci> <ci> z </ci> </apply> </apply> <apply> <times /> <apply> <times /> <cn type='integer'> 1 </cn> <apply> <power /> <exponentiale /> <cn type='integer'> -1 </cn> </apply> </apply> <apply> <plus /> <apply> <times /> <apply> <power /> <cn type='integer'> -1 </cn> <ci> z </ci> </apply> <apply> <sum /> <bvar> <ci> j </ci> </bvar> <lowlimit> <cn type='integer'> 0 </cn> </lowlimit> <uplimit> <ci> n </ci> </uplimit> <apply> <times /> <apply> <power /> <cn type='integer'> -1 </cn> <apply> <plus /> <ci> n </ci> <apply> <times /> <cn type='integer'> -1 </cn> <ci> j </ci> </apply> </apply> </apply> <apply> <ci> Binomial </ci> <ci> n </ci> <ci> j </ci> </apply> <apply> <factorial /> <apply> <plus /> <ci> n </ci> <apply> <times /> <cn type='integer'> -1 </cn> <ci> j </ci> </apply> </apply> </apply> <apply> <power /> <apply> <ci> Gamma </ci> <apply> <plus /> <ci> z </ci> <cn type='integer'> 1 </cn> </apply> </apply> <apply> <plus /> <ci> n </ci> <apply> <times /> <cn type='integer'> -1 </cn> <ci> j </ci> </apply> <cn type='integer'> 1 </cn> </apply> </apply> <apply> <power /> <apply> <times /> <pi /> <imaginaryi /> </apply> <ci> j </ci> </apply> <apply> <ci> HypergeometricPFQRegularized </ci> <list> <apply> <plus /> <ci> z </ci> <cn type='integer'> 1 </cn> </apply> <ci> &#8230; </ci> <apply> <plus /> <ci> z </ci> <cn type='integer'> 1 </cn> </apply> </list> <list> <apply> <plus /> <ci> z </ci> <cn type='integer'> 2 </cn> </apply> <ci> &#8230; </ci> <apply> <plus /> <ci> z </ci> <cn type='integer'> 2 </cn> </apply> </list> <cn type='integer'> 1 </cn> </apply> </apply> </apply> </apply> <apply> <ci> D </ci> <apply> <ci> Gamma </ci> <apply> <plus /> <ci> z </ci> <cn type='integer'> 1 </cn> </apply> </apply> <list> <apply> <plus /> <ci> z </ci> <cn type='integer'> 1 </cn> </apply> <ci> n </ci> </list> </apply> </apply> </apply> </apply> <apply> <and /> <apply> <eq /> <apply> <ci> Subscript </ci> <ci> a </ci> <cn type='integer'> 1 </cn> </apply> <apply> <ci> Subscript </ci> <ci> a </ci> <cn type='integer'> 2 </cn> </apply> <ci> &#8230; </ci> <apply> <ci> Subscript </ci> <ci> a </ci> <apply> <plus /> <ci> n </ci> <cn type='integer'> 1 </cn> </apply> </apply> <apply> <plus /> <ci> z </ci> <cn type='integer'> 1 </cn> </apply> </apply> <apply> <in /> <ci> n </ci> <ci> &#8469; </ci> </apply> </apply> </apply> </annotation-xml> </semantics> </math>










Rule Form





Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List[SubscriptBox["\[PartialD]", RowBox[List[RowBox[List["{", RowBox[List["z_", ",", "n_"]], "}"]]]]], RowBox[List["Subfactorial", "[", "z_", "]"]]]], "]"]], "\[RuleDelayed]", RowBox[List[FractionBox[RowBox[List[RowBox[List[SuperscriptBox["Gamma", TagBox[RowBox[List["(", "n", ")"]], Derivative], Rule[MultilineFunction, None]], "[", RowBox[List["z", "+", "1"]], "]"]], "+", RowBox[List[SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], "z"], " ", RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["j", "=", "0"]], "n"], RowBox[List[SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], RowBox[List["n", "-", "j"]]], " ", RowBox[List["Binomial", "[", RowBox[List["n", ",", "j"]], "]"]], " ", RowBox[List[RowBox[List["(", RowBox[List["n", "-", "j"]], ")"]], "!"]], " ", SuperscriptBox[RowBox[List["Gamma", "[", RowBox[List["z", "+", "1"]], "]"]], RowBox[List["n", "-", "j", "+", "1"]]], " ", SuperscriptBox[RowBox[List["(", RowBox[List["\[Pi]", " ", "\[ImaginaryI]"]], ")"]], "j"], " ", RowBox[List["HypergeometricPFQRegularized", "[", RowBox[List[RowBox[List["{", RowBox[List[SubscriptBox["a", "1"], ",", SubscriptBox["a", "2"], ",", "\[Ellipsis]", ",", SubscriptBox["a", RowBox[List["n", "-", "j", "+", "1"]]]]], "}"]], ",", RowBox[List["{", RowBox[List[RowBox[List["1", "+", SubscriptBox["a", "1"]]], ",", RowBox[List["1", "+", SubscriptBox["a", "2"]]], ",", "\[Ellipsis]", ",", RowBox[List["1", "+", SubscriptBox["a", RowBox[List["n", "-", "j", "+", "1"]]]]]]], "}"]], ",", "1"]], "]"]]]]]]]]]], "\[ExponentialE]"], "/;", RowBox[List[RowBox[List[SubscriptBox["a", "1"], "\[Equal]", SubscriptBox["a", "2"], "\[Equal]", "\[Ellipsis]", "\[Equal]", SubscriptBox["a", RowBox[List["n", "+", "1"]]], "\[Equal]", RowBox[List["z", "+", "1"]]]], "&&", RowBox[List["n", "\[Element]", "Integers"]], "&&", RowBox[List["n", "\[GreaterEqual]", "0"]]]]]]]]]]










Date Added to functions.wolfram.com (modification date)





2007-05-02