Given an item with a value of X, it has a 50% chance to split/double, so now we have two items, each with value X. They each have separate, and half the chance to split as their parent object, so each one has in this case 25% chance to split. How can I calculate the average number of items, given that the initial chance to split is instead Y, and assuming it can theoretically split forever, and if the splits is also capped to some number N. Maybe format from 1 to N, where N could be infinity?