Break recursive_probabilities up into 3 separate methods
Attempt to split repeat_n_sum_k into 3 methods