The_Twisted_Ear
A proud Conservative!
Theoretically, two rabbits could produce how many offspring in three years?
a: 3 million
b: 33 million
c: 333 million?
a: 3 million
b: 33 million
c: 333 million?
Theoretically, two rabbits could produce how many offspring in three years?
a: 3 million
b: 33 million
c: 333 million?
I seem to remember this one uses the fibonacci series, no?
so:
1 + 1 + 2 + 3 + 5 + 8 + 13 ....
F(n) = 0 if n = 0
F(n) = 1 if n = 1
F(n) = F(n - 1) + F(n - 2) if n > 1
So plug and chug from there...
It's trivial if you write a comp program to do it..
It deals with recursion. Each 'bit' of the function is computed and passed to itself thus recurring until a known case is found... Then it works its way back up the chain for the final answer...
This is assuming all rabbits breed in pairs and result in pairs and the laws of insest is ignored right?
33 M? :shrug:
Correct!
b: 33 million
Tomorrow's will be tougher!
Correct!
b: 33 million
Tomorrow's will be tougher!