Thanks, good catch. I updated the post with your corrections and some clarifications.

]]>* formula (12) and the final recursive formula should have “m(m+1)” instead of “m(m-1)”

* the formula for n <= 1 should return "n" instead of "1", because S(0,r)=0 ]]>