Number pair with condition

See: