For questions about the study of finite or countable discrete structures, specifically 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.

learn more… | top users | synonyms (4)

1
vote
0answers
25 views

Success runs in dependent trials

There are 260 business days in a year. We have 54 employees. Each employee is required to bring donuts twice a year on different days. Each employee chooses the two days at random, independently of ...
0
votes
1answer
21 views

Drawing exactly $r$ red, $g$ yellow and $b$ blue balls out of an urn

In an urn, let there be $U \in \mathbb{N}$ balls. Of these balls, $R$ are red, $G$ are yellow and $B$ are blue, and there are no other colors than these in the urn. (So, $R + G + B = U$.) Now, without ...
2
votes
1answer
30 views

Enumerating the primitive recursive functions without repetition

According to this paper (and this one), it is possible to enumerate the primitive recursive functions without duplication, even though equality of primitive recursive functions is not decidable. I am ...
0
votes
1answer
21 views

permutations of n objects

Does the number of permutations of $n$ objects, $r$ alike of one kind and $n−r$ alike of another kind, always equal the combinations of n different objects taken $r$ at a time? Explain. I know ...
0
votes
0answers
27 views

Measure of Connectivity on a Chessboard

I'm programming a boardgame...game. The basic idea of it is there are two players (call them $X$ and $Y$) that are trying to trying to build a wall connecting the North and South, and East and West ...
0
votes
0answers
28 views

Multivariable recurrence: Solving $c(n,k) = c(n-1,k) + c(n-1,k-1) = \binom{n}{k}$ by algebraic methods.

Let $(c_{n,k})_{n,k=0}^{\infty}$ be defined by $c(0,0)=1$, $\:\:c(0,k)=0 \:\: \forall \: k > 0$ $$c(n,k) = c(n-1,k) + c(n-1,k-1) \:\:\: \forall \: n \geq 1$$ I can show that the ...
0
votes
2answers
30 views

How to count the number of x in a rows in a larger set.

For example, I have 4 in a row like so: xxxx I can see that it has 2 xxx in it and 3 xx. ...
1
vote
1answer
30 views

Proof by strong induction combinatorics problem

$1(1!) + 2(2!) + 3(3!) + \dots + n(n!) = (n+1)! - 1$ How do we prove this by strong induction? I know how to do it with weak induction, but how would strong induction work with this problem?
0
votes
2answers
35 views

Find $n$ such that the congruence $x^n\equiv 2\mod 13$ has a solution for $x$.

Find $n$ such that the congruence $x^n\equiv 2\mod 13$ has a solution for $x$. I am not getting any idea how to start this problem. Please give some hits
0
votes
1answer
15 views

Arrangements of crew in two sides of a boat - permutations and combinations

A boat crew consist of 8 men, 3 of whom can row only on one side and 2 only on the other. The number of ways in which the crew can be arranged is This is a problem my math teacher has given ...
5
votes
3answers
40 views

Game is winnable if and only if $n \neq k$

Integers $n$ and $k$ are given, with $n \ge k \ge 2$. You play the following game against an evil wizard. The wizard has $2n$ cards; for each $i = 1, \ldots, n$, there are two cards labelled $i$. ...
2
votes
0answers
36 views

$(k^2)! \cdot \prod_{j = 0}^{k = 1} {{j!}\over{(j + k)!}}$ integer for $k \in \mathbb{N}$

How do I see that for any positive integer $k$,$$(k^2)! \cdot \prod_{j = 0}^{k = 1} {{j!}\over{(j + k)!}}$$is an integer?
2
votes
1answer
51 views

How many more edges can be added to a graph while keeping it acyclic?

If I have a connected, directed graph with $n$ vertices and $m$ edges, is there some sort of formula that describes how many more edges can be added to the graph while keeping it acyclic?
0
votes
0answers
31 views

proof of number of sub arrays of an array of size $N$ using combinatorics

What is the proof that number of sub arrays of an array of size $N$ is $$\frac{N(N+1)}{2}$$
0
votes
0answers
17 views

Can you identify this stochastic process?

