function searchRight( x, k, r, p ) {
	while ( true ) {
		x += 1;
		if ( cdf( x, r, p ) >= k ) {
			return x;
		}
	}
}
Performs a search to the right.

@param {NonNegativeInteger} x - starting guess
@param {Probability} k - probability
@param {PositiveNumber} r - number of failures until experiment is stopped
@param {Probability} p - success probability
@returns {NonNegativeInteger} `k` quantile of the specified distribution