0
votes
1answer
70 views

Confuse about Generating function for Regular Expression

I have this regex A = (a*b)* and I want to compute the Generating Function that enumerate this regex. So the formula for the GF of that regex is ...
1
vote
0answers
37 views

Calculating the variance of the a regular expression assuming position dependent

Hello I am having trouble with a slightly biological problem I am given a regular expression $- [RK]-[LV]-[DE]-x(2)-Y$ this expression means that there is a string with the first position being an ...