2009-10-05, 10:27
本人是mathematica小白,超白的那种,。现在在读一门概率课,课本身不是很难,但是老师特喜欢出mathematcia题。
以下就是一道题,请各位高手帮忙解答一下,然后好好看看到底要怎么做。
Using Mathematica, write a program that
counts the number of permutations of the set {1, 2, . . . , n} with fixed points. Print out
your code and the results of test-runs for n = 2, 5, 8.
万分感谢
以下就是一道题,请各位高手帮忙解答一下,然后好好看看到底要怎么做。
Using Mathematica, write a program that
counts the number of permutations of the set {1, 2, . . . , n} with fixed points. Print out
your code and the results of test-runs for n = 2, 5, 8.
万分感谢