Best use case
combinatorics-calculator is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Calculate combinatorial values with modular arithmetic
Teams using combinatorics-calculator should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/combinatorics-calculator/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How combinatorics-calculator Compares
| Feature / Agent | combinatorics-calculator | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Calculate combinatorial values with modular arithmetic
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Combinatorics Calculator Skill
## Purpose
Calculate combinatorial values with modular arithmetic support for competitive programming applications.
## Capabilities
- Factorial and inverse factorial precomputation
- nCr, nPr with modular arithmetic
- Catalan, Stirling, Bell numbers
- Lucas theorem implementation
- Inclusion-exclusion principle application
- Generating functions
## Target Processes
- combinatorics-counting
- number-theory-algorithms
- dp-pattern-matching
## Combinatorial Functions
### Basic Counting
- Factorial: n!
- Permutations: P(n,r) = n!/(n-r)!
- Combinations: C(n,r) = n!/(r!(n-r)!)
### Special Numbers
- Catalan numbers
- Stirling numbers (first and second kind)
- Bell numbers
- Derangements
### Advanced Techniques
- Lucas theorem (for large n, small p)
- Inclusion-exclusion
- Burnside's lemma
- Generating functions
## Input Schema
```json
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"enum": ["nCr", "nPr", "factorial", "catalan", "stirling", "lucas", "precompute"]
},
"n": { "type": "integer" },
"r": { "type": "integer" },
"mod": { "type": "integer" },
"precomputeLimit": { "type": "integer" }
},
"required": ["operation"]
}
```
## Output Schema
```json
{
"type": "object",
"properties": {
"success": { "type": "boolean" },
"result": { "type": "integer" },
"code": { "type": "string" },
"formula": { "type": "string" }
},
"required": ["success"]
}
```Related Skills
typography-calculator
Calculate typography scales, metrics, and responsive font sizing
prioritization-calculator
Automated calculation and scoring for product prioritization frameworks including RICE, ICE, MoSCoW, and custom weighted scoring. Normalizes scores, validates inputs, and generates priority rankings with confidence intervals.
power-analysis-calculator
Skill for statistical power analysis and sample size calculation
vasp-dft-calculator
VASP DFT calculation skill for electronic structure, band structures, and materials property predictions
madgraph-amplitude-calculator
MadGraph matrix element calculation skill for BSM physics, cross-section computation, and event generation
camb-cosmology-calculator
CAMB cosmological perturbation skill for CMB power spectra, matter power spectra, and cosmological parameter estimation
power-sample-size-calculator
Statistical power analysis and sample size determination
takt-time-calculator
Takt time and cycle time analysis skill for production line balancing and capacity planning.
niosh-lifting-calculator
NIOSH Lifting Equation calculator for manual material handling risk assessment.
asymptotic-notation-calculator
Automated derivation and simplification of Big-O, Big-Omega, and Big-Theta expressions for algorithm analysis
approximation-ratio-calculator
Analyze and prove approximation ratios for optimization algorithms
wind-load-calculator
Wind load calculation skill per ASCE 7 for MWFRS and components and cladding