r-Stirling Numbers of the Second Kind
{nk}r
is the number of ways of partitioning the set {1,2,...,n} into k subsets such that {1,2,...,r} are in different blocks.
Recurrence
The r-Stirling numbers of the second kind follow the same recurrence as the normal Stirling numbers of the second kind, but with different starting parameters.
{nk}r=0 for n<r
{nk}r=1 for n=m=r
{kn}r=k{kn−1}+{k−1n−1} for n>r
Extra:
{kn}r={kn}r−1−(r−1){kn−1}r−1 for n≥r≥1
This formula is from Broder's article (linked below). There might be more formulas in it, and maybe in the OEIS entries too.
{mn}r=k∑(kn−r){m−rk}rn−r−k
https://math.stackexchange.com/questions/4371769/range-of-r-parameter-of-second-kind-r-stirling-numbers
gives:
{kn}r=i=0∑n(in){ki}rn−i
Be careful that there might be a mismatch in notation. It seems that the formula above produces
{k+rn+r}r=(...)
Identities
{nn}r=1 for n≥r
{mn}r=0 for m>n
{rn}r=rn−r for n≥r
Generating functions
There may be some errors from copying these functions from the original paper. The notation for falling/rising factorials isn't too clear. See the article below for the originals.
Exponential generating function
k∑{m+rk+r}rk!zk={m!1erz(ez−1)m,0,if m≥0,otherwise.
Ordinary generating functions
k∑{mk}rzk={(1−rz)(1−(r+1)z)⋯(1−mz)zm,0,if m≥r≥0,otherwise.
k∑{k+rn+r}rxk=(x+r)n,n≥0.
Double generating function
k,m∑{m+rk+r}rk!zktm=exp(t(ez−1)+rz).
Articles
Anderi Broder: The r-Stirling numbers