Need responses for a,b, and c. Let Ln,k denote the number of ordered k-lists wit
ID: 2900657 • Letter: N
Question
Need responses for a,b, and c.
Explanation / Answer
a) when k = 0, we have 1 list.
However, when n = 0, we have 0 list.
If k>n, again we have 0 list as it is impossible.
Yes, these are the boundary cases and they do give reasonable values for L_n,k .
b)
( I do not know which Sturling numbers example you are talking of.)
L_n,k = L_n-1,k + L_n-1, k-1
This recursion is valid for all n and k such that
n >= 1
k >= 1
n > k
c) The initial condition is
L_0,0 = 0 and
L_1,0 = 1
these are the initial conditions because the recursive statement reduces to the minimum value of n and k which in this case
are n-1 and k-1 respectively.
since we saw in (a) that for
n = non zero, k = 0 : 1 list
n = zero, k = zero : 0 list
hence
these are the boundary conditions.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.