Omg, I wish I had read this earlier. Today I was chaining and I broke a chain at 41! I had no idea the chance of seeing a shiny maxed out at 40... The funny thing is, it was a pokerader-only pokemon too. That was the highest chain I've ever done.
Very useful information, thanks. =)