MathCastle
Proof Writing & Problem SolvingSuperchallenge

Proof Writing & Problem Solving · Superchallenge problem

McCarthy's function is defined for integers nn by M(n)=n−10M(n) = n - 10 if n>100n > 100, and M(n)=M(M(n+11))M(n) = M(M(n + 11)) if n≤100n \le 100. Find M(1)+M(2)+⋯+M(200)M(1) + M(2) + \cdots + M(200).

Practice more like this