Zargon Bacteria


On the Planet Zarg, bacteria have developed a rather unusual way of reproducing. Rather than “splitting” into two bacteria like normal, Earth bacteria, they split into the same number of bacteria as the generations they themselves have been alive for. For example, a new bacterium would split into one bacterium (and thus not produce any offspring), whereas a bacterium in it’s third generation would split into three bacterium including itself (thus producing two offspring). After 5 generations, a Zargon bacterium dies. Find the number of Zargon bacteria alive after 100 generations of one single bacterium.

Remember, to solve this puzzle and appear on the leaderboard, email both your solution and your source code (in any language) to lewiscornwall13@gmail.com. Good luck!!

View all puzzles »

Advertisements