Avatar of Lee
Lee
Flag for United Kingdom of Great Britain and Northern Ireland asked on

Calculating the maximum

Ok, a silly meme appeared on a well known social network. It seemed so ridiculous that I chimed in and derided it quickly with a throw-away comment. Then my problem solving brain woke up and thought, "hang on, could that figure be correct?", so I checked my thinking again. I immediately noticed my initial scoffing of the meme was incorrect based on the fact that I had misread it, but then I wondered what the real figure was and not being the best mathematician in the world, I decided to see if I could work it out. Then I got stuck, because other than doing a brute force attempt, I couldn't see a simple way of working it out. So, I thought I'd post here. The distilled meme is along the lines of:

"In six years with 2 litters of 6 - 10 puppies a year, one un-spayed female dog and her un-spayed offspring can theoretically produce 67,000 dogs."

There are some serious assumptions here which are:

She only produces females
All females reproduce at the same rate
All puppies survive

If we assume the maximum litter is 10 each, what is the final figure after a 6 year time span, starting with the first birth of 10 puppies from a 2 year old female? We will assume that the first litter arrives dead on the 2 year age for each dog and they reproduce at the stated rate.

My feeling is that there must be some sort of formula that can be used to work this out. It feels somewhat recursive but I got stuck and it's bugging me.

Anyone? If you get a figure, can you show how you worked it out? I'm stumped.
Math / SciencePuzzles / Riddles

Avatar of undefined
Last Comment
Lee

8/22/2022 - Mon
SOLUTION
ozo

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
Rgonzo1971

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ozo

Rgonzo1971 is correct, the 8 in http:#a40523339 should have been 9
leonstryker

At what age can dogs reproduce? We also need to assume that there is at least one male pup in the first litter and no additional pups will be born until he reaches reproduction age.
ozo

The stated assumption was "first birth of 10 puppies from a 2 year old female"
And there had to have been at least one male for that to have happened.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
leonstryker

Yes, but is it still around? Based on the question, I would say no, since the rest is based on "one un-spayed female dog and her un-spayed offspring"
ozo

The and her un-spayed offspring that we started with could have included a male and an unspecified number of additional females.

In other sources, first litter can occur in less than one year, but breeds with earlier puberty tend to be breeds with smaller litter sizes, so we can get to 67,000 sooner with litters of 6 instead of 10 with earlier litters.
Lee

ASKER
Assume that the females are being impregnated from dogs outside of the problem domain. They give birth at 2 years until the end of the 6th year, so 6 litters each. Also, as I stated, all pups born are females which go through the same cycle.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ozo

at 2 years until the end of their 6th year
that's a span of 4 years, which means 9 litters, or if you mean the their 6th year of fertility, that's 13 litters.  But either way, some of the ends of their 6th year would occur after the 6 year span of time from t=0
Lee

ASKER
Apologies, I notived that. They have a 6 year breeding span. I changed it to "the 6th year". So assume that the dogs are 2 when they start and 8 when they finish.
ozo

When the first female is 8, her offspring will not yet be 8.
Are we to continue counting until they are all 8, which would then be 14 years from the start?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Lee

ASKER
Just continuing for the breeding life span of the initial female. When her breeding lifespan stops, then the total count needs to be made.
SOLUTION
ozo

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Lee

ASKER
Thanks for putting it in a way I could understand.