Counting Quadruples of Integers: A Combinatorial Problem

  • Context: Undergrad 
  • Thread starter Thread starter YAHA
  • Start date Start date
  • Tags Tags
    Integers
Click For Summary

Discussion Overview

The discussion revolves around a combinatorial problem involving counting the number of quadruples of integers (a, b, c, d) that satisfy the conditions 0 <= a <= b <= c <= d <= n, where n is a positive integer. Participants explore various combinatorial principles and methods to determine the total number of such quadruples.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant presents the problem and expresses interest in the combinatorial principles applicable to counting quadruples.
  • Another participant suggests using the multiplication rule and summing over possibilities to find the total combinations, referencing a specific formula involving (n+1) and variables x, y, z.
  • A third participant states that the number of quadruples can be represented as the number of multisets of 4 numbers drawn from the integers 0 to n, leading to the formula \binom{n+4}{4}.
  • A later reply reiterates the multiset approach but proposes a transformation to a problem involving distinct integers by adjusting the values of a, b, c, d and n.

Areas of Agreement / Disagreement

Participants present multiple approaches to the problem, with some agreeing on the multiset interpretation while others suggest different methods or transformations. No consensus is reached on a single method or solution.

Contextual Notes

Some assumptions about the nature of the integers and the conditions for counting may not be fully articulated, and the discussion includes various interpretations of the problem that could affect the counting methods proposed.

YAHA
Messages
121
Reaction score
0
This should be a simple combinatorial problem. Suppose I have a number n which is a positive integer. Suppose, that there are four numbers a,b,c,d such that 0<=a<=b<=c<=d<=n.
The question is how many quadruples of the form (a,b,c,d) can be formed out such arrangement?

I realize that this is a homework-like question, but I am really interested in seeing which principles of combinatoris would apply here.
 
Physics news on Phys.org
Hey YAHA.

Recall that if you get a number x on a particular draw, then the number of possibilities in the next draw will be n-x.

The rest is to apply the multiplication rule on these to get the number of possibilities for one particular set of observations.

Then sum over all possibilities and this will give you the total number of combinations.

So as an example, you look at the (n+1)*(n+1-x)*(n+1-y)*(n+1-z) for getting (*,x,y,z).

Now sum all of these over all consistent values of x, y, and z and that will give you the number of combinations.
 
The number of quadruples is the number of multisets of 4 numbers drawn from the integers 0, 1, 2, ..., n (n+1 integers), hence

\binom{n+1+4-1}{4} = \binom{n+4}{4}
 
awkward said:
The number of quadruples is the number of multisets of 4 numbers drawn from the integers 0, 1, 2, ..., n (n+1 integers), hence

\binom{n+1+4-1}{4} = \binom{n+4}{4}
Quite so, but I suspect that will need more detailed explanation. Here's my version, yours may be simpler.
We can map the problem into one where a< b < c < d, merely by adding 0, 1, 2, 3 respectively. Since we added 3 to d, we must also add 3 to n. So now it's a matter of the number of ways of choosing 4 distinct numbers from 0,..,n+3.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
Replies
20
Views
3K