Solving a combinatorics puzzle - not able to get all combinations

Click For Summary

Discussion Overview

The discussion revolves around a combinatorics puzzle involving the manipulation of digits in a fraction (1630 / 4542) to achieve a specific ratio (1 / 3). Participants explore the number of possible combinations resulting from swapping digits between the numerator and denominator, analyzing different approaches and assumptions related to counting combinations.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant calculates 144 combinations based on selecting pairs of digits from the numerator and denominator but questions the solution that states there are 8! (40,320) combinations.
  • Another participant suggests that the original analysis overlooks the ability to rearrange the digits after selection, which significantly increases the number of combinations.
  • Concerns are raised about double-counting combinations, particularly when identical digits are involved, such as the two 4's in the denominator.
  • A different approach is proposed using letters instead of numbers to simplify the reasoning, leading to a similar calculation of 144 combinations, but it is noted that this approach does not align with the original examples provided.
  • One participant expresses uncertainty about the reasoning behind the 8! total, suggesting that their interpretation leads to a different count of 20736 combinations without accounting for repeated digits.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correct number of combinations. There are multiple competing views regarding the counting methods and assumptions involved in the problem.

Contextual Notes

Participants highlight limitations in their analyses, including assumptions about digit rearrangement and the impact of repeated digits on the total count of combinations. The discussion remains focused on the combinatorial aspects without resolving the discrepancies in calculations.

musicgold
Messages
303
Reaction score
19
Hi,

My question is related to a math puzzle. The puzzle asks to swap any two digits from the numerator with any two digits in the denominator of the fraction 1630 / 4542 to get the ratio 1 / 3.

Two possible answers are 1534 / 4602 and 1354/ 4062.

What I am struggling with is the number of possible combinations we would have if we were to use brute force to solve this problem. The solution of the problem says that there are 8! (i.e. 40,320) possible combinations. My analysis gets me only 144 combinations.

Here is my analysis :There are 12 ways to pick a pair from the numerator and there are 12 ways to pick a pair from the denominator. A pair from the numerator can replace anyone of the 12 pairs in the denominator. As a result there are 12x12 =144 combinations.

What am I missing?

Thank you.
 
Physics news on Phys.org
Start with an easier situation, where all 8 digits are different. You are right that you can pick two digits from the numerator 12 ways and two digits from the denominator 12 ways. You missed the fact that you can write the four digits that form the new numerator in any order, and similarly for the denominator. Look at the second example where 1630 becomes 1354. The digit 3 has moved position.

Warning: be careful about double-counting, because if you count say "10" and "01" as different ways to select two digits from the numerator, they will lead to the SAME set of denominators when you shuffle the four digits into any order.

You are also missing the fact that there are two 4's in the denominator, which means (1) there are fewer ways to select two digits from the denominator, and (2) the number of ways you can order the digits after swapping them depends on whether you selected zero, one, or two of the 4s.
 
Last edited:
Thanks AlephZero.

It is still not clear to me. Also in my analysis I did not assume that I can shift / rotate numbers in either in the numerator or denominator. I want to keep it that way. Here is my another stab at the problem.

Here I use letters instead of numbers to make it a bit simpler. In the numerator, we have ABCD and EFGH in the denominator. I assumed that we pull out any two letters from the numerator (6 ways of doing that ). I also do the same thing for the denominator (6 ways).
A _ C _

E _ _ H

Now I take the 2 letters from the numerator and throw them in the 2 slots in the denominator (2 ways). In the same way I place the two letters from the denominator in the numerator (2 ways)

In total, there are 6 x 6 x 2 x 2 = 144 ways

Is that correct?
 
I think that's correct, but it is not the same situation as the examples you originally posted. You can't change 1630 into 1534 by pulling out the 60 and replacing them. You have to move the 3 as well.

But to be honest I don't see a simple reason why the answer should be 8!. With no repeated numbers, my interpretation of the question gives 6 x 6 x 24 x 24 = 20736, compared with 8! = 40320. With the repeated 4's there will be fewer than 20736 but too lazy to work out exactly how many.

There are obviosuly 8! possible ways to shuffle 8 different digits, if there are no restrictions on how many you choose from the numerator of the denominator. Maybe that is what the book meant :confused:
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
4
Views
2K
Replies
4
Views
2K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 15 ·
Replies
15
Views
6K
  • · Replies 26 ·
Replies
26
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 19 ·
Replies
19
Views
7K
  • · Replies 42 ·
2
Replies
42
Views
8K