On minimal Sturmian partial words ?
Partial words, which are sequences that may have some undefined positions called holes, can be viewed as sequences over an extended alphabet A?=A?{?} A ? = A ? { ? } , where ? ? stands for a hole and matches (or is compatible  with) every letter in A A . The subword complexity  of a partial word w w , denoted by pw(n) p w ( n ) , is the number of distinct full words (those without holes) over the alphabet that are compatible with factors of length n n of w w . A function f:N?N f : N ? N is (k,h) ( k , h ) -feasible  if for each integer N?1 N ? 1 , there exists a k k -ary partial word w w with h h holes such that pw(n)=f(n) p w ( n ) = f ( n ) for all n n such that 1?n?N 1 ? n ? N . We show that when dealing with feasibility in the context of finite binary partial words, the only affine functions that need investigation are f(n)=n+1 f ( n ) = n + 1 and f(n)=2n f ( n ) = 2 n . It turns out that both are (2,h) ( 2 , h ) -feasible for all non-negative integers h h . We classify all minimal partial words with h h holes of order N N with respect to f(n)=n+1 f ( n ) = n + 1 , called Sturmian, computing their lengths as well as their numbers, except when h=0 h = 0 in which case we describe an algorithm that generates all minimal Sturmian full words. We show that up to reversal and complement, any minimal Sturmian partial word with one hole is of the form ai?ajbal a i ? a j b a l , where i,j,l i , j , l are integers satisfying some restrictions, that all minimal Sturmian partial words with two holes are one-periodic, and that up to complement, ?(aN?1?)h?1 ? ( a N ? 1 ? ) h ? 1 is the only minimal Sturmian partial word with h?3 h ? 3 holes. Finally, we give upper bounds on the lengths of minimal partial words with respect to f(n)=2n f ( n ) = 2 n , showing them tight for h=0,1 h = 0 , 1 or 2 2 .
partial words subword complexity automata and formal languages combinatorics on words graph theory feasible functions sturmian words