find the missing number in the pattern calculator