Robert Dodier - 2 hours ago

Thanks for the bug report. Can you clarify the final comment: "Closed form: S(n) = 2^n*(3*n+4)/6 - 2*(-1)^n/3"? I don't understand what that is referring to.