Skip to main content

how How to solve the recursive formula $P(n)=\sum_{k=1}^{n-1}P(k)P(n-k)$

edited tags
Link
YCor
  • 63.9k
  • 5
  • 187
  • 286
English edits; fixed TeX in title.
Source Link
David Roberts
  • 35.5k
  • 11
  • 124
  • 349

how to solve the recursive formula $P(n)=sum_=\sum_{k=1}^{n-1}P(k)P(n-k)$

I saw this recursive formula in a slide on algorithm design.

  It talks about matrix chain-multiplication, and its complexity is shown below.

  But according the recursive formula, I can't figure out the solution in the slides.

$$ P(n)= \begin{equation} \left\{ \begin{array}{lr} 1, & n=1.\\ \sum_{k=1}^{n-1}P(k)P(n-k), & n>1 \end{array} \right. \end{equation} \Rightarrow P(n)=\Omega(4^n/n^{3/2}) $$

I wonder how to getarrive at the solution, thanks a lot shown.

how to solve the recursive formula $P(n)=sum_{k=1}^{n-1}P(k)P(n-k)$

I saw this recursive formula in a slide on algorithm design.

  It talks about matrix chain-multiplication, and its complexity is shown below.

  But according the recursive formula, I can't figure out the solution in the slides.

$$ P(n)= \begin{equation} \left\{ \begin{array}{lr} 1, & n=1.\\ \sum_{k=1}^{n-1}P(k)P(n-k), & n>1 \end{array} \right. \end{equation} \Rightarrow P(n)=\Omega(4^n/n^{3/2}) $$

I wonder how to get the solution, thanks a lot.

how to solve the recursive formula $P(n)=\sum_{k=1}^{n-1}P(k)P(n-k)$

I saw this recursive formula in a slide on algorithm design. It talks about matrix chain-multiplication, and its complexity is shown below. But according the recursive formula, I can't figure out the solution in the slides.

$$ P(n)= \begin{equation} \left\{ \begin{array}{lr} 1, & n=1.\\ \sum_{k=1}^{n-1}P(k)P(n-k), & n>1 \end{array} \right. \end{equation} \Rightarrow P(n)=\Omega(4^n/n^{3/2}) $$

I wonder how to arrive at the solution shown.

Source Link
gds
  • 41
  • 2
Loading