# Mr. Rand Wise

I just stumbled across a collection of math problems on a blog by a Mr. Rand Wise. As an example, I find this one interesting. It is not too difficult, buy yet requires an inventive and structured approach. And it paves the road to generalizations.

After getting a formula for the general problem  (which I hope is correct), I checked the result with a simple Euler code.

$global s;$  s=s+100*x[1]+10*x[2]+x[3];