Skip to content
Back to skills

Combinatorics

ASecurity

Permutations, combinations, inclusion-exclusion, pigeonhole principle, and generating functions.

  • 8 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 9, 2026
ai-agentsgo

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add hamzabellouch/agent-skills --skill combinatorics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Combinatorics?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Combinatorics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hamzabellouch-combinatorics/badge)](https://www.skillsdirectory.com/skills/hamzabellouch-combinatorics)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.