User blog comment:12AbBa/A function part I/@comment-34422464-20190909141146

start with nA(0)=n+1 makes analysis more convenient