Compute the golden string