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] > Specific values > Specialized values





http://functions.wolfram.com/06.42.03.0006.01









  


  










Input Form





Subfactorial[n] == ((-1)^n (I Pi + ExpIntegralEi[1]))/(E (-n - 1)!) + Sum[(-1)^k/Pochhammer[n + 1, k - n], {k, 0, n}] - Sum[(-1)^k/Pochhammer[n + 1, k - n], {k, n + 1, -1}] /; Element[n, Integers]










Standard Form





Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["Subfactorial", "[", "n", "]"]], "\[Equal]", RowBox[List[FractionBox[RowBox[List[SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], "n"], " ", RowBox[List["(", RowBox[List[RowBox[List["\[ImaginaryI]", " ", "\[Pi]"]], "+", RowBox[List["ExpIntegralEi", "[", "1", "]"]]]], ")"]]]], RowBox[List["\[ExponentialE]", RowBox[List[RowBox[List["(", RowBox[List[RowBox[List["-", "n"]], "-", "1"]], ")"]], "!"]]]]], "+", " ", RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "0"]], "n"], FractionBox[SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], "k"], RowBox[List["Pochhammer", "[", RowBox[List[RowBox[List["n", "+", "1"]], ",", RowBox[List["k", "-", "n"]]]], "]"]]]]], "-", RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", RowBox[List["n", "+", "1"]]]], RowBox[List["-", "1"]]], FractionBox[SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], "k"], RowBox[List["Pochhammer", "[", RowBox[List[RowBox[List["n", "+", "1"]], ",", RowBox[List["k", "-", "n"]]]], "]"]]]]]]]]], "/;", " ", RowBox[List["n", "\[Element]", "Integers"]]]]]]










MathML Form







