What is S_m(n) if S_0(n)=1 and S_{m+1}(n)=\sum_{k=1}^n S_m(k) and m

Arslan Lyons

Arslan Lyons

Answered question

2022-02-26

What is Sm(n) if S0(n)=1 and Sm+1(n)=k=1nSm(k) and m and n are integers?

Answer & Explanation

Elijah Hunt

Elijah Hunt

Beginner2022-02-27Added 5 answers

Consider for each m0 the generating function fn(u,v)=umn0Sm(n)vn. Then your first condition on S0 implies that f0(u,v)=1v)1. The condition on Sm+1(n) implies that
u1vfm(u,v)=fm+1(u,v)
Indeed, multiplying by (1v)1 sums the v coefficients, an u just accounts for the shift from m to m+1.
It follows that fm(u,v)=um(1v)m+1. If you now sum over m, you will get that
f(u,v)=m0fm(u,v)=11v11u1v=11uv
Expanding now as geometric series in u+v, you will recognize that
f(u,v)=N0(u+v)N=N0(Nj)ujvNj
=m,n0(m+nn)umvn
asserena3wx

asserena3wx

Beginner2022-02-28Added 7 answers

Proposition:
Sm(n)=(n+m1)!m!(n1)!
=(n+m1)(n+m2)nm!
for m0, n1
Proof: for m=0
Sm(n)=S0(n)=(n1)!(n1)!=1
For m>0
Sm+1(n+1)Sm+1(n)=(n+m+1)!(m+1)!n!(n+m)!(m+1)!(n1)!
=(n+m+1)!(nm)!n(m+1)!n!
=(n+m)!m!n!
=Sm(n+1)
Then we have
Sm+1(n+1)=Sm(n+1)+Sm+1(n)
=Sm(n+1)+Sm(n)+Sm+1(n1)
=Sm(n+1)+Sm(n)+Sm(n1)+Sm+1(n2)
=
=k=1n+1Sm(k)
Therefore
Sm(n)=(n+m1)!m!(n1)!
is the solution. To prove it's only solution, you can assume there is another solution Sm(n), and prove by induction that Sm(n)Sm(n)=0 for m0 and n1.
You are actually not too far from the answer. You already have
S2(n)=n(n+1)2
Then you easily get

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?