19 Qs · since 2012 · 31 marks · 1.2 marks/paperMedium yield
GATE evaluates Generating Functions by testing the candidate's ability to find closed-form representations of ordinary generating functions (OGFs) for piecewise or parity-dependent… Guide
Topic guide
GATE evaluates Generating Functions by testing the candidate's ability to find closed-form representations of ordinary generating functions (OGFs) for piecewise or parity-dependent sequences. Questions require decomposing sequences linearly and applying operations like substitution (e.g., ) and differentiation to handle polynomial coefficients. These items test analytical fluency with infinite series and discrete mathematics manipulations.
Recurrence relation formulation and evaluation
common · mixed · 2 marks · 2015, 2014
Formulating linear or non-homogeneous recurrence relations from combinatorial constraints (e.g., bit strings avoiding/containing patterns or sequences summing to a target) and computing terms or finding the recurrence equation.
Restricted permutations and derangement variants
common · mixed · 2 marks · 2023, 2020
Counting arrangements where certain elements cannot occupy specific positions (derangements with identical characters) or must appear in specific relative orders.
Stars and bars / Multisets / Combinations with repetition
occasional · NAT · 1 marks · 2015
Counting non-decreasing sequences or distributions of identical items into distinct bins, equivalent to .
Generating functions and closed forms
occasional · MCQ · 1 marks · 2018
Deriving the ordinary generating function in closed form for arithmetic or polynomial coefficient sequences.
Inclusion-exclusion and onto function counting
common · MCQ · 2 marks · 2012
Using inclusion-exclusion or complementary counting to determine surjective mappings or structured subgraphs (such as cycles in complete graphs).
Binary representation and weight partitioning
rare · NAT · 2 marks · 2014
Applying properties of powers of 2 (uniqueness of binary representations) to solve combinatorial identification puzzles.
Complementary Counting on Strings with Adjacency Constraints
occasional · NAT · 1 marks · 2025
Counting the number of strings of a given length over an alphabet of size k that contain at least one instance of consecutive identical symbols, solved by subtracting strings with no consecutive identical symbols from the total possible strings.
Generating Function Coefficient Extraction
common · NAT · 2 marks · 2017, 2016
Given a formal power series or rational generating function (often expressed using ), determine the coefficient of a specific term or compute an expression like .
Recurrence Solved via Finite Series Summation
occasional · NAT · 2 marks · 2016
A first-order non-homogeneous recurrence of the form (where is a polynomial) is evaluated at a large using closed-form summation identities.
Principle of Inclusion-Exclusion (Divisibility)
occasional · NAT · 2 marks · 2017
Counting the number of integers in a range divisible by at least one of multiple coprime or prime divisors using 3-set PIE.
Constrained Combinatorial Assignment
occasional · NAT · 1 marks · 2021
Distributing distinct objects into distinct categories under specific pinned boundary conditions and non-empty bin requirements using complementary counting.
Modular Exponentiation / Number Theoretic Arithmetic
occasional · NAT · 1 marks · 2019
Computing large powers modulo a prime using Fermat's Little Theorem or cyclic period reduction.
Divisor Counting via Prime Factorization
common · NAT · 1 marks · 2015
Given a positive integer , compute the total number of positive divisors by decomposing into its canonical prime factorization and applying the multiplicative formula .
Double Counting of Element-Subset Pairs
rare · MCQ · 1 marks · 2019
Counting the cardinality of ordered pairs where and with , formulated both element-first () and subset-cardinality-first ().
Closed-Form OGF for Parity-Dependent Sequences
rare · MCQ · 2 marks · 2022
Given a sequence defined differently for odd and even (or incorporating polynomial factors on one parity), find the closed-form algebraic expression for .
Surjective functions from n-set to 2-set
Used when counting onto functions from a set of size to a set of size 2 by subtracting 2 constant functions.
Cycles of length k in a complete graph $K_n$
Used to count undirected simple cycles of length on labeled vertices.
Combinations with repetition (Multiset coefficient)
Used to count non-decreasing sequences of length using distinct symbols or distributing identical items into distinct bins.
Generating function for linear sequences
Used to convert sequences of the form into rational closed-form generating functions.
Ordered partition recurrence (Fibonacci type)
Used when an -sum composition is formed using step sizes of 1 and 2.
Total Strings of Fixed Length
Used to find total number of length- strings over an alphabet of size .
Strings without Consecutive Identical Characters
Used to count strings where no two adjacent positions have the same character.
Principle of Complementary Counting
Used when counting strings containing 'at least one' occurrence of an event is harder than counting zero occurrences.
Negative Binomial Series Expansion
Used to find coefficients of terms in ordinary generating functions.
Principle of Inclusion-Exclusion (3 Sets)
Used when counting elements satisfying at least one of three divisibility or property criteria.
Sum of First n Squares
Used in telescoping recurrence relations involving quadratic polynomial increments.
Sum of First n Integers
Used in telescoping recurrence relations involving linear polynomial increments.
Fermat's Little Theorem
Used to reduce large exponent modulo calculations.
Number of Positive Divisors Function ($d(n)$ or $\tau(n)$)
Used to find the total count of positive integer divisors of a given integer given its prime factorization.
Absorption Identity for Binomial Coefficients
Used to simplify summation terms containing an index multiplied by a binomial coefficient.
Binomial Identity for Derivative / First Moment Sum
Used when counting the total number of element-subset incidence pairs with where .
Ordinary Generating Function (OGF)
Fundamental definition used to convert a discrete sequence into a power series.
Geometric Series Sum
Summing infinite constant sequences over all integers or restricted parities.
Index Multiplication via Differentiation
Generating linear factors (like or ) attached to series coefficients.
Shift from basic formula identification (onto functions, cycles) towards constructive NAT problems involving case casework and derangements.
2020, 2014, 2012
Introduction of abstract algebraic combinatorial questions involving parameterized sets and order relations.
2023
Direct numerical-answer counting problems evaluating elementary combinatorial principles like complementary counting are featured as concise 1-mark NAT questions.
2025
Exclusively tested as NAT questions across the sampled years, demanding exact integer computation without multiple-choice elimination.
2021, 2019, 2017, 2016
Higher-weight 2-mark questions focus on generating function expansions and 3-set PIE, while 1-mark questions assess direct modular arithmetic or assignment principles.
2021, 2019, 2017, 2016
Direct calculation items on elementary combinatorics/number theory are placed as 1-mark NAT questions without multiple-choice options, testing arithmetic precision and basic divisor function application.
2015
Emphasis on multi-statement verification where both closed-form and summation representations of the same combinatorial quantity must be identified as valid.
2019
Appears as a 2-mark calculus/algebra-heavy discrete mathematics question requiring series differentiation and algebraic simplification rather than simple recurrence solving.
2022
Easy: Direct closed-form formula substitution or standard generating function expansions (1 mark). Medium: Multi-step case breakdowns (such as derangements with duplicate items, recurrence derivations for substring constraints, or parameterized permutation problems) (2 marks).