My (minor) contribution to the question was made in a comment: @ Devendra Kapadia: Your reasoning seems to hold only for the sum of StirlingS2[2,k]
. Defining s[k_,n_]:=Sum[StirlingS2[i,k],{i,0,n}]
the call s[k,n]
gives correct symbolic results for $k = 1$ and $k =3,4,...$ but $n = 2$ fails.
Here I'd like to discuss briefly a spin-off of the problem.
Bob Hanlon suggested to find the correct symbolic formula using FindSequenceFunction[].
This works out correctly and quickly for the general case as well, and studying it leads to an interesting connection to a well known number theoretical function, the (von) Mangoldt function.
Define
s[k_, n_] := Sum[StirlingS2[i, k], {i, 0, n}]
Let us find the general symbolic formula using Bob Hanlon's procedure for the first few Terms:
t = Table[
FindSequenceFunction[s[k, #] & /@ Range[30]][n], {k, 1, 10}]
(* Out[10]=
{n, -1 + 2^n - n, 1/4 (3 - 2^(2 + n) + 3^n + 2 n),
1/36 (-11 + 9 2^(1 + n) + 2^(1 + 2 n) - 3^(2 + n) - 6 n),
1/288 (25 - 3 2^(4 + n) - 2^(4 + 2 n) + 4 3^(2 + n) + 3 5^n + 12 n), (-137 +
75 2^(2 + n) + 25 2^(3 + 2 n) - 100 3^(1 + n) + 2^(2 + n) 3^(1 + n) -
3 5^(2 + n) -
60 n)/7200, (1/43200)(147 - 45 2^(3 + n) - 25 2^(4 + 2 n) + 50 3^(2 + n) -
2^(3 + n) 3^(2 + n) + 9 5^(2 + n) + 10 7^n + 60 n), (1/2116800)(-1089 +
735 2^(2 + n) + 1225 2^(2 + 2 n) + 15 2^(2 + 3 n) - 490 3^(2 + n) -
147 5^(2 + n) + 49 6^(2 + n) - 10 7^(2 + n) - 420 n), (1/33868800)(2283 -
105 2^(6 + n) - 245 2^(6 + 2 n) - 15 2^(6 + 3 n) + 3920 3^(1 + n) -
49 2^(6 + n) 3^(1 + n) + 35 3^(1 + 2 n) + 588 5^(2 + n) + 80 7^(2 + n) +
840 n), (1/914457600)(-7129 + 2835 2^(3 + n) + 2205 2^(5 + 2 n) +
405 2^(5 + 3 n) - 560 3^(4 + n) - 35 3^(4 + 2 n) - 15876 5^(1 + n) +
7 2^(3 + n) 5^(1 + n) + 49 6^(4 + n) - 720 7^(2 + n) - 2520 n)}
*)
The denominators are
Denominator /@ t
(*
Out[16]= {1, 1, 4, 36, 288, 7200, 43200, 2116800, 33868800, 914457600}
*)
This sequence is
"https://oeis.org/A180170 a(0) = 1, a(n) = n*a(n-1)*A014963(n)."
where
"https://oeis.org/A014963 exponential of Mangoldt function M(n): a(n) = 1 unless n is a prime or prime power when a(n) = that prime."
The summation of the OP as well as the Mangoldt function is not discussed in http://mathworld.wolfram.com/StirlingNumberoftheSecondKind.html.