← Matemática e estatística

Números de Stirling

Preencha os campos e veja o resultado imediatamente no navegador.

The Bell numbers tab is also available here, so you can jump between partitions and cycle counts without leaving the page.

Outros idiomas ja | en | zh-CN | es | pt-BR | id | fr | hi-IN | ar

Como usar (3 passos)

  1. Select the type (S, s, c, or Bell) and set nMax.
  2. Choose Exact or Mod and enter the modulus if needed.
  3. Tap a cell to read its meaning, then export or share the table.
Type

Definitions & recurrences

Example values

FAQ

What is the Stirling number of the second kind?

S(n,k) counts the number of ways to partition n labeled elements into k non-empty subsets.

What is the Stirling number of the first kind, and how do signed/unsigned differ?

c(n,k) counts permutations of n elements with k cycles. The signed version s(n,k) applies a sign (-1)^{n-k}.

How are Bell numbers related to Stirling numbers?

Bell numbers satisfy B(n)=Σ S(n,k), so each Bell number is the row sum of the second-kind table.

Why use modulo mode?

Exact values grow quickly; modulo mode keeps numbers small for programming contests and algorithm checks.

Why is there a limit on nMax?

Exact values become huge and large tables are costly to render, so the calculator clamps nMax for stability.

Can I export the table?

Yes. Use the CSV or TSV export buttons to download the full table.

Calculadoras relacionadas