find the missing number in a series of natural numbers