Counting 4 Digit Ints with 2s & 3s

  • Thread starter duki
  • Start date
  • Tags
    Counting
In summary, the number of 4-digit positive integers with at least one digit that is a 2 or 3 is 6414, and the number of 4-digit positive integers with no digits that are 2 or 3 is 5416. The general rule for n-digit positive integers is 8^(n-1) * 7. The total number of 4-digit positive integers is 9000, excluding numbers that start with 0.
  • #1
duki
264
0

Homework Statement



how many 4 digit positive integers have at least one digit that is a 2 or a 3?

Homework Equations



- this is what I need -

The Attempt at a Solution



I cannot find the equation to this problem. Can someone give me a hand?
 
Physics news on Phys.org
  • #2
Can you answer these questions?

(1) How many 4-digit positive integers have NO digits that are 2 or 3?
(2) How many 4-digit positive integers are there?
(3) How can I use (1) and (2) to answer the original question?
 
  • #3
I have no clue of #1
 
  • #4
without using any formulas, I would just guess the answer is 2222... is that close?
 
  • #5
Let's start small.

How many 1-digit positive integers have NO digits that are 2 or 3?
How many 2-digit positive integers have NO digits that are 2 or 3?
What's the general rule for an n-digit positive integer?
 
  • #6
By the way, notice that in order to have a four-digit number, the first digit has one more constraint. It can't be 2 or 3, but it also can't be ...?
 
  • #7
7
49?
7^n?
 
  • #8
Hm, so ...

7
8^(n-1) + 7?
 
  • #9
duki said:
7
49?
7^n?

You're on the right track.

For the FIRST digit you have 7 choices. For all the other digits you have 8 choices. So what's the general rule for n digits?
 
  • #10
duki said:
Hm, so ...

7
8^(n-1) + 7?

Almost but not quite. Hint: it's not a "+", it's a ...?
 
  • #11
ahhh... [tex]8^{n-1} * 7[/tex] ?
 
  • #12
Yes. Do you understand why it's * and not +?

So that answers my question (1).

Now how about question (2)? This is much easier.

Then question (3) is the key.
 
  • #13
9998 - 3584 = 6414?
 
  • #14
duki said:
9998 - 3584 = 6414?

Close but not quite right.

How many four-digit numbers are there? The first digit has to be 1-9, the other three digits can be anything.
 
  • #15
I'm not sure... why is it not 9998?
 
  • #16
duki said:
I'm not sure... why is it not 9998?

Well, there are 9 choices for the first digit, 10 for the second digit, 10 for the third digit, and 10 for the fourth digit.

So there are [itex]9 \times 10 \times 10 \times 10[/itex] possibilities in total. That's 9000, not 9998.

If that's not clear, consider that you are excluding precisely the numbers 0000 through 0999. That's 1000 numbers excluded, out of 10000 possible combinations of digits, leaving 9000.

Why are we excluding the numbers 0000 through 0999? Because written properly they are 0 through 999, which aren't 4-digit numbers!
 
  • #17
So why would 9990 for example not be valid? It is positive and uses 0 in the one's position. I assumed I could not use 0 but I could use 10, 100, 1000, etc.
 
  • #18
ooooooooooooooooooooooooooooooooooooooooo, so I have:

9000 -3584 = 5416 that do not have a 2 or 3 ?
 
  • #19
duki said:
ooooooooooooooooooooooooooooooooooooooooo, so I have:

9000 -3584 = 5416 that do not have a 2 or 3 ?

Bingo!
 
  • #20
hurah! mucho gracias! Let's go to my new counting post! :p
 

FAQ: Counting 4 Digit Ints with 2s & 3s

1. How many 4-digit integers can be formed using only 2s and 3s?

There are 16 different 4-digit integers that can be formed using only 2s and 3s.

2. How many of these 4-digit integers are even numbers?

Out of the 16 possible 4-digit integers, 8 of them are even numbers.

3. Can a 4-digit integer with all 2s be formed using this method?

No, a 4-digit integer with all 2s cannot be formed using only 2s and 3s. This is because the largest number that can be formed with 2s and 3s is 3333.

4. How many 4-digit integers contain at least one 3?

There are 11 different 4-digit integers that contain at least one 3 when using only 2s and 3s.

5. Is there a pattern to the 4-digit integers formed using only 2s and 3s?

Yes, there is a pattern to the 4-digit integers formed using only 2s and 3s. The first four numbers (2, 3, 22, 23) follow a simple pattern, and after that, each set of four numbers follows a similar pattern but with an additional digit. For example, the next four numbers are 32, 33, 222, 223.

Back
Top