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 partial functions f:{1,...,n}->{1,...,n}.
A111873
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 partial functions f:{1,...,n}->{1,...,n}.
Terms
- a(0) =0a(1) =6a(2) =128a(3) =2500a(4) =51840a(5) =1176490a(6) =29360128a(7) =803538792a(8) =24000000000a(9) =778122738030
External references
- oeis: A111873