So I run into this problem the other day and I cannot even think of the keywords I need to use to look it up. For the discrete random variable $X$ we have: $P_{\Delta X(t)} = F\big(X(t-1), ...
-1
votes
1answer
38 views

How do I find all n values for which the equation $\phi (n) = 8$ holds? [duplicate]

I've heard all kinds of different ways to solve this problem, yet haven't been able to apply them specifically to the number 8 (Worked fine for 6 for example). I'd love to see a well-explained ...
7
votes
2answers
544 views

Number of ways of visiting N places

A tourist wants to visit $N$ cities, each numbered from $1$ to $N$, but he wants to visit them in a weird order. A weird order is such in which no city numbered $i$ is the $i$-th to visit in his ...
5
votes
2answers
160 views

How many integers from 43523 to 93107 contain at least one digit 7

How many integers from $43523$ to $93107$ contain the digit $7$ at least once? I know that if we had $43000$ to $93000$, we would subtract integers that do not contain digit $7$ from the total ...
1
vote
0answers
25 views

Number of ways to get from a point to another one in the plane

I was trying to solve the following problem related to "counting cases": Consider the point $(0,0)$ in the plane and another point $(m,n)$ with $m,n>0$ integers. Suppose you want to get from the ...
1
vote
0answers
22 views

Real world uses or interesting facts about/for Associahedron or Permutohedron

I'm doing a small research project into these but their Wiki page and other pages I've looked at just detail what they are, and their properties. Does anyone know of any real world applications or ...
1
vote
0answers
28 views

The Divisors of $s(2s+1)$ and Primes $n$, $4n+1$, and $6n+1$

This question is somewhat related to this one. Most of this is by way of a computer search: claim: If $s$ is any positive integer I write $\varphi_{s} =s(2s+1)$. Let $\tau$ be the divisor ...
2
votes
1answer
19 views

For each of the following restrictions, find the smallest size n for strings over $\{a, b, c\}$ that can be used as codes for $27$ people.

For each of the following restrictions, find the smallest size $n$ for strings over $\{a, b, c\}$ that can be used as codes for $27$ people. a. There are $k$ $a$’s, $l$ $b$’s, and $m$ $c$’s and $k + ...
0
votes
3answers
67 views

How many distinct ways can the number be written as product of $3$ factors?

How many distinct ways can the number $126$ be written as a product of $3$ positive integer factors? I found that the prime factors are $126=2\times3\times3\times7$. But how to get number of ...
1
vote
1answer
24 views

What is the probability Amy wins a lottery prize for correctly choosing 5, not six, numbers…

Here is the full question: What is the probability that Amy wins a lottery prize for correctly choosing 5, not six, numbers out of six integers chosen at random from the integers between 1 and 40 ...
2
votes
1answer
18 views

Half primes in the set

Let S be 30 element subset of {1,2,....2015} such that every pair of elements in S are relatively prime. Prove that at least half of the elements in S are prime numbers
0
votes
0answers
30 views

Combinatorial Nullstellenatz riddle

I've been unable to solve the last problem here: http://www.mit.edu/~evanchen/handouts/BMC_Combo_Null/BMC_Combo_Null.pdf Let $n ≥ 2$ be even and let $v_1, v_2, . . . , v_k ∈ \{±1\}^n$ be vectors of ...
0
votes
0answers
11 views

Number of nodes (or vertices) with degree at most average degree + some constant [on hold]

I'm struggling with a problem of graph theory. In any graph I'm trying to compute how many nodes have degree at most average degree + 1 (or some constant independent of the graph). Obviously there ...
3
votes
2answers
39 views

What is probability that out of the first half on N objects, none will be matched with their own label?

The problem: We have N (even) objects ordered $o_1 ... o_N$ , each having their own label. The labels are reassigned to the objects randomly. What is the probability that that neither of the first ...
2
votes
1answer
21 views

Understanding derangement.

From the inclusion-exclusion principle we get that out of $N$ objects with one label each, there is a probability of $$\sum_{k=1}^N (-1)^{k+1}\frac{1}{k!}$$ that a random assignment of the $N$ labels ...
3
votes
1answer
30 views

How many straight lines can be made between 10 points such that 4 of them are colinear?

So i know how to get the answer. We just have to find $C(10,2)$ and subtract $C(4,2)$ and add 1. We are basically counting all the points between co-linear points as 1. So the question is why we are ...
1
vote
1answer
25 views

How many different arrangements of triangles that are either red or blue around a regular heptagon are possible?

I have the following problem I have an yellow heptagon (regular $7$ sided polygon) Against every side there is a triangle. The triangle is either red or blue. How many different arrangements of ...
0
votes
1answer
26 views

Number of non periodic strings

How many non-periodical strings of length N with letters from a to z exist? My only idea was something about prime factorization to find the amount of periodical strings of length N.
27
votes
6answers
400 views

You have to estimate $\binom{63}{19}$ in $2$ minutes to save your life.

This is from the lecture notes in this course of discrete mathematics I am following. The professor is writing about how fast binomial coefficients grow. "So, suppose you had 2 minutes to save your ...
2
votes
1answer
37 views

How does the multiplication law creates order?

I have the following question : There are $2n$ students divided to couples to do homework. Using the multiply law we can choose the first couple then the second then the third couple and so on. The ...
0
votes
0answers
22 views

arranging $n$ objects of one kind and $m$ objects of other kind in a row

Why are there precisely $\binom{m+n}{n}$ ways of arranging $M$ objects of one kind and $N$ objects of other kind in a row?
0
votes
0answers
43 views

Confusion About “Stars and Bars” Method

Let's suppose I were trying to count the number of nonnegative integer solutions to the equation $x+y<2k$ for $x,y,k$ nonnegative integers. This is, of course, equivalent to solving $x+y\leq2k-1$. ...
0
votes
1answer
32 views

What book about algebraic combinatorics is it?

Recently I found a fragment of a book about algebraic combinatorics on the internet coincidentally. And I found it's really an excellent resource of learning polynomial method, about Combinatorial ...
3
votes
2answers
48 views

How many onto functions are there from a set with $5$ elements to a set with $3$ elements? [on hold]

Consider functions from a set with $5$ elements to a set with $3$ elements. (a) How many functions are there? (b) How many are one-to-one? (c) How many are onto? a) Each element mapped to $3$ images. ...
1
vote
1answer
61 views

