Andy: Add the recursive formula for #10259.