<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <mrow> <mrow> <mi> Subfactorial </mi> <mo> &#8289; </mo> <mo> ( </mo> <mi> n </mi> <mo> ) </mo> </mrow> <mo> &#63449; </mo> <mrow> <mrow> <mfrac> <mrow> <msup> <mrow> <mo> ( </mo> <mrow> <mo> - </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> <mi> n </mi> </msup> <mtext> </mtext> </mrow> <mrow> <mi> &#8519; </mi> <mo> &#8290; </mo> <mrow> <mrow> <mo> ( </mo> <mrow> <mrow> <mo> - </mo> <mi> n </mi> </mrow> <mo> - </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> <mo> ! </mo> </mrow> </mrow> </mfrac> <mo> &#8290; </mo> <mrow> <mo> ( </mo> <mrow> <mrow> <mi> &#8520; </mi> <mo> &#8290; </mo> <mi> &#960; </mi> </mrow> <mo> + </mo> <mrow> <mi> Ei </mi> <mo> &#8289; </mo> <mo> ( </mo> <mn> 1 </mn> <mo> ) </mo> </mrow> </mrow> <mo> ) </mo> </mrow> </mrow> <mo> + </mo> <mrow> <munderover> <mo> &#8721; </mo> <mrow> <mi> k </mi> <mo> = </mo> <mn> 0 </mn> </mrow> <mi> n </mi> </munderover> <mfrac> <msup> <mrow> <mo> ( </mo> <mrow> <mo> - </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> <mi> k </mi> </msup> <semantics> <msub> <mrow> <mo> ( </mo> <mrow> <mi> n </mi> <mo> + </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> <mrow> <mi> k </mi> <mo> - </mo> <mi> n </mi> </mrow> </msub> <annotation encoding='Mathematica'> TagBox[SubscriptBox[RowBox[List[&quot;(&quot;, RowBox[List[&quot;n&quot;, &quot;+&quot;, &quot;1&quot;]], &quot;)&quot;]], RowBox[List[&quot;k&quot;, &quot;-&quot;, &quot;n&quot;]]], Pochhammer] </annotation> </semantics> </mfrac> </mrow> <mo> - </mo> <mrow> <munderover> <mo> &#8721; </mo> <mrow> <mi> k </mi> <mo> = </mo> <mrow> <mi> n </mi> <mo> + </mo> <mn> 1 </mn> </mrow> </mrow> <mrow> <mo> - </mo> <mn> 1 </mn> </mrow> </munderover> <mfrac> <msup> <mrow> <mo> ( </mo> <mrow> <mo> - </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> <mi> k </mi> </msup> <semantics> <msub> <mrow> <mo> ( </mo> <mrow> <mi> n </mi> <mo> + </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> <mrow> <mi> k </mi> <mo> - </mo> <mi> n </mi> </mrow> </msub> <annotation encoding='Mathematica'> TagBox[SubscriptBox[RowBox[List[&quot;(&quot;, RowBox[List[&quot;n&quot;, &quot;+&quot;, &quot;1&quot;]], &quot;)&quot;]], RowBox[List[&quot;k&quot;, &quot;-&quot;, &quot;n&quot;]]], Pochhammer] </annotation> </semantics> </mfrac> </mrow> </mrow> </mrow> <mo> /; </mo> <mrow> <mi> n </mi> <mo> &#8712; </mo> <semantics> <mi> &#8484; </mi> <annotation encoding='Mathematica'> TagBox[&quot;\[DoubleStruckCapitalZ]&quot;, Function[List[], Integers]] </annotation> </semantics> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <ci> Condition </ci> <apply> <eq /> <apply> <ci> Subfactorial </ci> <ci> n </ci> </apply> <apply> <plus /> <apply> <times /> <apply> <times /> <apply> <power /> <cn type='integer'> -1 </cn> <ci> n </ci> </apply> <apply> <power /> <apply> <times /> <exponentiale /> <apply> <factorial /> <apply> <plus /> <apply> <times /> <cn type='integer'> -1 </cn> <ci> n </ci> </apply> <cn type='integer'> -1 </cn> </apply> </apply> </apply> <cn type='integer'> -1 </cn> </apply> </apply> <apply> <plus /> <apply> <times /> <imaginaryi /> <pi /> </apply> <apply> <ci> ExpIntegralEi </ci> <cn type='integer'> 1 </cn> </apply> </apply> </apply> <apply> <sum /> <bvar> <ci> k </ci> </bvar> <lowlimit> <cn type='integer'> 0 </cn> </lowlimit> <uplimit> <ci> n </ci> </uplimit> <apply> <times /> <apply> <power /> <cn type='integer'> -1 </cn> <ci> k </ci> </apply> <apply> <power /> <apply> <ci> Pochhammer </ci> <apply> <plus /> <ci> n </ci> <cn type='integer'> 1 </cn> </apply> <apply> <plus /> <ci> k </ci> <apply> <times /> <cn type='integer'> -1 </cn> <ci> n </ci> </apply> </apply> </apply> <cn type='integer'> -1 </cn> </apply> </apply> </apply> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <sum /> <bvar> <ci> k </ci> </bvar> <lowlimit> <apply> <plus /> <ci> n </ci> <cn type='integer'> 1 </cn> </apply> </lowlimit> <uplimit> <cn type='integer'> -1 </cn> </uplimit> <apply> <times /> <apply> <power /> <cn type='integer'> -1 </cn> <ci> k </ci> </apply> <apply> <power /> <apply> <ci> Pochhammer </ci> <apply> <plus /> <ci> n </ci> <cn type='integer'> 1 </cn> </apply> <apply> <plus /> <ci> k </ci> <apply> <times /> <cn type='integer'> -1 </cn> <ci> n </ci> </apply> </apply> </apply> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> </apply> </apply> <apply> <in /> <ci> n </ci> <integers /> </apply> </apply> </annotation-xml> </semantics> </math>










Rule Form





Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["Subfactorial", "[", "n_", "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List[FractionBox[RowBox[List[SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], "n"], " ", RowBox[List["(", RowBox[List[RowBox[List["\[ImaginaryI]", " ", "\[Pi]"]], "+", RowBox[List["ExpIntegralEi", "[", "1", "]"]]]], ")"]]]], RowBox[List["\[ExponentialE]", " ", RowBox[List[RowBox[List["(", RowBox[List[RowBox[List["-", "n"]], "-", "1"]], ")"]], "!"]]]]], "+", RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "0"]], "n"], FractionBox[SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], "k"], RowBox[List["Pochhammer", "[", RowBox[List[RowBox[List["n", "+", "1"]], ",", RowBox[List["k", "-", "n"]]]], "]"]]]]], "-", RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", RowBox[List["n", "+", "1"]]]], RowBox[List["-", "1"]]], FractionBox[SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], "k"], RowBox[List["Pochhammer", "[", RowBox[List[RowBox[List["n", "+", "1"]], ",", RowBox[List["k", "-", "n"]]]], "]"]]]]]]], "/;", RowBox[List["n", "\[Element]", "Integers"]]]]]]]]










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





2007-05-02