Kobayashi inputs 1,2,3,..., n into the computer and calculates the average. The computer shows that there are only n-1 numbers, with an average of 26.2. What is the missing number?

Kobayashi inputs 1,2,3,..., n into the computer and calculates the average. The computer shows that there are only n-1 numbers, with an average of 26.2. What is the missing number?

(n+1)*n/2-26.2*(n-1)=x
x=16
n=51
That is, 16 (1 + 51) * 51 / 2 = 1326 is omitted
But 16 was left out, so the result was that 1310 computers recorded n-1, number = 50
So 1310 / 50 = 26.2