Rabbit Puzzle
Let's assume that the room is large enough to hold infinite number of rabbits, and there is enough food, water etc. in the room for infinite number of rabbits. How many rabbits will be there in the room after n months?
-Pradeep
Join CrazyEngineers to reply, ask questions, and participate in conversations.
CrazyEngineers powered by Jatra Community Platform
@shalini-goel14-ASmC2J • Jul 2, 2009
@pradeep-agrawal-rhdX5z • Jul 2, 2009
@CrazyBoy • Jul 2, 2009
I have not calculated till now... but certainly this is not the asnwer..shalini_goel14Sorry , it will be sum of following series
(n-1) + (n-1)(n-2) +(n-1)(n-2)(n-3)+... [(n-1)(n-2)..{n-(n-1)}]
@shalini-goel14-ASmC2J • Jul 2, 2009
No each rabbit can give birth only in second month so for 1 month[i.e n=1] there will be 0 rabbit.crazyboyI have not calculated till now... but certainly this is not the asnwer..
Consider n= 1
As per your expression, value would be 0
However 1 rabit should be the value....
-CB
@pradeep-agrawal-rhdX5z • Jul 2, 2009
Yep, you are wrong here. Even in the first month we have 1 rabbit (the unique rabbit who starts the chain) 😀shalini_goel14No each rabbit can give birth only in second month so for 1 month[i.e n=1] there will be 0 rabbit.
PS: Correct me if wrong.
@shalini-goel14-ASmC2J • Jul 2, 2009
Ok, I got it , it is wrong. Will post later the correct answer. 😀pradeep_agrawalYep, you are wrong here. Even in the first month we have 1 rabbit (the unique rabbit who starts the chain) 😀
And a rabbit can give birth after second month (i.e., start of third month). This is the clarification i have done by editing the puzzle.
-Pradeep
@rajdeepce-7UdrG8 • Jul 2, 2009
@CrazyBoy • Jul 2, 2009
@rajdeepce-7UdrG8 • Jul 2, 2009
@pradeep-agrawal-rhdX5z • Jul 3, 2009
Yes that the correct answer that the number of rabbits on nth day will be the nth element of the fibonacci series.RajdeepCESo the answer will be nth element of fibonacci series.
I feel you mean to say "f(1)=f(2)=1" instead of "f(n-1)=f(n-2)=1".RajdeepCEAnd the equation of fibonacci series is,
f(n)=f(n-1)+f(n-2), n=2,3,4,... & f(n-1)=f(n-2)=1.
@silverscorpion-iJKtdQ • Jul 4, 2009
{[(1+sqrt(5))/2][sup]n[/sup] - [(1-sqrt(5))/2][sup]n[/sup]} / sqrt(5)ie.,
{phi[sup]n[/sup] - 1/phi[sup]n[/sup]} / sqrt(5);Am I correct??
@pradeep-agrawal-rhdX5z • Jul 4, 2009
@silverscorpion-iJKtdQ • Jul 5, 2009
@pradeep-agrawal-rhdX5z • Jul 5, 2009
@silverscorpion-iJKtdQ • Jul 5, 2009
@mech-guy-TMwuj2 • Jul 5, 2009
@pradeep-agrawal-rhdX5z • Jul 5, 2009
@mech-guy-TMwuj2 • Jul 5, 2009
@silverscorpion-iJKtdQ • Jul 5, 2009
@mech-guy-TMwuj2 • Jul 5, 2009
@silverscorpion-iJKtdQ • Jul 6, 2009
mech_guyHi SilverScorpion,
Agreed its not a Fibonacci series.
And yes my solution is wrong, i messed it up after 6 month onwards. It was a bad try.
Regards