0

Take n different integers, e.g. 4,7,15 (n=3 here). Using the numbers, create non-decreasing sequences of k numbers, k>=1, where repetition is allowed. If k=4, we can have (4,4,7,15). The sequence (4,7,15,7) is not allowed because the sequence is decreasing at one point. There is a connection to a binomial coefficient here from what I can see. In this particular case, there are 15 sequences: (4,4,4,4), (4,4,4,7), (4,4,4,15), (4,4,7,7), (4,4,7,15), (4,4,15,15), (4,7,7,7), (4,7,7,15), (4,7,15,15), (4,15,15,15), (7,7,7,7), (7,7,7,15), (7,7,15,15), (7,15,15,15), (15,15,15,15).

  • I got the answer from the link. This is more complicated than a regular binomial coefficient. I will study the proof. Thank you. – Stanley Taylor Aug 11 '23 at 01:47

0 Answers0