Cell mitosis recurence relation

how did the recurence relation became
f(i)=min(i/2,i+1,i-1) from
f(i)=min(2*i,i+1,i-1)

i depend on 2i , not on i/2;
please help me.

Hey the first relation is to be used when we are starting from N and reaching 1(reverse)
Second is for situation we start from 1 and how can we reach N
Both will give same answer , the difference only being that once we start from bottom in another we start from top.

1 Like

thanks. gave 5 stars.

1 Like

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.