Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2014-06-24 11:29:06

Registered: 2014-06-23
Posts: 4

Permutations Calculator ~ Rules To Filter Repeated Pairs Of Numbers

This time I'm trying to use the 'Combinations and Permutations Calculator' to list permutations of numbers.

This is the calculator I'm using.

Combinations and Permutations Calculator

I want to list the permutations of the following.


(a) The - must appear once or twice in each permutation. For eg. [6,4,-] [-,-,3] [-5,2] and so on.
(b) Pairs of the numbers 9,8,7,6,5,4,3,2, must not be repeated. For eg [7,5,-] is good, but [5,7,-] is not allowed and so on. The - is unaffected by this and can appear repeatedly.

I entered the following into the calciulator.

Permutations without repetition (n=9, r=3)
Is order important: Yes
has 1 of: -,

This gave me almost the list I needed except that pairs of the numbers 9,8,7,6,5,4,3,2 were repeated. For eg, the list gave: [-,9,8] and [-.8,9], the [-,8,9] is not allowed. There were loads of other repeated pairs.

Could any of the rules be used to filter these repeated pairs of numbers and if so how would they be applied?

Many thanks.


#2 2014-06-25 06:06:40

From: Bumpkinland
Registered: 2009-04-12
Posts: 107,783

Re: Permutations Calculator ~ Rules To Filter Repeated Pairs Of Numbers


So you are saying you do not like all of this type,

{-, 9, 4},  {-, 4, 9}, {9,-, 4} etc?

In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.


Board footer

Powered by FluxBB