Question: Permutations In Maple

with(combinat);

permute(4, 2);

  [[1, 2], [1, 3], [1, 4], [2, 1], [2, 3], [2, 4], [3, 1], [3, 2], [3, 4],

    [4, 1], [4, 2], [4, 3]]

If I use the calculator I get 4P2 = 12

Obviously Maple is right if I count the ordered pairs there are exactly 12 pairs.

How can I get the answer "12" in Maple

Take care

Please Wait...