a guest Jun 13th, 2018 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- sage: sum( [ (-1)^k * binomial(5,k) * factorial(7-k) for k in [0..5] ] )
- sage: len([ s for s in SymmetricGroup(7) if prod([s(k)-k for k in [1..5]]) ])
RAW Paste Data