Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Thank you for the compliments. I think there is some inconsistency in the question by Leitz, but I simply chose to start the indices at 1 in my answer and I tried to be consistent with it. Probably 0 would have been a better choice as that is the choice in the referenced paper.