803538792domain: NAppears in sequencesa(n) = (n+1)*(n+6)*3^n/6.at n=15A080420The 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}.at n=7A111873