Practice

#9 Generating Functions I

Log in to track solved progress and bookmarks.
Filter: Reset
#9.1
#9.1

Coefficient and Subset Choice

Binomial Coefficients Grade 8 Grade 9 ★★☆☆☆

Find the coefficient of \(x^4\) in \((1+x)^9\), and explain what combinatorial quantity it counts.

Details
Problem: COM-B2-M09-P001
Difficulty: Level 2 of 5
Tag: Binomial Coefficients
Grade: Grade 8, Grade 9
#9.2
#9.2

Three Unrestricted Variables

Counting Grade 8 Grade 9 ★★☆☆☆

How many triples of nonnegative integers \((a,b,c)\) satisfy \(a+b+c=14\)? Solve the problem using a generating function.

Details
Problem: COM-B2-M09-P002
Difficulty: Level 2 of 5
Tag: Counting
Grade: Grade 8, Grade 9
#9.3
#9.3

Bounded Triples

Inclusion-exclusion Grade 8 Grade 9 ★★☆☆☆

Find the number of triples \((a,b,c)\) such that \(a+b+c=9\) and \(0\le a,b,c\le 4\).

Details
Problem: COM-B2-M09-P003
Difficulty: Level 2 of 5
Tag: Inclusion-exclusion
Grade: Grade 8, Grade 9
#9.4
#9.4

Sum of Chosen Numbers

Generating Functions Grade 8 Grade 9 ★★☆☆☆

How many subsets of \(\{1,2,3,4,5,6,7\}\) have sum of elements equal to \(8\)?

Details
Problem: COM-B2-M09-P004
Difficulty: Level 2 of 5
Tag: Generating Functions
Grade: Grade 8, Grade 9
#9.5
#9.5

Vandermonde's Identity

Binomial Coefficients Grade 9 Grade 10 ★★☆☆☆

Prove using generating functions that for nonnegative integers \(r,s,n\),

\[\sum_{k=0}^{n}\binom{r}{k}\binom{s}{n-k}=\binom{r+s}{n}.\]

Details
Problem: COM-B2-M09-P005
Difficulty: Level 2 of 5
Tag: Binomial Coefficients
Grade: Grade 9, Grade 10
#9.6
#9.6

Even Summands

Parity Grade 9 Grade 10 ★★★☆☆

How many quadruples of nonnegative even integers \((a,b,c,d)\) satisfy \(a+b+c+d=18\)?

Details
Problem: COM-B2-M09-P006
Difficulty: Level 3 of 5
Tag: Parity
Grade: Grade 9, Grade 10
#9.7
#9.7

Strings with an Even Number of Ones

Parity Grade 9 Grade 10 ★★★☆☆

Prove that for \(n\ge 1\), the number of binary strings of length \(n\) with an even number of ones is \(2^{n-1}\).

Details
Problem: COM-B2-M09-P007
Difficulty: Level 3 of 5
Tag: Parity
Grade: Grade 9, Grade 10
#9.8
#9.8

Compositions Using Ones and Twos

Recursion Grade 9 Grade 10 ★★★☆☆

Let \(c_n\) be the number of ordered representations of \(n\) as a sum of parts \(1\) and \(2\). Find the generating function \(C(x)=\sum_{n\ge 0}c_nx^n\) and express \(c_n\) using Fibonacci numbers.

Details
Problem: COM-B2-M09-P008
Difficulty: Level 3 of 5
Tag: Recursion
Grade: Grade 9, Grade 10
#9.9
#9.9

Five Boxes with an Upper Bound

Inclusion-exclusion Grade 9 Grade 10 ★★★☆☆

In how many ways can \(20\) identical tokens be distributed among \(5\) boxes if each box may contain at most \(6\) tokens?

Details
Problem: COM-B2-M09-P009
Difficulty: Level 3 of 5
Tag: Inclusion-exclusion
Grade: Grade 9, Grade 10
#9.10
#9.10

Coefficient of a Rational Function

Counting Grade 9 Grade 10 ★★★☆☆

Find the coefficient of \(x^{10}\) in \(\frac{1}{(1-x)^2(1-x^3)}\).

Details
Problem: COM-B2-M09-P010
Difficulty: Level 3 of 5
Tag: Counting
Grade: Grade 9, Grade 10
#9.11
#9.11

Distinct Parts of 11

Partitions Grade 9 Grade 10 ★★★☆☆

