00:01
On an island after n months.
00:01
And so first, if a .n.
00:04
Is months in the future, uh, the first thing is that any rabbits that are just a month old are not reproducing yet, right? so those rabbits will be the exact same number in this month as they were last month.
00:26
And so that gives us a m minus one is staying the same.
00:31
Uh, then for rabbits that are two, months old in this case these are each reproducing two pairs of rabbits so we need to take the number of rabbits that we have in the previous month subtract the number of ones that we had two months ago because that will tell us all the ones that are two months old and then these are all reproducing right so we're gonna multiply that by two and then the other condition here is that rabbits that are older than two months are having six babies right and so in this case, the rabbits that were born two months ago or n minus two earlier, each had six pairs of a babies.
01:33
So this is going to be six times a m minus two.
01:44
Okay.
01:45
And so if you combine all this and simplify it a little bit, combining the like terms.
01:50
So we have a .n minus one plus two, a .n minus one for three times a .n.
01:57
Minus one.
01:58
And then we're going to add the 6 a .m.
02:01
Minus 2, but minus the 2, a .n.
02:03
Minus 2, a .n.
02:05
Minus 2.
02:08
Okay, and this is our recurrence relation for the bunnies.
02:15
So that would be part a.
02:17
And so now we want to solve it.
02:23
So part b is to solve it after one pair is left on the island.
02:29
So that would mean a not is equal to 1.
02:32
And then we need to think to get our other initial conditions.
02:38
So at one month, the one -month -old pair of rabbits would have two new pairs of rabbits.
02:46
So a1 would need to be equal to three...