(1!(1+1)+2!(2^2+1)+3!(3^2+1)+4!(4^2+1)+5!(5^2+1)+6!(6^2+1)+7!(7^2+1)+8!(8^2+1)+9!(9^2+1))/10!