- #1

- 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?

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- Thread starter duki
- Start date

- #1

- 264

- 0

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

- this is what I need -

I cannot find the equation to this problem. Can someone give me a hand?

- #2

- 3,473

- 255

(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

- 264

- 0

I have no clue of #1

- #4

- 264

- 0

without using any formulas, I would just guess the answer is 2222... is that close?

- #5

- 3,473

- 255

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

- 3,473

- 255

- #7

- 264

- 0

7

49?

7^n?

49?

7^n?

- #8

- 264

- 0

Hm, so ...

7

8^(n-1) + 7?

7

8^(n-1) + 7?

- #9

- 3,473

- 255

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

- 3,473

- 255

Hm, so ...

7

8^(n-1) + 7?

Almost but not quite. Hint: it's not a "+", it's a ...?

- #11

- 264

- 0

ahhh... [tex]8^{n-1} * 7[/tex] ?

- #12

- 3,473

- 255

So that answers my question (1).

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

Then question (3) is the key.

- #13

- 264

- 0

9998 - 3584 = 6414?

- #14

- 3,473

- 255

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

- 264

- 0

I'm not sure... why is it not 9998?

- #16

- 3,473

- 255

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

- 264

- 0

- #18

- 264

- 0

ooooooooooooooooooooooooooooooooooooooooo, so I have:

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

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

- #19

- 3,473

- 255

ooooooooooooooooooooooooooooooooooooooooo, so I have:

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

Bingo!

- #20

- 264

- 0

hurah! mucho gracias! Let's go to my new counting post! :p

Share: