Problem 4. (7 points) friends attend a Thanksgiving dinner party with tables, each sitting at most people. The chef has cut slices of turkey and distributes the turkey amongst the friends so that each person has at least slice and at most slices. If is the number of ways can he sit these people at the tables and distribute the slices of turkey, what are the last digits of ?
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
For this problem, I will award both Jatin and Sreejato the 7 points. I apologize for the ambiguity in the problem statement.
The wording is poor. What do you mean by "each sitting at most \ (6 ) people?" -- Can you please elaborate?
Log in to reply
Also, you state that there are 2 tables in the beginning and 4 tables at the end....
Log in to reply
Sorry, 2 tables I meant.
Self-explanatory - each table can either have 0, 1, 2, 3, 4, 5, or 6 people at it.
Log in to reply
Does order matter? For example, do the sittings {1,2,3,4},{5,6,7,8,9,10} and {4,3,2,1},{9,8,7,5,6,10} count as distinct?
Log in to reply
Log in to reply
10 distinguishable friends'. If it doesn't, it should be '10 identical friends'. With the current problem statement, both these interpretations are valid.
That depends on how you interpret it. OP should clarify it in his question. If selection does matter, it should read 'Log in to reply
Distribution of slices doesn't depend on the distribution of people on tables, hence we will independently perform the works and then multiply, i am assuming all slices are similar, otherwise the question would be damn hard.
Let the friends be f1,f2,…f10
Let no. of slices they get be x1,x2,…x10
Clearly, r=1∑10xr=20, Each xr satisfying 1≤xr≤3
No . of ways = coeff. of x20 in (x1+x2+x3)10
= coeff. of x20 in x10(1−x3)10(1−x)−10
= coeff. of x10 in (1−x3)10(1−x)−10
= coeff. of x10 in ((010)−(110)x3+(210)x6−(310)x9…)(i=0∑∞Aixi)
where Ai=(9(9+i))
Hence , no. of ways = (010)×(919)−(110)×(916)+(210)×(913)−(310)×(910)
= 8953.
Now, we have to arrange people (of course people are different), we make cases,
Case-1: People sit as groups of (6,4), no. of ways = (410)×2!
Case- 2 : People sit as groups of (5,5), no. of ways = (510).
Summing, no. of ways to arrange people = 672
Hence total no. of ways = 8953×672=6016416
Last three digits : 416
Log in to reply
Hello Jatin!
Can you please clarify the following statement? >Case-1: People sit as groups of (6,4), no. of ways = (410)×2!
From what I understand, (410) denotes the ways to select 4 people out of 10 people. Don't we need to arrange the selected people on the table i.e (410)×6!×4!×2!? Can you please help me clear this doubt?
Many thanks!
Log in to reply
Well, i thought we didn't have to arrange people on a particular table as the shape of table is not given, i mean if the table is circular , the answer is diff. and if not circular , it would be different.
Log in to reply
589 (not sure)
Log in to reply
[Assuming order and selection don't matter] First, we note that there are 3 ways of sitting the friends at the tables:- this is simply the number of partitions of 10 where each partition can be at most 6. To be precise, the partitions are: 10=4+6=5+5=6+4 Now, let the ith person receive ai turkeys, so that 1≤ai≤3, and ∑ai=20. Using generating functions, the number of solutions is simply the coefficient of x20 in f(x)=(x+x2+x3)10 Note that f(x)=(x−1x4−x)10=x10(x3−1)10(x−1)−10 Recall that for all ∣x∣<1, (x−1)−10=k=0∑∞(99+k)xk The binomial expansion of (x3−1)10 is given by (x3−1)10=k=0∑10(k10)(−1)kx3k For simplicity, let cn denote the coefficient of xn in (x−1)−10, and let dn denote the coefficient of xn in (x3−1)10. Note that we have already determined the closed forms for cn and dn: cndn===(99+n)(−1)n(n10) ( iff n≡0(mod3) )0 (otherwise)
Also note that for the term x20 to appear in the product, the contributions from the polynomials (x3−1)10 and (x−1)−10 must sum up to 10, since a x10 gets multiplied to it. We can afford to ignore the terms whose power of x is >20. The coefficient of x20 is simply n=0∑10cnd10−n Note that dn is non-zero if and only if n≡0(mod3), so we can simplify this summation further: n=0∑10cnd10−n==c1d9+c4d6+c7d3+c10d0−(310)×(910)+(210)×(913)−(110)×(916)+(010)×(919) Carrying out the sum, we find out that it is equal to 8953. We have to multiply this with the number of sittings, giving our desired result 8953×3=26589.
EDIT: Note that the problem statement is insufficient, since it doesn't state whether the friends are identical or distinguishable. I did this by assuming they are identical. If they are distinguishable, we note that any partition of the form 10=a+(10−a) can be filled in (a10) ways. Summing them over all possible partitions, we find out that the total number of selections is (610)+(510)+(410)=672 We have to multiply this with the total number of ways of distributing the turkeys, giving our final result 672×8953=6016416.
Log in to reply
Hi ,friends can't be same you also have to consider their arrangement, i.e which one goes to which table.
Log in to reply
@jatin why u have taken two table to be distinct.... ie multiplied by 2! it might be identicle
Problem 4. (7 points) friends attend a Thanksgiving dinner party with tables, each sitting at most people. The chef has cut slices of turkey and distributes the turkey amongst the friends so that each person has at least slice and at most slices. If is the number of ways can he sit these people at the tables and distribute the slices of turkey, what are the last digits of ?
why am I not able to see any figures, like at most x people or at least y slice?
Log in to reply
LaTeX code doesn't work under copy-and-paste.
Log in to reply
I think she means the LaTeX codes aren't loading up properly in her browser. If that is the case, I suggest you see the screenshot here.