Questions tagged [combinatorics]
For questions about the study of finite or countable discrete structures, especially how to count or enumerate elements in a set (perhaps of all possibilities) or any subset. It includes questions on permutations, combinations, bijective proofs, and generating functions.
71 questions from the last 30 days
11
votes
4
answers
439
views
Evaluate: $4^9-\binom{8}{1}4^8+\binom{7}{2}4^7-\binom{6}{3}4^6+\binom{5}{4}4^5$
Evaluate: $$4^9-\binom{8}{1}4^8+\binom{7}{2}4^7-\binom{6}{3}4^6+\binom{5}{4}4^5$$
My Attempt
Doing normal arithmetic calculation the value comes out to be $5120$ which is not a big deal. But can it be ...
8
votes
2
answers
760
views
Probability that four integers can be partitioned into two sets of equal sum
Let $n\in\mathbb{N}$ and $X_1,\dots,X_4$ be independent and uniformly distributed on $\{1,\dots,n\}$. What is the probability that the tuple $(X_1,X_2,X_3,X_4)$ can be partitioned into two (multi)sets ...
7
votes
3
answers
257
views
Minimum size of a sequence summing to $2013$ that guarantees a consecutive subset sum of $31$ (still wanted rigorous proof)
I am trying to solve the following problem on integer sequences and subset sums from a 2023 Shanghai high school entrance exam:
Let $A = (a_1, a_2, \dots, a_n)$ be a sequence of positive integers ...
3
votes
2
answers
404
views
Coloring a graph with K-colors
Given a graph, I wish to try and color it with the minimum number of colors (0,1...k).
Each 2 connected vertices must have different colors.
I proposed the following algorithm - Initialize an array of ...
5
votes
2
answers
598
views
Solving Combinatorical Equation for n
Problem statement:
If $\frac{n!}{3!(n-3)!}:\frac{n!}{5!(n-7)!}=1:6$. Find $n$.
This simple factorial equation appeared in my test today.
It was an integer type problem, which means only one integer ...
7
votes
2
answers
356
views
Finding a sum that is always divisible by $1+2+\dots+n$.
There are $𝑛$ consecutive integers $𝑚,𝑚+1,\dots,𝑚+𝑛−1$. Prove that you can choose some nonempty subset of these numbers whose sum is divisible by $1+2+\dots+𝑛 $.
Edit: Okay, so here is what I ...
3
votes
3
answers
346
views
How many ways to arrange BOOKKEEPER where two E’s appear consecutively but not three.
Q: How many ways to arrange BOOKKEEPER where two E’s appear consecutively but not three.
Here What I've got : a) We can consider the two consecutive E’s as one block say X. Hence, we get a new string: ...
1
vote
2
answers
110
views
Find the number of quadruples of non negative integers $(a,b,c,d)$ such that $105a + 70b + 42c + 30d = 2025$
Find the number of quadruples of non negative integers (a,b,c,d) such that $105a + 70b + 42c + 30d = 2025$
Simply using generating functions makes things very lengthy:
This problem is similar to ...
7
votes
1
answer
291
views
What is the number of connected components of this graph?
Consider natural numbers $e_1 < e_2 < ... < e_k <n$. Define the graph $G$ to have the vertex set $V= \{1,\dots, n\}$ and edge set $E = \{(a,b)\in V^2 \: |\: \exists j=1,\dots, k: a = b\pm ...
3
votes
2
answers
148
views
A family of lines with more than four points is 2-colorable
Let $E$ be a finite set of points and $\mathcal{F}$ be a collection of subsets of $E$ (lines) such that
each line has cardinal at least 4
two distinct lines intersects at exactly one point.
Show ...
5
votes
1
answer
189
views
Arrangements of 10 Balls Chosen from Red and Blue, Where Every Blue Ball Has a Blue Neighbor(need pure combinatorics solution)
Question
Consider a linear arrangement of $10$ balls selected from an infinite supply of blue and red balls.
Determine the total number of distinct arrangements that satisfy the following condition:
...
5
votes
2
answers
197
views
Closed form for a symmetric sum of squared binomials
I am trying to find a closed form for the following sum: $$ \sum_{k=0}^{n-1} \left( \frac{1}{(k+1)(n-k)} \cdot \binom{n+1}{k+1}^2 \right) $$
What I have tried so far
I tried to simplify the expression ...
0
votes
2
answers
191
views
Number of derangement of $1,1,2,3,4,5,6,7$ [closed]
If there are 8 letters numbered 1 1 2 3 4 5 6 7 (not 12345678) instead there is one 1 extra
and similarly there are envlopes numbered 1 1 2 3 4 5 6 7
assuming that the two letters and the two ...
2
votes
1
answer
227
views
Limit of mean duration of the game "Tug of Luck"
In the game "Tug of Luck" $n$ coins are tossed. Player A gets the tails and B gets the heads. Thereafter they take turns rolling a die until one player has gotten rid of all their coins and ...
1
vote
2
answers
127
views
Combinatorial sum with set theory proof $\sum\limits_{k=1}^nk C_n^k$
Comment. I found this solution but I do not understand the identity in the first centered formula.
It looks similar to something from probability theory, like the expected value of a binomial random ...