Replace the indices n-i-1 and n-i with n-i and n-i+1. Then, replace the indices n-i and n-i with n-i+1 and n-i+1. (Thanks to Eberhard Zehendner for his careful reading!)

Please don't hesitate to forward me any other bugs you find, but not grammatical errors since the book must be full ot them.