0
$\begingroup$

Suppose an $8$-digit number will be formed using the digits from $1$ to $9$. Find the cardinality when exactly $5$ consecutive digits are even and exactly $2$ digits are odd, e.g., $18242674$, $26682523$

I thought of dividing it into four subgroups, the five consecutive even integers, the two odd numbers, and the other even integer. ie, $(4!) (4)^5 \times (5)^2 \times (4)^1$. I plan to use this cardinality for the classical approach of a prob. Thanks.

$\endgroup$
  • 1
    $\begingroup$ Well, there aren't very many places to put the block of $5$. Just count each possible pattern. $\endgroup$ – lulu Oct 2 '17 at 13:08
  • $\begingroup$ Your examples have only one odd digit. $\endgroup$ – N. F. Taussig Oct 2 '17 at 14:14
  • $\begingroup$ There are two odd digits in each example $\endgroup$ – J. Gielgud Oct 2 '17 at 16:38
1
$\begingroup$

Such numbers take one of the following four forms: $$\mathtt{EEEEEOXX} \quad \mathtt{OEEEEEOE} \quad \mathtt{EOEEEEEO} \quad \mathtt{XXOEEEEE}$$ where $\mathtt{E}$ denotes an even digit, $\mathtt{O}$ denotes an odd digit, and $\mathtt{XX}$ denotes a pair of digits in which one is even and one is odd.

There are the same number of numbers taking the first and fourth forms, and the same number of numbers taking the second and third forms. It's now over to you to count how many numbers of each form there are (it's not too hard).

$\endgroup$
  • 1
    $\begingroup$ Perhaps $\mathtt{EEEEEOOE}, \mathtt{EEEEEOEO}, \mathtt{OEEEEEOE}, \mathtt{EOEEEEEO}, \mathtt{EOOEEEEE}, \mathtt{OEOEEEEE}$ is easier since they all have equal cardinality $\endgroup$ – Henry Oct 2 '17 at 13:28
  • $\begingroup$ @Henry: That's a much nicer approach! $\endgroup$ – Clive Newstead Oct 2 '17 at 13:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.