Dark theme

Rabbits!


There are two rabbits. Each pair of rabbits has four young, then dies. How many rabbits are there in the 20th generation? Hint: write the code then test it with a calculator for the first three generations.


Hints and one answer