Problem in odd integer

Sir/Ma’am,

If we are dealing odd integer then dp[(i+1)/2] + cost of doubling + cost of decrementing is used as dp[i+1] is not computer . why can’t we do the same for i/2 in the case of odd as well and why can’t we do that for i+1 in case of even i .

Refer Cell mitosis issue
This may clear your doubt

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.