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]
3 years ago
6

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

Mathematics
1 answer:
daser333 [38]3 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 is a cubic polynomial function in standard form with zeros -4, -5, and 4?
hjlf
Hope it cleared your doubt.

7 0
4 years ago
(18 divided by 3) to the second exponent
Svet_ta [14]
If we divide 18 by 3, we get 6. we then square 6 and get 36.
4 0
3 years ago
Read 2 more answers
Line m passes through the points (-4, 3) and (-4, 7). What is the slope of the line that is parallel to line m?
Oksi-84 [34.3K]
Gradient=rise/run=y2-y1/x2-x1

= 7-3(4)/-4--4(0)

As you can't divide by zero the line's equation is x=-4 so it doesn't have a gradient as such. However, a parallel line would be the y-axis
3 0
3 years ago
Read 2 more answers
6th 7th 8th
ollegr [7]

Answer:

4 need to join the club to remain same to grade 8th

5 0
3 years ago
Alvin is running at a rate of 3 meters per second. The meters he runs, m, in s seconds is given by the equation m=3s. Identify t
dem82 [27]
It is 6 because I got the awnser multiple times
4 0
3 years ago
Read 2 more answers
Other questions:
  • Can someone help me with these two
    7·1 answer
  • Which show ways to make 2,067?
    10·1 answer
  • A company builds computers. it cost $6700
    7·1 answer
  • Whats a segment connecting midoints
    14·1 answer
  • Vernice did not want to tell her age, so when she was asked, her mother answered for her. Her mother said, “I am double her age
    12·1 answer
  • 8. Glass Garbage Generation A survey found that the American family generates an average of 17.2 pounds of glass garbage each ye
    13·1 answer
  • Two families went to the event. The first family bought two children's tickets and one adult ticket and paid a total of 8.2 euro
    7·1 answer
  • Find the sum.<br> 35/100 + 5/10
    5·2 answers
  • Answer this Please (I WILL GIVE BRAINLIEST)
    14·1 answer
  • 1. Which shows the factoring pattern for the sum of cubes?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!