Moin,
Ups, es ist doch fakultät(n-1)
Noe ist es nicht. Die Lösung für n=3 ist 2 (312, 231) und für n=4 ist es 9 (2143, 2341, 2413, 3142, 3412, 3421, 4123, 4312, 4321).
--
Henryk Plötz
Grüße aus Berlin
~~~~~~~~ Un-CDs, nein danke! http://www.heise.de/ct/cd-register/ ~~~~~~~~
~~ Help Microsoft fight software piracy: Give Linux to a friend today! ~~
Henryk Plötz
Grüße aus Berlin
~~~~~~~~ Un-CDs, nein danke! http://www.heise.de/ct/cd-register/ ~~~~~~~~
~~ Help Microsoft fight software piracy: Give Linux to a friend today! ~~