math (data management)

posted by .

How many n-digit decimal sequences (using digits 0-9) are there with k 1s?






I'm not entirely sure what you question is asking, but I'll take a guess.
You have n digits and k 1's with k<n
There are n choose k ways to arrange the 1's in your number.
You now have n-k places to choose the other 9 numbers. There are two cases to consider: when the fist digit is 1 and when it isn't. If it's not 1 then there are only 8 digits you can use, since a number wouldn't have 0 in the lead position. If it is a 1 then there are 9 possible choices for each of the n-k position or 9n-k * n choose k numbers. I'll let you finish it for the case when it's not a 1 in the first place, then add the two together for the total.


I see someone else posted this question too and they said leading 0's are acceptable, so you can disregard part of the previous post if you have the same quesiton as them.
There are n choose k ways to arrange the 1's and 9n-k ways to select the other numbers, so
n choose k * 9n-k total numbers here.

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. math

    How many n-digit decimal sequences (using digits 0-9) are there with k 1s?
  2. math

    using digits 1-9 only once, multiply a 3 digit by a 2 digit number and get a 4 digit result 12*345=4140?
  3. Data management

    from the digits 0,1,2,3,4,5,6,7,8,9 find the number of a) 4-digit numbers with repetition of digits b) 4-digit numbers without repetition of digits c) the number of odd 4-digit numbers with no repetition of digits d) the number of …
  4. data management

    from the digits 0,1,2,3,4,5,6,7,8,9 find the number of a) 4-digit numbers with repetition of digits b) 4-digit numbers without repetition of digits c) the number of odd 4-digit numbers with no repetition of digits d) the number of …
  5. math

    Posted by nicole on Monday, September 22, 2008 at 4:32pm in response to math. Can u please help me with this..this is my sons 6th grade work and im pulling my hair out..i would like to know how to do it so he does not think or his …
  6. math

    Posted by nicole on Monday, September 22, 2008 at 4:32pm in response to math. Can u please help me with this..this is my sons 6th grade work and im pulling my hair out..i would like to know how to do it so he does not think or his …
  7. math

    Can u please help me with this..this is my sons 6th grade work and im pulling my hair out..i would like to know how to do it so he does not think or his teacher that im an idiot... Thank You So Much -The mystery # is a decimal.. -The …
  8. Math (Reiny)

    Regarding my question below, when the question talks about digits 0-7 do we include the 0. In other words, are the possible digits 0,1,2,3,4,5,6,7 or 1,2,3,4,5,6,7?
  9. math

    A 4-digit number. The sum of its digits is 18. The last two digits are 5 times as much as the first 2 digits. The hundreds and ones places have the same digit.
  10. Math-Algebra

    Tony asked his friend to guess his mathematics test score. He gave these hints to help his friend guess: -It has two digits -The digit in the tens place is two more than twice the digit in the ones place. -The number formed by reversing …

More Similar Questions