{"id":"arxiv/2610.23958","url":"https://arxiv.org/abs/2610.23958","tags":["math.CO","cs.DM"],"score":0,"title":"Unranking $S$-avoiding permutations with two forbidden offsets","domain":"math.CO","source":"arxiv","authors":["Antônio Augusto André"],"reviews":0,"subject":"math.CO","summary":"Given a finite family of combinatorial objects with a total order, ranking asks for the position of a given object, and unranking asks for the object occupying a given position. Both provide algorithmic access to families too large to enumerate. Kagey gave a polynomial-time algorithm for several position-restricted families and left open the case of $\\{-1,1\\}$-avoiding permutations. We show that when $|S| = 2$, the graph of forbidden squares is $2$-regular, a disjoint union of cycles, and that fixing a prefix leaves only paths and untouched cycles. This yields polynomial-time prefix…","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"published":"2026-10-09","reactions":{}}