177k views
2 votes
D(1) = 1,d(n) = n.d(n-1) for n ≥ 2

1 Answer

4 votes

Assuming you're solving for
d(n), we have by substitution


d(n) = n d(n-1) \implies d(n-1) = (n-1) d(n-2) \\\\ ~~~~ \implies d(n) = n(n-1)d(n-2)


d(n) = n d(n-1) \implies d(n-2) = (n-2) d(n-3) \\\\ ~~~~ \implies d(n) = n(n-1)(n-2)d(n-3)


d(n) = n d(n-1) \implies d(n-3) = (n-3) d(n-4) \\\\ ~~~~ \implies d(n) = n(n-1)(n-2)(n-3) d(n-4)

and so on. After
k iterations of this, we have the pattern


d(n) = n(n-1)(n-2)\cdots(n-(k-3))(n-(k-2))(n-(k-1)) d(n-k)

so that after
k=n-1 iterations,


d(n) = n(n-1)(n-2)\cdots(n-(n-3))(n-(n-2)) d(n-(n-1)) \\\\ ~~~~= n(n-1)(n-2)\cdots3\cdot2\,d(1) \\\\ ~~~~ = \boxed{n!}

User Shreemaan Abhishek
by
8.1k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories