|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/06.42.03.0002.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Subfactorial[n] == Round[n!/E] /; Element[n, Integers] && n > 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["Subfactorial", "[", "n", "]"]], "\[Equal]", RowBox[List["Round", "[", " ", FractionBox[RowBox[List["n", "!"]], "\[ExponentialE]"], "]"]]]], "/;", 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> <mi> n </mi> <mo> ) </mo> </mrow> <mo>  </mo> <mrow> <mo> ⌊ </mo> <mfrac> <mrow> <mi> n </mi> <mo> ! </mo> </mrow> <mi> ⅇ </mi> </mfrac> <mo> ⌉ </mo> </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'> <mrow> <mrow> <mrow> <mi> Subfactorial </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> n </mi> <mo> ) </mo> </mrow> <mo>  </mo> <mrow> <mo> ⌊ </mo> <mfrac> <mrow> <mi> n </mi> <mo> ! </mo> </mrow> <mi> ⅇ </mi> </mfrac> <mo> ⌉ </mo> </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> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["Subfactorial", "[", "n_", "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List["Round", "[", FractionBox[RowBox[List["n", "!"]], "\[ExponentialE]"], "]"]], "/;", RowBox[List[RowBox[List["n", "\[Element]", "Integers"]], "&&", RowBox[List["n", ">", "0"]]]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|