Find the number of partitions of \(11\) into distinct positive parts.

Details
Problem: COM-B2-M09-P011
Difficulty: Level 3 of 5
Tag: Partitions
Grade: Grade 9, Grade 10
#9.12
#9.12

Symmetry of Coefficients

Generating Functions Grade 9 Grade 10 ★★★☆☆

Let \(c_k\) be the coefficient of \(x^k\) in \((1+x+\cdots+x^m)^n\). Prove that \(c_k=c_{mn-k}\).

Details
Problem: COM-B2-M09-P012
Difficulty: Level 3 of 5
Tag: Generating Functions
Grade: Grade 9, Grade 10
#9.13
#9.13

Six Bounded Summands

Inclusion-exclusion Grade 9 Grade 10 Grade 11 ★★★★☆

Find the number of integer solutions to \(a_1+\cdots+a_6=24\), where \(1\le a_i\le 7\) for all \(i\).

Details
Problem: COM-B2-M09-P013
Difficulty: Level 4 of 5
Tag: Inclusion-exclusion
Grade: Grade 9, Grade 10, Grade 11
#9.14
#9.14

Central Bounded Coefficient

Generating Functions Grade 9 Grade 10 Grade 11 ★★★★☆

Find the coefficient of \(x^{12}\) in \((1+x+x^2+x^3)^8\).

Details
Problem: COM-B2-M09-P014
Difficulty: Level 4 of 5
Tag: Generating Functions
Grade: Grade 9, Grade 10, Grade 11
#9.15
#9.15

Choosing Without Neighbours

Generating Functions Grade 9 Grade 10 Grade 11 ★★★★☆

Prove that the number of ways to choose \(k\) numbers from \(\{1,2,\ldots,n\}\) with no two chosen numbers consecutive is \(\binom{n-k+1}{k}\).

Details
Problem: COM-B2-M09-P015
Difficulty: Level 4 of 5
Tag: Generating Functions
Grade: Grade 9, Grade 10, Grade 11
#9.16
#9.16

Exactly k Dominoes

Recursion Grade 9 Grade 10 Grade 11 ★★★★☆

A \(1\times n\) strip is tiled by \(1\times 1\) squares and \(1\times 2\) dominoes. Prove that the number of tilings with exactly \(k\) dominoes is \(\binom{n-k}{k}\).

Details
Problem: COM-B2-M09-P016
Difficulty: Level 4 of 5
Tag: Recursion
Grade: Grade 9, Grade 10, Grade 11
#9.17
#9.17

Distinct Parts and Odd Parts

Partitions Grade 10 Grade 11 ★★★★☆

Prove that for every \(n\), the number of partitions of \(n\) into distinct parts equals the number of partitions of \(n\) into odd parts.

Details
Problem: COM-B2-M09-P017
Difficulty: Level 4 of 5
Tag: Partitions
Grade: Grade 10, Grade 11
#9.18
#9.18

A Sum with a Parity Condition

Parity Grade 10 Grade 11 ★★★★★

Find the number of 8-tuples \((x_1,\ldots,x_8)\) such that \(0\le x_i\le 5\), \(x_1+\cdots+x_8=30\), and \(x_1+x_2+x_3\) is even.

Details
Problem: COM-B2-M09-P018
Difficulty: Level 5 of 5
Tag: Parity
Grade: Grade 10, Grade 11
#9.19
#9.19

Subset Sum Modulo 3

Generating Functions Grade 10 Grade 11 ★★★★★

Let \(m\ge 1\). Prove that the number of subsets of \(\{1,2,\ldots,3m\}\) whose sum of elements is divisible by \(3\) equals

\[\frac{2^{3m}+2^{m+1}}{3}.\]

Details
Problem: COM-B2-M09-P019
Difficulty: Level 5 of 5
Tag: Generating Functions
Grade: Grade 10, Grade 11
#9.20
#9.20

Binary Weights with Carries

Generating Functions Grade 10 Grade 11 ★★★★★

Let \(m\ge 1\). There are weights \(2^0,2^1,\ldots,2^{m-1}\), and each weight may be taken \(0\), \(1\), \(2\), or \(3\) times. In how many ways can one obtain total weight \(2^m-1\)?

Details
Problem: COM-B2-M09-P020
Difficulty: Level 5 of 5
Tag: Generating Functions
Grade: Grade 10, Grade 11
Source: Method inspiration: local combinatorics source