gwern answers Generalize Kelly to Account for # Iterations?