main = print (a 0 10) where a k 1 = 52 - k a k n = k*(a k (n-1)) + (52-k)*(a (k+1) (n-1))
Standard input is empty
121376589000703452
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!