I have encountered a game mechanic that takes repeated arithmetic to figure out, so I was wondering if it could be made simpler by finding an equation to solve.
In this game, there are resources that can each be used only once each turn. A particular "special" move in this game uses 5 resources, but creates 1 resource, which is immediately ready for use. This resource will stay on subsequent turns. EDIT: There will always be a whole number of resources; there can't be 1.5 resources, for example.
For example, I start with 29 resources, make this "special" move 5 times, using 25 resources, but creating 5 more. I then have 9 unused resources. I use 5 of those resources to create 1 more, leaving me with 5 unused resources. After using these last 5, I end up with 36 resources. The next turn, I can use these in the same manner. The difficulty comes when you have resources numbered in the hundreds or thousands.
My question is two-fold: 1. If you start with X resources, is there an equation that will show you many resources you will have at the end of the turn, or after Y turns? 2. How many turns will it take before you have Z resources?
Note: For those curious enough, an example of this mechanic can be found in the game Magic: The Gathering on the card Sprout Swarm