Given an alphabet $\{x,y\}$, a (binary) Lyndon word is a word $w$ in $\{x,y\}$ such that if $w=uv$ is a factorisation of $w$ into non-empty subwords, then $u<v$ in lexicographic order. This is equivalent to being the unique minimum word (in lexicographic order) among all its rotations.
The number of binary Lyndon words of length $n$ is given by the necklace polynomial
$$\frac{1}{n}\sum_{d|n}\mu \left(\frac{n}{d}\right)2^d$$
Is there a way to count the number of binary Lyndon words of length $n$ with $k$ occurrences of a given letter?