Live Quiz Arena
🎁 1 Free Round Daily
⚡ Enter ArenaQuestion
← Logic & PuzzlesA server distributes 10 identical cookies among 3 unique users with each user receiving at least one cookie. Which formula counts the number of possible cookie distributions?
A)Stars and bars (n+k-1 choose k-1)
B)Stars and bars (n-1 choose k-1)✓
C)Inclusion-exclusion principle (all minus none)
D)Permutations with repetitions (n!/r!s!)
💡 Explanation
The correct formula is stars and bars with pre-allocation, because each user must get at least one cookie; therefore, we subtract 1 from n before applying the stars and bars formula, rather than using the standard stars and bars without pre-allocation.
🏆 Up to £1,000 monthly prize pool
Ready for the live challenge? Join the next global round now.
*Terms apply. Skill-based competition.
Related Questions
Browse Logic & Puzzles →- A mechanical linkage transforms rotational motion to linear. If the linkage exhibits spatial reflection symmetry across its central axis, which consequence follows?
- A radio transmitter's modulation matrix has repeated eigenvalues near zero. Which effect results when the matrix is used to process signals?
- Within a sorting algorithm proven correct by mathematical induction, which effect demonstrates the base case's successful establishment of the condition for a single element?
- A chemical engineer attempts to prove that a reaction *cannot* reach equilibrium using proof by contradiction; which outcome necessitates re-evaluating their initial assumption?
- A search algorithm must locate a student record within a database of 10,000 entries. Which algorithm provides the MOST efficient time complexity in the worst-case scenario?
- An automated theorem prover evaluates logical statements in a circuit design. Which outcome definitively indicates that a propositional formula is a tautology?
