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
What transformations are used to get G’ , H’ , I’.
loris [4]
Reflection on point H
8 0
2 years ago
Read 2 more answers
Jillian ran 40 miles in one week. Her friend Lacey ran 5/8 the distance that Jillian ran.
marishachu [46]
40 / 8 =5.               5 * % =         **25 Miles**
8 0
3 years ago
you are buying wood to build a gate for your backyard. if your car trunk has the following dimensions (47 inches by 33 inches by
riadik2000 [5.3K]

The longest piece of wood that could fit in your trunk to build a gate for the backyard is 60.65 inches.

<h3>How to measure diagonal of the cuboid?</h3>

The length of the diagonal of the cuboid is found out using the following formula.

D=\sqrt{l^2+b^2+h^2}

Here, (l) is the length of the cuboid, (w) is the width, and (h) is the height of the cuboid.

The wood has to buy to build a gate for backyard. The car trunk has the following dimensions (47 inches by 33 inches by 19.5 inches). Here, we have,

  • Length (l)=47 in
  • Width (w)=33 in
  • Height (h)=19.5 in

The longest piece of wood which fits is equal to the length of diagonal of cuboid. Put the values in the formula,

D=\sqrt{47^2+33^2+19.5^2}\\D=\sqrt{3678.25}\\D=60.65\rm\; in

Thus, the longest piece of wood that could fit in your trunk to build a gate for the backyard is 60.65 inches.

Learn more about the cuboid here;

brainly.com/question/22694657

#SPJ1

3 0
2 years ago
1) At a store, 40% of all the refrigerators are silver. There are 50 silver
olga nikolaevna [1]
There are 125 refrigerators in total.

Explanation:

Set up an equation:

x(.40)= 50
, where x is the number of refrigerators

Solve for x
7 0
2 years ago
In Your Own Words: Is the sum of two integers positive, negative, or zero? How can you tell?
ivolga24 [154]

by 2 integers do you mean the same numbers just one negative and one whole?

5 0
3 years ago
Other questions:
  • Marlon and Brent are each measuring one of their shoes.their shoes measure 11 inches in all Marlons shoes is 1 inch longer than
    13·2 answers
  • In a mall,1/15 of the stores sell shoes. There are 180 stores in the mall. How many of the stores sell shoes.
    5·2 answers
  • Help me please ! This is hard
    14·1 answer
  • Find the distance between (-8, -1) and (0, 5). Give your answer in simplest radical form.
    12·1 answer
  • The measures of the three angles of a triangle are given by 1. 3x +1 2. 2x -3, and 9x. What is the measure of the smallest angle
    8·1 answer
  • 4.
    6·1 answer
  • Water flowed out of a tank at a steady rate. A total of 18 1/2 gallons flowed out of the tank in 4 1/4 hours. Which expression
    14·2 answers
  • Keisha rolls two 6-sided number cubes. What is the probability that she will roll a number less than 7? (Leave your answer as a
    13·1 answer
  • For an upcoming school dance, Mr. Abbot bought 24 bags of pretzels and 18 bags of chips.
    5·1 answer
  • Can you Explain your thinking.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!