Scratching My Head: Solving a Puzzling Problem

  • Thread starter Thread starter sahilmm15
  • Start date Start date
  • Tags Tags
    Head
Click For Summary

Homework Help Overview

The discussion revolves around a combinatorial problem involving the arrangement of digits in a five-digit number, specifically focusing on the condition that the middle digit must be the largest and that all digits must be unique. Participants are exploring the implications of these constraints on the total number of valid combinations.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants are discussing various methods for calculating the number of valid five-digit combinations, questioning the validity of specific approaches and the reasoning behind subtracting certain cases. There is also a consideration of how leading zeros affect the interpretation of five-digit numbers.

Discussion Status

The discussion is ongoing, with participants providing different interpretations of the problem and questioning each other's reasoning. Some have offered insights into the implications of specific digit placements and constraints, while others are seeking clarification on the methods used by different authors.

Contextual Notes

There is a noted concern regarding the definition of five-digit numbers, particularly in relation to leading zeros, which may not count as valid five-digit numbers. This has led to a deeper examination of the problem's constraints and definitions.

sahilmm15
Messages
100
Reaction score
27
Homework Statement
The total number of 5 digit numbers of different digits in which the digit in the middle is the largest is ?
Relevant Equations
N/A
I am scratching my head on the problem but cannot figure out what to do. I tried in the following way:-
For (9)
_ _ _ _ _ . The middle place is fixed means only 1 way there. For the first place 9 ways (excluding 0) , second place (9 ways again because 9 digits are left excluding 9 and 0). Third place is the middle one which is already filled, fourth place 8 ways and last place 7 ways .

So total no of digits in which the digit in the middle is largest ( in this case it is 9 ) are 9*9*1*8*7. The same method would go for other numbers. Is my method correct or am I approaching the problem incorrectly?? I cannot find the answer.
 
Physics news on Phys.org
Let's see a list of such numbers.
 
After commenting on my method, Can you explain me why author has subtracted few terms in his method in the image below.
 

Attachments

  • IMG_20201225_203247.jpg
    IMG_20201225_203247.jpg
    111.5 KB · Views: 189
sahilmm15 said:
After commenting on my method, Can you explain me why author has subtracted few terms in his method in the image below.
A five-digit number that starts with ##0## is only a four-digit number and doesn't count.
 
  • Like
Likes   Reactions: sahilmm15
PeroK said:
A five-digit number that starts with ##0## is only a four-digit number and doesn't count.
I would interpret '5 digit numbers' to mean 'unique strings of length 5 each position of which is a decimal numeral', so that, with the 'middle digit is greatest' and 'digits are all different' constraints, the normally-lowest-sorting possibility would be 01423 and the normally-highest-sorting possibility would be 87965.
 
sysprog said:
I would interpret '5 digit numbers' to mean 'unique strings of length 5 each position of which is a decimal numeral', so that, with the 'middle digit is greatest' and 'digits are all different' constraints, the normally-lowest-sorting possibility would be 01423 and the normally-highest-sorting possibility would be 87965.
A number is a number and a string is a string. 01423 is a five-digit string but a four-digit number. In the same way that $$0x^2 + x + 1$$ is not a quadratic expression.
 
  • Like
Likes   Reactions: Vanadium 50 and sysprog
PeroK said:
A number is a number and a string is a string. 01423 is a five-digit string but a four-digit number. In the same way that $$0x^2 + x + 1$$ is not a quadratic expression.
I was thinking of pushbutton locks that have buttons that are numerally marked 0 through 9, which locks are such that until a reset button is pressed, it doesn't matter in which order or how many times the numerally-marked buttons are pressed ##\dots##
 
sahilmm15 said:
... of different digits ...

For (9)
_ _ _ _ _ . The middle place is fixed means only 1 way there. For the first place 9 ways
If the middle is 9, no others can be 9.
 
haruspex said:
If the middle is 9, no others can be 9.
Hmm 8 ways.
 

Similar threads

Replies
32
Views
4K
  • · Replies 5 ·
Replies
5
Views
5K
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
4K
Replies
7
Views
2K