Random Algorithm sums