"Children of Time" (DS9): How long to turn a colony of 47 people into one of 8,000?

Here’s more on the episode (and hey, I know one of the writers! I’ll tell him about this thread): Children of Time (episode) | Memory Alpha | Fandom

This is discussed and similarly treated in the pretty good post-apocalyptic novel The Last Ship by William Brinkley (very different from the TV series of the same name), in which a U.S. Navy destroyer with both male and female crewmembers survives a full-on global nuclear war.

As it happens, I started a thread on this question awhile back: After Doomsday, what is the smallest possible genetically-viable human population?