Let S0<...=5. The intended linear free-phase quantity in161 is L = max {j-i+1 : all S_i,...,S_j lie in {a,a+2} modulo p for some a}. This is the intended maximum confirmed by its exact kill-graph method on the accepted grid, not a statement that its greedy implementation is exact on every input. Its arbitrary-input underestimate is already recorded in161/review75 and354. A fixed anchored phase and a cyclic seam are separate quantities. Encode each of the D-1 interior gaps as Z for0modp, P for+2modp, M for-2modp, and X otherwise. Let A be the regular language represented by Z*((PZ*MZ*)*(epsilon|PZ*) | (MZ*PZ*)*(epsilon|MZ*)) where juxtaposition is concatenation, | is union, * is Kleene star and epsilon is the empty word. The language contains only Z,P,M, with nonzero P/M letters alternating. The two-state graph has a Z loop at each state and P/M transitions in opposite directions. This is the standard alternate mark inversion language, already attributed in353/354. A free-phase deletion window has a residue walk confined to two residues separated by2. Z leaves its state fixed and each nonzero step changes state, forcing signs to alternate. Conversely any word in A visits at most two such residues, with its starting phase supplied by the first actual slot. Thus L = 1 + max {|v| : v is a contiguous factor of the finite interior gap-label word and v belongs to A}. An empty factor supplies L>=1 for nonempty D. This is an explicit reduction to the generic longest matching substring problem for a fixed regular expression. It is not the ordinary run of identical symbols, not RLL alone, and not merely the count or capacity of all allowed words. One may compute it by longest-prefix matches at every start, or by exact maximum-length state propagation with restart at every gap. A leftmost match or the historical single greedy residue-set scanner is not automatically the global maximum. The prime origin affects the actual input word, not the definition of this generic finite computation. Farzan/Nicolet PLDI2021 explicitly treats longest-substring regular-expression benchmarks; it does not study this specific AMI expression, prove a growing-prime bound or publish161's table. No matching engine, new table or numerical experiment ran here. For cyclic or infinite repeated words, define permitted start/end indices and length limits separately. The identity above applies to the finite linear cut only.161 independently reports agreement of its linear and cyclic implementations on its checked grid; that does not identify those conventions on all possible inputs.