1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

By changing the order would it change the answer? r-combinations

  1. Oct 27, 2006 #1
    Hello everyone.

    The book gave an example of the following problem:

    #5. If n is a positve integer, how many 4-tuples of integers from 1 through n can be formed in which the elemnets of the 4-tuple are wirtten in increasing order but are not necessarily distinct? In other words, how many 4-tuples of integers (i, j, k, m) are there with 1 <= i <= j <= k <= m <= n?

    Using the following formula:
    The number of r-combinations with repetition allowed (multisets of size r) that can be selected form a set of n elements is

    (r + n -1)
    ( r )

    This equals the number of ways r objects can be selected from n categories of objects with reptition allowed.


    The answer is on the following image marked #5.

    [​IMG]


    The problem i'm doing is marked #6. The only difference in the problem is now they want to know how many 5-tuples of integers from 1 through n, wirtten in DECREASING order. In other words, how many 5-tuples of integers (h, i, j, k, m) are there with n >= h >= i >= j >= k >= m >= 1?

    I would assume it would be the same format, let r = 5 instead of 4 is the only change I would think would be made. Because I thought order doesn't matter, so even if they say accessending or decending would it change the formula?

    Thanks~
     
  2. jcsd
  3. Oct 28, 2006 #2
    No, the order should not change the answer.

    Think about it like this. If you go back to problem number 5, and now flip the order around (meaning that you take every (i,j,k,l) and change it into (l,k,j,i) you will then have decreasing numbers, but you will have the exact same amount since you are not really doing anything but looking at the same thing backwards.
     
  4. Oct 29, 2006 #3
    THanks for the help matt!
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: By changing the order would it change the answer? r-combinations
Loading...