1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Arlecino [84]
2 years ago
6

How many integers between 100 and 999 (inclusive) have distinct digits

Mathematics
1 answer:
daser333 [38]2 years ago
5 0

Answer:

648

Step-by-step explanation:

Running this in Python, with the code as follows,

import math

cur_numbers = [0] * 3

num = 0

for i in range(100, 1000):

   cur_numbers[2] = i % 10

   i = math.floor(i/10)

   cur_numbers[1] = i % 10

   i = math.floor(i/10)

   cur_numbers[0] = i % 10

   if(len(set(cur_numbers)) == 3):

       num += 1

       print(cur_numbers)

       

print(num), we get 648 as our answer.

Another way to solve this is as follows:

There are 9 possibilities for the hundreds digit (1-9). Then, there are 10 possibilities for the tens digit, but we subtract 1 because it can't be the 1 same digit as the hundreds digit. For the ones digit, there are 10 possibilities, but we subtract 1 because it can't be the same as the hundreds digit and another 1 because it can't be the same as the tens digit. Multiplying these out, we have

9 possibilities for the hundreds digit x 9 possibilities for the tens digit x 8 possibilities for the ones digit  = 648

You might be interested in
Aunt bess uses 3 cups of oatmeal to bake 6 dozen cookies how many cups of oatmeal will she need to bake 18 dozen cookies
Andrei [34K]
There are several important information's already given in the question. Based on those information's the answer to the question can be easily deduced.
Number of cups of Oatmeal
required by Aunt Bess for making 6 dozen cookies = 3
Then
Number of cups of oatmeal
required by Aunt Bess for making 1 dozen cookies = (3/6)
                                                                                  = 1/2
So
Number of cups of oatmeal
required by Aunt Bess for making 18 dozen cookies = (1/2) * 18
                                                                                     = 9 cups
So Aunt Bess will require 9 cups of oatmeal for baking 18 dozen cookies. I hope the procedure is clear enough for you to undestand.
4 0
3 years ago
A cereal comes in three different package size what is the ratio of the cost of an 8 ounce box to a 16 ounce box of cereal
34kurt

Answer:

5-3 or 3-5

Step-by-step explanation:

8 0
3 years ago
This years “Dream of a lifetime” lottery sold 50,000 tickets and gave away 5,000 prizes including one grant prize
dem82 [27]

Answer:

Grand Prize:  1:50,000

Any Prize:  1:10

Step-by-step explanation:

8 0
3 years ago
How many centimeters is my bag If IT was 9 centimeters and lost 3 centimeters
geniusboy [140]
Your answer is 6 centimeters because you would have to subtract 3 from 9. Hence, your answer is 6. 

Hope I helped!
4 0
3 years ago
Read 2 more answers
What is the equation of a horizontal line passing through the point (-7,5)
cluponka [151]
Y=5x-(-7) that is the answer
7 0
3 years ago
Read 2 more answers
Other questions:
  • What is the third term of the sequence defined by the recursive rule f(1)=3 f(n)=f(n-1)+4
    9·1 answer
  • 5.4x10^2/1.2x10^-1<br><br> Scientific Notation
    10·1 answer
  • Sandra has 18 yards of fabric. how many 4-inch Pisces can she cut from her original piece
    10·1 answer
  • At the beginning of spring McKenzie planted a small sunflower in her backyard when it first planted the sunflower was 10 inches
    6·1 answer
  • What is an ecosystem
    8·2 answers
  • Double bubble/ triple 100 points !!!!!!
    14·2 answers
  • Miller's Steakhouse offers 8 side dishes, 5 types of steak, and 4 toppings. How many different smothered steak dinners can be ma
    5·1 answer
  • Two siblings ' ages have a sum of 64 years . The older sibling was born 6 years before their young sibling . Write a system of 2
    15·1 answer
  • Jane is planning the furniture layout of her living room. On the scale drawing of the living room below, 1 inch represents 2 fee
    10·1 answer
  • One number is eight less than a second number. Six times the first is 3 more than 3 times the second. Find the numbers.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!