In how many ways can the digits 1 through 9 be arranged such that

  • Thread starter Thread starter Polymath89
  • Start date Start date
AI Thread Summary
The discussion revolves around arranging the digits 1 through 9 such that the even digits (2, 4, 6, 8) appear in ascending order. It highlights the complexity of calculating arrangements while ensuring the even digits maintain their order, suggesting that choosing 4 spots from 9 for the even digits is key. The correct approach involves using combinations rather than permutations, specifically 9C4, to avoid counting invalid arrangements. Alternatively, focusing on the placement of the 5 odd digits simplifies the problem, as the remaining spots will automatically be filled by the even digits in the required order. This method provides a clearer path to finding the total number of valid arrangements.
Polymath89
Messages
27
Reaction score
0
In how many ways can the digits 1 through 9 be arranged such that

In how many ways can the digits 1 through 9 be arranged such that the even digits appear in ascending order?

Well I don't really have a good idea on how to solve this.

If we start with the scenario:

2 4 6 8 _ _ _ _ _ there are 5! arrangements

We could also shift the 2 4 6 8 block five times and still have them in ascending order.

Also we could shift the 8 in 6 ways, so that:

2 4 6 remains fixed and we would have 6! ways for the other numbers to be arranged, but we would count the scenario with 8 in the fourth place twice.

After that it gets a little more difficult. If I fix the 2 and 4 in the first two places, how many arrangements can I make so that the 6 is in front of the 8?

Also is there an easier way to solve this?
 
Physics news on Phys.org


You have to choose 4 spots out of the 9 in which to place the even digits. How many ways can you do that?
 


I think 9!/5!, but wouldn't that ignore the fact that the odd integers can be arranged too?
 


9!/5! would indeed ignore the fact that the odd integers can be arranged; it also takes into account the even integers can be permuted, which isn't what you want. In other words, you'd be counting, for example, 246813579 and 248613579 separately even though the second arrangement isn't allowed because the even digits aren't ascending.

9P4 = 9!/5! is the number of permutations. You want the number of combinations, 9C4, because you know you'll be filling those four spots in ascending order.

An alternative, and probably easier, way of looking at it is to focus on the odd digits. Figure out the number of ways to pick 5 spots for the odd digits. The remaining four spots will be filled with the even digits in ascending order.
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top