Why so complicated?
In reply to Re^3: for loops by Mr. Muskrat in thread Count every 3rd base occurence by Anonymous Monk