Ad
  • Custom User Avatar

    While slower than the closed form, it certainly is more evocative of the actual problem description. And if it were written in 'math' (Capital Sigma notation), this would be defintion of the problem. Nice.