subfactorial
Calculate derangements of n items using the subfactorial function to determine arrangements where no element appears in its original position.
Instructions
Calculate subfactorial !n (derangements of n items). (Domain: arithmetic, Category: basic_sequences)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |