The work performed by a partial function f:{1,...,n}->{1,...,n} is defined to be work(f)=sum(|i-f(i)|,i in dom(f)); a(n) is equal to sum(work(f)) where the sum is over all injective partial functions f:{1,...,n}->{1,...,n}.

A111874

The work performed by a partial function f:{1,...,n}->{1,...,n} is defined to be work(f)=sum(|i-f(i)|,i in dom(f)); a(n) is equal to sum(work(f)) where the sum is over all injective partial functions f:{1,...,n}->{1,...,n}.

Terms

    a(0) =0a(1) =4a(2) =56a(3) =680a(4) =8360a(5) =108220a(6) =1492624a(7) =21994896a(8) =346014960a(9) =5798797620a(10) =103251381640

External references