I hate to be Johnny Raincloud, but while I got to the provided date, I wonder if it might actually be 7 months sooner ...
Please correct me if I'm wrong. I'd appreciate every extra day I can get.
I had the same kind of problem, I had to interpret the assignment as if female rabbits start reproducing at 4 months but give birth the next month, so (> 4) and not (>= 4).
This is how I was able to get the right month, but I was still a little off on the exact population number, so there may be more to it than that.
Glad you guys spoke up!
This had me puzzled a bit as well. I solved it by interpreting it as though the comparison took place at the beginning of the month and any babies that were born during the month could not be counted until the start of the next month....which may be another way to get to the solution you both got to...
Here's a second solution.
you have me puzzeled, you mentioned 41 iteration but how with that number of iteration you end up on date 2022-08-02 shouldn't that date mean something like 48 iterations (it is 4 years from starting date) , or alternatively with 41 iteration shouldn't you end around 2022-01-02?