Contagious diseases can spread very quickly. Supposed five people are ill during the first week of an epidemic and that each person who is ill spreads the disease to four people by the end of the next week. By the end of the tenth week how many people have been affected by the illness?
I can't figure out how to set this up.