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7,3,5]=>1 [1,4,6,2,7,5,3]=>0 [1,4,6,3,2,5,7]=>1 [1,4,6,3,2,7,5]=>0 [1,4,6,3,5,2,7]=>1 [1,4,6,3,5,7,2]=>1 [1,4,6,3,7,2,5]=>1 [1,4,6,3,7,5,2]=>0 [1,4,6,5,2,3,7]=>1 [1,4,6,5,2,7,3]=>0 [1,4,6,5,3,2,7]=>0
search for individual values
searching the database for the individual values of this statistic
/ search for generating function
searching the database for statistics with the same generating function
click to show known generating functions       
Description
The number of occurrences of the arrow pattern 1-2 with an arrow from 1 to 2 in a permutation.
Let $\nu$ be a (partial) permutation of $[k]$ with $m$ letters together with dashes between some of its letters. An occurrence of $\nu$ in a permutation $\tau$ is a subsequence $\tau_{a_1},\dots,\tau_{a_m}$
such that $a_i + 1 = a_{i+1}$ whenever there is a dash between the $i$-th and the $(i+1)$-st letter of $\nu$, which is order isomorphic to $\nu$.
Thus, $\nu$ is a vincular pattern, except that it is not required to be a permutation.
An arrow pattern of size $k$ consists of such a generalized vincular pattern $\nu$ and arrows $b_1\to c_1, b_2\to c_2,\dots$, such that precisely the numbers $1,\dots,k$ appear in the vincular pattern and the arrows.
Let $\Phi$ be the map Mp00087inverse first fundamental transformation. Let $\tau$ be a permutation and $\sigma = \Phi(\tau)$. Then a subsequence $w = (x_{a_1},\dots,x_{a_m})$ of $\tau$ is an occurrence of the arrow pattern if $w$ is an occurrence of $\nu$, for each arrow $b\to c$ we have $\sigma(x_b) = x_c$ and $x_1 < x_2 < \dots < x_k$.
References
[1] Berman, Y., Tenner, B. E. Pattern-functions, statistics, and shallow permutations arXiv:2110.11146
Code
def vincular_occurrences_iterator(perm, pat, columns):
    perm = Permutation(perm)    
    for pos in perm.pattern_positions(pat):
        if all(pos[i-1]+1 == pos[i] for i in columns):
            yield tuple(pos)

from sage.combinat.permutation import to_standard
def arrow_occurrences_iterator(perm, pat, columns, arrows):
    perm = Permutation(perm)
    s = set(pat + [p for p, _ in arrows] + [q for _, q in arrows])
    k = max(s)
    assert min(s) == 1 and len(s) == k
    nu = to_standard(pat)
    sigma = perm.fundamental_transformation_inverse()
    for pos in vincular_occurrences_iterator(perm, nu, columns):
        x = [None]*k
        for i, a in enumerate(pos):
            x[pat[i]-1] = perm[a]
        for p, q in arrows:
            if x[p-1] is None and x[q-1] is None:
                raise ValueError("doesn't work for %s %s %s %s" % (perm, pat, columns, arrows))
            if x[p-1] is None:
                x[p-1] = sigma.inverse()(x[q-1])
            elif x[q-1] is None:
                x[q-1] = sigma(x[p-1])
        if (all(x[i] < x[i+1] for i in range(len(x)-1))
            and all(sigma(x[p-1]) == x[q-1] for p, q in arrows)):
            yield tuple(pos)

def arrow_occurrences(perm, pat, columns, arrows):
    return list(arrow_occurrences_iterator(perm, pat, columns, arrows))

def statistic(pi):
    return len(arrow_occurrences(pi, [1,2], [1], [[1,2]]))
Created
Oct 23, 2021 at 00:29 by Martin Rubey
Updated
Oct 23, 2021 at 00:29 by Martin Rubey