Jump to content

Left factorials: Difference between revisions

m
added whitespace before the preamble headers.
m (added whitespace before the preamble headers.)
Line 12:
 
<br>This Rosetta Code task will be using this formula for '''left factorial''':
<big><big>
::: &nbsp; <math> !n = \sum_{k=0}^{n-1} k! </math>
</big></big>
where
<big><big>
::: &nbsp; <math>!0 = 0</math>
</big></big>
 
 
;Task
Display the left factorials for:
Line 21 ⟶ 27:
Display the length (in decimal digits) of the left factorials for:
* 1,000, &nbsp; 2,000 &nbsp; through &nbsp; 10,000 &nbsp; (inclusive), by thousands.
 
 
;Also see
* The OEIS entry: [http://oeis.org/A003422 A003422 left factorials]
Line 27 ⟶ 35:
* The MathWorld entry: [http://mathworld.wolfram.com/Subfactorial.html subfactorial]
* The Rosetta Code entry: [http://rosettacode.org/wiki/Permutations/Derangements permutations/derangements (subfactorials)]
<br><br>
 
 
 
=={{header|Bracmat}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.