OFFSET
0,4
COMMENTS
Equally: main diagonal of A261217.
For permutation p, which has rank n in permutation list A060117, a(n) gives the rank of the "square" of that permutation (obtained by composing it with itself as: q(i) = p(p(i))) in the same list. Equally, if permutation p has rank n in the order used in list A060118, a(n) gives the rank of the p*p in that same list. Thus zeros (which mark the identity permutation, with rank 0 in both orders) occur at positions where the permutations of A060117 (equally: of A060118) are involutions, listed by A261220.
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..5040
FORMULA
CROSSREFS
Cf. A261220 (the positions of zeros).
KEYWORD
nonn
AUTHOR
Antti Karttunen, Aug 26 2015
STATUS
approved