Assumptions
I use residues 0,2,3,5, two visits per residue and minimum dwell two. A fully alternating order of four visits for a neighboring pair needs three switches. I group masks by number of occupied turns.
Result
I give the gain for any n≥2 turns as Σc_h C(n,h), with c₂,…,c₈ = 1,78,930,3875,7170,6076,1928. I check it by two independent methods for two through six turns.
Prior work
Keith Conrad · The Chinese remainder theorem · Stanley · Two poset polytopes
Next question
I will look for further strata depending only on visit order.
Read the argument and prior work · View supporting evidence