keisoku

Stirling Numbers of the First Kind Table (Unsigned)

Enter a maximum order N to generate the full triangle of unsigned Stirling numbers of the first kind c(n, k) from n=0 to N. Each row sums to n factorial.

Input

Enter a maximum order N to generate the triangle of unsigned Stirling numbers of the first kind c(n, k) from n=0 to N.

Integer from 0 to 12

Result

Sum of the n = 6 row

720

This equals 6 factorial (6!).

Triangle of unsigned Stirling numbers of the first kind

row n / col kk=0k=1k=2k=3k=4k=5k=6
n=01
n=101
n=2011
n=30231
n=4061161
n=50245035101
n=6012027422585151

Each cell is c(n, k). Entries where k exceeds n are left blank since they are undefined.

Maximum order N

6

Sum of the n = 6 row

720

How it works

  • The unsigned Stirling number of the first kind c(n, k) counts the ways to arrange n elements into k disjoint cycles.
  • It satisfies the recurrence c(n, k) = c(n-1, k-1) + (n-1) * c(n-1, k), with c(0, 0) = 1 and zero outside the valid range.
  • Each row sum Sum over k of c(n, k) equals n factorial, which serves as a useful check.
  • The signed Stirling number of the first kind is s(n, k) = (-1)^(n-k) * c(n, k); this tool shows the unsigned values.
  • All values are computed and displayed with arbitrary precision integers (BigInt) so large entries appear without rounding error.
  • The lower triangular table leaves entries with k greater than n blank, since they are not defined.

Reviews

Tell us what you think of this calculator.

Write a review

  1. Home
  2. Stirling Numbers of the First Kind Table (Unsigned)