Exact solution of the Bellman equation for a β-discounted reward in a two-armed bandit with switching arms. (1999)