|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/06.42.03.0005.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Subfactorial[-n] == ((-1)^n (I Pi + ExpIntegralEi[1]))/(E (n - 1)!) -
Sum[(-1)^(k - n)/Pochhammer[1 - n, k], {k, 1, n - 1}] /;
Element[n, Integers] && n > 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["Subfactorial", "[", RowBox[List["-", "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["n", "-", "1"]], ")"]], "!"]]]]], "-", " ", RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "1"]], RowBox[List["n", "-", "1"]]], FractionBox[SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], RowBox[List["k", "-", "n"]]], RowBox[List["Pochhammer", "[", RowBox[List[RowBox[List["1", "-", "n"]], ",", "k"]], "]"]]]]]]]]], "/;", " ", RowBox[List[RowBox[List["n", "\[Element]", "Integers"]], "\[And]", RowBox[List["n", ">", "0"]]]]]]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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> ⁡ </mo> <mo> ( </mo> <mrow> <mo> - </mo> <mi> n </mi> </mrow> <mo> ) </mo> </mrow> <mo>  </mo> <mrow> <mrow> <mfrac> <msup> <mrow> <mo> ( </mo> <mrow> <mo> - </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> <mi> n </mi> </msup> <mrow> <mi> ⅇ </mi> <mo> ⁢ </mo> <mrow> <mrow> <mo> ( </mo> <mrow> <mi> n </mi> <mo> - </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> <mo> ! </mo> </mrow> </mrow> </mfrac> <mo> ⁢ </mo> <mrow> <mo> ( </mo> <mrow> <mrow> <mi> ⅈ </mi> <mo> ⁢ </mo> <mi> π </mi> </mrow> <mo> + </mo> <mrow> <mi> Ei </mi> <mo> ⁡ </mo> <mo> ( </mo> <mn> 1 </mn> <mo> ) </mo> </mrow> </mrow> <mo> ) </mo> </mrow> </mrow> <mo> - </mo> <mrow> <munderover> <mo> ∑ </mo> <mrow> <mi> k </mi> <mo> = </mo> <mn> 1 </mn> </mrow> <mrow> <mi> n </mi> <mo> - </mo> <mn> 1 </mn> </mrow> </munderover> <mfrac> <msup> <mrow> <mo> ( </mo> <mrow> <mo> - </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> <mrow> <mi> k </mi> <mo> - </mo> <mi> n </mi> </mrow> </msup> <semantics> <msub> <mrow> <mo> ( </mo> <mrow> <mn> 1 </mn> <mo> - </mo> <mi> n </mi> </mrow> <mo> ) </mo> </mrow> <mi> k </mi> </msub> <annotation encoding='Mathematica'> TagBox[SubscriptBox[RowBox[List["(", RowBox[List["1", "-", "n"]], ")"]], "k"], Pochhammer] </annotation> </semantics> </mfrac> </mrow> </mrow> </mrow> <mo> /; </mo> <mrow> <mi> n </mi> <mo> ∈ </mo> <msup> <semantics> <mi> ℕ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalN]", Function[List[], Integers]] </annotation> </semantics> <mo> + </mo> </msup> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <ci> Condition </ci> <apply> <eq /> <apply> <ci> Subfactorial </ci> <apply> <times /> <cn type='integer'> -1 </cn> <ci> n </ci> </apply> </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 /> <ci> n </ci> <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> <times /> <cn type='integer'> -1 </cn> <apply> <sum /> <bvar> <ci> k </ci> </bvar> <lowlimit> <cn type='integer'> 1 </cn> </lowlimit> <uplimit> <apply> <plus /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </uplimit> <apply> <times /> <apply> <power /> <cn type='integer'> -1 </cn> <apply> <plus /> <ci> k </ci> <apply> <times /> <cn type='integer'> -1 </cn> <ci> n </ci> </apply> </apply> </apply> <apply> <power /> <apply> <ci> Pochhammer </ci> <apply> <plus /> <cn type='integer'> 1 </cn> <apply> <times /> <cn type='integer'> -1 </cn> <ci> n </ci> </apply> </apply> <ci> k </ci> </apply> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> </apply> </apply> <apply> <in /> <ci> n </ci> <apply> <ci> SuperPlus </ci> <integers /> </apply> </apply> </apply> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["Subfactorial", "[", RowBox[List["-", "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["n", "-", "1"]], ")"]], "!"]]]]], "-", RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "1"]], RowBox[List["n", "-", "1"]]], FractionBox[SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], RowBox[List["k", "-", "n"]]], RowBox[List["Pochhammer", "[", RowBox[List[RowBox[List["1", "-", "n"]], ",", "k"]], "]"]]]]]]], "/;", RowBox[List[RowBox[List["n", "\[Element]", "Integers"]], "&&", RowBox[List["n", ">", "0"]]]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|