Question

How many nondecreasing sequences of length 10 can you make from the set {0,1,2,...,100}? An example...

How many nondecreasing sequences of length 10 can you make from the set {0,1,2,...,100}? An example is 0,0,5,10,10,10,15,25,35,92.

Homework Answers

Answer #1

Let i = 1,2,3...10 and let each of i appear ni number of times in a non decreasing sequence of length 10. As the sequence should be non decreasing it should look like this: {...n1 number of 1's.....n2 number of 2's..........n100number of 100's...}
with subject to constraint: n1 + n2 + n3 +.....+ n100 = 10
n1 + n2 + n3 +.....+ n100 = 10
The number of non-negative solutions to the above equation gives the total number of non-decreasing sequences. Each solution gives a unique sequence.
Number of non-negative solution :

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
How many ternary strings (strings of elements taken from the set{0,1,2}) of length2n are there in...
How many ternary strings (strings of elements taken from the set{0,1,2}) of length2n are there in which the zeroes appear only in all odd-numbered positions? How many ternary strings of length 7 will contain at least one 0?
How many unique sequences of amino acids 15 peptides long can you make using only: 1....
How many unique sequences of amino acids 15 peptides long can you make using only: 1. Hydrophobic amino acids with a benzine ring 2. Hydrophylic acidic amino acids
how many DNA sequences of length 3 that have no C's at all? or have no...
how many DNA sequences of length 3 that have no C's at all? or have no T's in the first position?
how many different lists of length five can you make consisting of (1,2,3) when each number...
how many different lists of length five can you make consisting of (1,2,3) when each number appears at least once?
If you have a 90%/10% mix of two sequences in a PCR product how many colonies...
If you have a 90%/10% mix of two sequences in a PCR product how many colonies will you need to sequence to have a >95% chance of sequencing at least one copy of each?
what inferences can you make about relationships between different sequences and organisms
what inferences can you make about relationships between different sequences and organisms
Let A be the set of all strings of decimal digits of length five. For example...
Let A be the set of all strings of decimal digits of length five. For example 00312 and 19483 are strings in A. a. How many strings in A begin with 774? b. How many strings in A have exactly one 8? c. How many strings in A have exactly three 6’s? d. How many strings in A have the digits in a strictly increasing order? For example 02357 and 14567 are such strings, but 31482 and 12335 are not.
1. Show how you would do the following sum in binary (make sure to convert to...
1. Show how you would do the following sum in binary (make sure to convert to binary first and give the result in both binary and base 10): 63+125 2. How many binary sequences are there of length n? 3. What is two’s complement and why is it used?
You want to demonstrate to a child a few sequences of coin tosses. How many times...
You want to demonstrate to a child a few sequences of coin tosses. How many times do you expect to toss the p-biased coin before you are successful in showing the child each of the following sequences : (a) H (b) HT (c) HHT
Discrete Math a.) How many bit strings are there of length five or less, not counting...
Discrete Math a.) How many bit strings are there of length five or less, not counting the empty string? b.) How many different three-letter initials with none of the letters repeated can people have? c.) How many different three-letter initials are there that begin with the letter B? d.) How many 5-element DNA sequences end with A? e.) How many bit strings of length nine both begin and end with 1?