Skip to main content
Glama

derangement_calc

Read-onlyIdempotent

Count derangements—permutations with no fixed points—for a given size and optionally list every valid arrangement when enumeration is enabled.

Instructions

Count and optionally enumerate derangements (permutations with no fixed points).

Input Schema

NameRequiredDescriptionDefault
nYesSize of permutation (1-20)
enumerateNoList all derangements (n <= 8)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.11

TDQS

Score is being calculated.

Deploy Server

Other Tools