Sorry for the dumb wording, or asking a question that may have been answered before, I'm not familiar with the vocabulary so I don't really know how to ask the question or what to search for.
I can best explain what I'm looking for with an example.
Let's say you have a bag of marbles, 4 red and 1 blue. Whenever you pull a red marble, you replace it with a blue marble and return it to the bag, the odds of pulling a blue marble on the next turn are increased. Whenever you pull a blue marble you return all of the original red mables marbles back to the bag and remove all but 1 blue marble.
On turn 1 there's a 20% chance to pull the blue marble. If you pulled a red on turn 1, then there is a 40% chance to pull a blue on Turn 2, but if you did pull the blue on Turn 1 then there's a 20% chance to pull the blue on Turn 2.
So at first you have 20% chance, if you fail then you have a 40% chance, if you fail again then you have a 60% chance, if you fail again you have an 80% chance, and if you fail that you are gauranteed to get ablue on the 5th turn. Every time you pull a blue it resets back to 20%.
I wrote a program to simulate 1000 turns in a row, ran it multiple times, and I get results ranging from 375-420 blues per 1000 turns.
So I believe the answer is somewhere between 37.5% and 42%, but is there some sort of formula that can be used to calculate how likely you are to pull a blue without knowing what happened on previous turns?
[[0.2,0.8,0,0,0],[0.4,0,0.6,0,0],[0.6,0,0,0.4,0],[0.8,0,0,0,0.2],[1,0,0,0,0]]but I'm not sure what existing theorems you're talking about to figure out how often it goes to the 1st state. – Nick Nov 15 '18 at 17:07