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
[5,4,-,2,1]=>-3
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
Description
Sum of decorated fixed points as signed integers.
Every fixed point decorated with a '+' is treated as a positive integer, and every fixed point decorated with a '-' is treated as a negative integer.
Every fixed point decorated with a '+' is treated as a positive integer, and every fixed point decorated with a '-' is treated as a negative integer.
Code
def fixed_points_with_signs(pi): pi = list(pi) tau = [] for i,a in enumerate(pi): if i+1==abs(a): tau.append(pi[i]) return tau def statistic(pi): return sum(list(fixed_points_with_signs(pi)))
Created
May 11, 2020 at 18:39 by James Thorne
Updated
May 11, 2020 at 18:39 by James Thorne
searching the database
Sorry, this statistic was not found in the database
or
add this statistic to the database – it's very simple and we need your support!