MathDB
2019 C/CS7: Languages Do Not Intersect

Source:

January 27, 2019
2019combinatoricscomputer science

Problem Statement

Consider the set LL of binary strings of length less than or equal to 99, and for a string ww define w+w^{+} to be the set {w,w2,w3,}\{w,w^2,w^3,\ldots\} where wkw^k represents ww concatenated to itself kk times. How many ways are there to pick an ordered pair of (not necessarily distinct) elements x,yLx,y\in L such that x+y+x^{+}\cap y^{+}\neq \varnothing?