Suppose $X$ is an alphabet and $w \in X^n$ is a word over it. Consider a set $P$ of $w$-free words over $X$ (a word is called $w$-free if it does not contain $w$ as a subword). I want to write a generating function for $P$ (by length). I am trying to write some kind of a recurrence relation considering the set $Q$ of words $u$ over $X$ such that $u$ ends with $w$ and $u$ does not contain $w$ as a subword in any other position. But clearly, if we take a word $a \in P$, it does not imply that $aw \in P$, so such a recurrence relation largely depends on $w$. Can you please suggest, is there such a way of deriving the generating function? Any references will be also appreciated.
2025-01-13 05:51:19.1736747479
Generating function for the set of $w$-free words.
97 Views Asked by Benjamin X https://math.techqa.club/user/benjamin-x/detail At
1
There are 1 best solutions below
Related Questions in COMBINATORICS
- How many different games are there in bridge?
- Discrete mathematics, sets, increasing functions
- Number of necklaces of 16 beads with 8 red beads, 4 green beads and 4 yellow beads
- Logic & Reasoning Question
- Delannoy Paths and Pell Sequence Relation
- Combinatorics Problem - Clients using two seperate services
- There are few boxes labelled with $1,2,4,5,7,8,9$ respectively. How many ways to choose $5$ boxes and arranges the boxes in a row.
- Confused by book's given solution to basic combinatorial problem
- How many ways to write a number $n$ as the product of natural numbers $\geq 2$?
- Confused about how to solve basic combinatorial problem
Related Questions in RECURRENCE-RELATIONS
- Recurrence Relation Question with a sequence
- Given the permutation recurrence relation find $a_n$
- Solve the recurrence relation $a_n={1\over2}a_{n-1}+1$, $a_1=1$
- Solve the recurrence relation $a_n=4a_{n-1}-3a_{n-2}+2^n$ with $a_1=1, a_2=11$
- Join 2n points in pairs on the circumference of a circle using n non-intersecting chords
- Asymptotic solutions of a sparsely perturbed recurrence relation
- long term recurrence relations and how to recorrect the deficit
- Solve the recurrence relation $a_n = 4a_{n-1} - 3a_{n-2} + 2^n $
- Is it possible to find a closed form for this recursive sequence?
- Solving quadratic recurrence relation
Related Questions in GENERATING-FUNCTIONS
- Prove that ${\sum _{n=0} \binom{2n}{n} x^n} = \frac{1}{\sqrt{1-4x}}$
- Wilf's Generatingfunctionology first example
- Number of ways to roll a 6 sided dice - Generating Functions
- A question about generating function related to weakly decreasing function
- How to compute the coefficients of this generating function
- Use generating functions to solve $a_n = 6a_{n-1} - 8a_{n-2} + 3 $ and...
- Proving binomial summation identity using generating functions
- How to solve these recurrence relations by using generating function
- On partition of integers
- On exponential generating function
Related Questions in COMBINATORICS-ON-WORDS
- Generating function for the set of $w$-free words.
- How many binary sequences are there which have given numbers of substrings 00, 01, 10, 11?
- When will a string have a repeating substring?
- Permutations- How many three letter words can you produce from the letters BALLSY?
- Combinatorics Name Generating
- "L-normal" finite strings?
- How can we have a circular sequence of $0$s and $1$s of length $d$ that are not periodic?
- Does $gcd(p,q)$ a period in string, where $p$ and $q$ are periods?
- Probability of a repeated substring in a randomly selected string
- Subsequence occurring exactly twice in pattern
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Refuting the Anti-Cantor Cranks
- Find $E[XY|Y+Z=1 ]$
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- What are the Implications of having VΩ as a model for a theory?
- How do we know that the number $1$ is not equal to the number $-1$?
- Defining a Galois Field based on primitive element versus polynomial?
- Is computer science a branch of mathematics?
- Can't find the relationship between two columns of numbers. Please Help
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- A community project: prove (or disprove) that $\sum_{n\geq 1}\frac{\sin(2^n)}{n}$ is convergent
- Alternative way of expressing a quantied statement with "Some"
Popular # Hahtags
real-analysis
calculus
linear-algebra
probability
abstract-algebra
integration
sequences-and-series
combinatorics
general-topology
matrices
functional-analysis
complex-analysis
geometry
group-theory
algebra-precalculus
probability-theory
ordinary-differential-equations
limits
analysis
number-theory
measure-theory
elementary-number-theory
statistics
multivariable-calculus
functions
derivatives
discrete-mathematics
differential-geometry
inequality
trigonometry
Popular Questions
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- How to find mean and median from histogram
- Difference between "≈", "≃", and "≅"
- Easy way of memorizing values of sine, cosine, and tangent
- How to calculate the intersection of two planes?
- What does "∈" mean?
- If you roll a fair six sided die twice, what's the probability that you get the same number both times?
- Probability of getting exactly 2 heads in 3 coins tossed with order not important?
- Fourier transform for dummies
- Limit of $(1+ x/n)^n$ when $n$ tends to infinity
I recommend you look at the Goulden-Jackson cluster method. See, for example, this answer, which contains references.