Back to skills
SKILL.md
Combinatorics
ASecurityPermutations, combinations, inclusion-exclusion, pigeonhole principle, and generating functions.
- 8 stars
- 0 votes
- 0 copies
- 1 view
- Added November 9, 2026
Security analysis
100/100npx -y skills add hamzabellouch/agent-skills --skill combinatorics --agent claude-codeAre you the author of Combinatorics?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hamzabellouch-combinatorics)---
name: combinatorics
description: Permutations, combinations, inclusion-exclusion, pigeonhole principle, and generating functions.
metadata:
category: Discrete Mathematics and Combinatorics
---
# Combinatorics
## Domain
Counting and arrangement.
## Core Concepts
- Permutations, combinations
- Binomial and multinomial coefficients
- Inclusion–exclusion
- Generating functions
- Partitions, Stirling numbers
## Key Methods
- Stars and bars
- Inclusion–exclusion principle
- Recursion + generating functions
- Double counting
## Canonical Examples
- C(n,k) = n!/(k!(n-k)!).
- Number of onto functions = inclusion–exclusion.
- Catalan numbers: C_n = (1/(n+1))·C(2n,n).
## Common Pitfalls
- Counting ordered vs. unordered
- Overcounting in inclusion–exclusion
- Forgetting empty set / empty arrangement
## Related Skills
Discrete Math, Probability, Graph Theory
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.