3 ms·
Given 11 numbers: n, n+1,...,n+10 the sum of 10 of them: 10*n+sum_conseq=2012 where max(sum_conseq)=0+1+...+10=(0+10)+(1+9)+(2+8)..=55 therefore erased
by d0mine 7y ago
Given 11 numbers: n, n+1,...,n+10
the sum of 10 of them:
10*n+sum_conseq=2012
where max(sum_conseq)=0+1+...+10=(0+10)+(1+9)+(2+8)..=55
therefore erased number is n+3 because (2012-55-3) divisible by 10
-> n=196.