OFFSET
1,2
COMMENTS
Subsequence of A217099.
a(n) is the greatest binary palindrome with n binary digits which meets the minimal possible number of palindromic substrings for that number of digits.
LINKS
Hieronymus Fischer, Table of n, a(n) for n = 1..500
FORMULA
a(n) = max(p | p is binary palindrome with n binary digits and A206925(p) = min(A206925(q) | q is binary palindrome with n binary digits)).
a(n) = A006995(j), where j := j(n) = max(k > A206915(2^(n-1)) | A206924(k) = min(A206925(A006995(i)) | i > A206915(2^(n-1)))).
a(n) = max(p | p is binary palindrome with n binary digits and A206925(p) = 2*(n-1) + floor((n-3)/2)).
EXAMPLE
a(1) = 1, since 1 is the largest binary palindrome with 1 palindromic substring (=1) which is the minimum for binary palindromes with 1 place.
a(3) = 5, since 5=101_2 is the largest binary palindrome with 4 palindromic substrings which is the minimum for binary palindromes with 3 places.
a(6) = 51, since 51=110011_2 is the largest binary palindrome with 11 palindromic substrings which is the minimum for binary palindromes with 6 places.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Hieronymus Fischer, Jan 23 2013
STATUS
approved