Compute the chances of birth for such an heir:

+

=

Source: The JavaScript Source