Multifactorial: Difference between revisions
Content added Content deleted
(Updated to work with Nim 1.4: added missing parameter types, added missing '\n'.) |
Drkameleon (talk | contribs) No edit summary |
||
Line 268: | Line 268: | ||
=={{header|Arturo}}== |
=={{header|Arturo}}== |
||
⚫ | |||
⚫ | |||
{{trans|Nim}} |
|||
⚫ | |||
] |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
print "" |
print "" |
||
⚫ | |||
} |
|||
⚫ | |||
{{out}} |
{{out}} |
||
<pre>Degree 1: 1 2 6 24 120 720 5040 40320 362880 3628800 |
<pre>Degree 1 : 1 2 6 24 120 720 5040 40320 362880 3628800 |
||
Degree 2: 1 2 3 8 15 48 105 384 945 3840 |
Degree 2 : 1 2 3 8 15 48 105 384 945 3840 |
||
Degree 3: 1 2 3 4 10 18 28 80 162 280 |
Degree 3 : 1 2 3 4 10 18 28 80 162 280 |
||
Degree 4: 1 2 3 4 5 12 21 32 45 120 |
Degree 4 : 1 2 3 4 5 12 21 32 45 120 |
||
Degree 5: 1 2 3 4 5 6 14 24 36 |
Degree 5 : 1 2 3 4 5 6 14 24 36 50</pre> |
||
=={{header|AutoHotkey}}== |
=={{header|AutoHotkey}}== |