There are n identical cards of type A, n of type B, n of type C, and n of type D. There are 4 persons that each have to receive n cards. In how many ways can we distribute the cards ?

So the order in which they receive the cards does not matter. All that matters is how many cards of each type (A, B, C, or D) each person has. Can this be expressed with combinations depending on the parameter n ?

Answer 1

See below for an idea on how to approach this answer:

I believe the answer to the question of methodology on doing this problem is that Combinations with identical items within the population (such as having #4n# cards with #n# number of types A, B, C, and D) falls outside the ability of the combination formula to calculate. Instead, according to Dr. Math at mathforum.org, you end up needing a couple of techniques: distributing objects into distinct cells, and the inclusion-exclusion principle.

I'm hoping one of our knowledgeable math experts can step in and provide you with a better answer after reading this post (https://tutor.hix.ai) which deals directly with the question of how to calculate this type of problem repeatedly. While I won't attempt to answer here, I'm sure the answer is out there.

Sign up to view the whole answer

By signing up, you agree to our Terms of Service and Privacy Policy

Sign up with email
Answer 2

A counting program in C yields following results :

#include

int main() { int comb[5000][4]; long count; int n,i,j,k,t,br,br2,numcomb;

for(n=1;n<=20;n++) { numcomb = 0; for(i=0;i<=n;i++) for(j=0;j<=n-i;j++) for(k=0;k<=n-i-j;k++) { comb[numcomb][0] = i; comb[numcomb][1] = j; comb[numcomb][2] = k; comb[numcomb][3] = n-i-j-k; numcomb++; } count = 0; for(i=0;in) br = 1; if (!br) { for(k=0;kn) br2=1; if (!br2) { count++; } } } } } printf("\nCount for n=%d : %ld.", n, count); } printf("\n"); return(0); }
Sign up to view the whole answer

By signing up, you agree to our Terms of Service and Privacy Policy

Sign up with email
Answer from HIX Tutor

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

Not the question you need?

Drag image here or click to upload

Or press Ctrl + V to paste
Answer Background
HIX Tutor
Solve ANY homework problem with a smart AI
  • 98% accuracy study help
  • Covers math, physics, chemistry, biology, and more
  • Step-by-step, in-depth guides
  • Readily available 24/7