|
Search: id:A090702
|
|
|
| A090702 |
|
a(n) is the minimal number k such that every binary word of length n can be transformed into a palindrome or an antipalindrome by deleting at most k letters. |
|
+0 2
|
|
| 0, 0, 1, 1, 1, 2, 2, 2, 3, 4, 4, 4, 5, 5, 5, 6, 7, 7, 7, 8
(list; graph; listen)
|
|
|
OFFSET
|
1,6
|
|
|
COMMENT
|
A word l_0...l_n is called a palindrome if l_i=l_{n-i} for all i<=n.
A binary word l_0...l_n is called an antipalindrome if l_i<>l_{n-i} for all i<=n
|
|
REFERENCES
|
I. Protasov, Palindromial equivalence: one theorem and two problems, Matem. Studii, 14, #1, (2000), p. 111.
O. V. Ravsky, A New Measure of Asymmetry of Binary Words, Journal of Automata, Languages and Combinatorics, 8, #1 (2003), p. 75-83.
|
|
FORMULA
|
a(n)>=[(n+2*[(n-3)/7])/3] for every n and for 2<=n<=20 equality holds.
|
|
CROSSREFS
|
Cf. A090701.
Sequence in context: A072000 A006949 A055748 this_sequence A029124 A113512 A004524
Adjacent sequences: A090699 A090700 A090701 this_sequence A090703 A090704 A090705
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Sasha Ravsky (oravsky(AT)mail.ru), Jan 12 2004
|
|
|
Search completed in 0.002 seconds
|