A sum of Stirling numbers of the second kind

Find a formula (either exact or asymptotic in $N$) for $S(N)$, where \begin{equation} S(N) = \sum_{n=N}^\infty \sum_{k=N}^n \sum_{j=0}^k \binom{k}{j} (-1)^{k-j} (1+j)^n \frac{t^n}{n!}. \end{equation} ...
-2
votes
2answers
42 views

How many strings of six lowercase letters have at least one vowel?

The English alphabet has $21$ consonants and $5$ vowels. How many strings of six lowercase letters have at least one vowel? My attempt: I'm confused between using combinations and just ...
1
vote
1answer
51 views

proof by CP$ \binom{m}{1} S_{1}(n)+\binom{m}{2} S_{2}(n)+\binom{m}{3} S_{3}(n)+ \cdots +\binom{m}{m-1} S_{m-1}(n)=(n+1)^m-(n+1)$

I would appreciate if somebody could help me with the following problem: Q: How to Proof (by combinatorial proof) $$ \binom{m}{1} S_{1}(n)+\binom{m}{2} S_{2}(n)+\binom{m}{3} S_{3}(n)+ \cdots ...
0
votes
2answers
24 views

Two discrete r.v. problem, joint density

Problem A cook needs two cans of tomatoes to make a sauce. In his cupboard he has $6$ cans: $2$ cans of tomatoes, $3$ of peas and $1$ of beans. Suppose that the cans are without the labels, so he ...
1
vote
0answers
20 views

Basic probability problem with negative binomial distribution

John goes to the grocery. His mother sent him to buy $20$ peaches and requested him to be sure that the peaches were mature. Suppose the probability of a peach of being mature is $p$ and suppose that ...
0
votes
0answers
22 views

Find the number of n- digit ternary sequences with at least one instance of consecutive 0's.

I know how to do this problem with binary sequences but I have no idea how to start with ternary sequences. Any help would be great!
0
votes
1answer
36 views

A binomial-related inequality

For integer $m\geq 1$, show that: $$\sum_{|k|<\sqrt{m}}{2m \choose m+k}\geq 2^{2m-1}.$$ What I have tried: I tried binomial expansion of $2^{2m}$ but it was unsuccessful. Any other idea?
0
votes
2answers
49 views

how many ways are there to distribute 48 identical balloons to 7 children if each child gets at least one balloon

I understand how to get the generating function (g(x) = (e^x) - 1, I believe) but I am having trouble finding the coefficient. Any ideas?
1
vote
1answer
46 views

How many distinct patterns exist for a 5x5 grid by filling 3 colors?

Using 3 colors to fill in a $5\times5$ grid (you don't have to use all colors), then how many distinct patterns exist? The "distinct" means we have to consider the symmetry. Any effective approach is ...
2
votes
2answers
36 views

Counting the number of ways (variants)

I'm learning about combinatorics and wanted to see if I understand when to apply what methods when it comes to counting the number of ways to distribute x items. There are a lot of concepts I've ...
4
votes
3answers
41 views

A walk on the chessboard with conditions!

A 16 step path is to go from (-4,-4) to (4,4) with each step increasing in either the x-coordinate or the y-coordinate by 1. How many such paths stay outside or on the boundary of the square ...
1
vote
1answer
24 views

How many ways are there to arrange the letters of word $ALGEBRA$ such that the relative order of the vowels and consonants doesn't change?

I did this question this way :- there are 4 consonants in the words (LGBR) and there are 7 letters in the word. $therefore$ number of in which consonants can be arranged in relative order will be ...