OFFSET
1,1
COMMENTS
The terms can be constructed by gluing together terms from A355280 with their reversal as follows: The terms with odd length L = 2k-1 are given from the k-digit terms of A355280 by replacing the last digit with the reversal of the term. (Equivalently, concatenate with the reversal and delete one of the middle digits.) Terms with an even number L = 2k of digits are given as concatenation(m, reverse(m)) = m*10^L(m) + A004086(m) where m runs over the k-digit terms from A355280, and the (k-1)-digit terms with the 1's complement of the last digit appended. This explains the formula given in CROSSREFS for the number of terms of given length. - M. F. Hasler, Oct 17 2022
LINKS
Ray Chandler, Table of n, a(n) for n = 1..10000 (first 608 terms from N. J. A. Sloane)
N. J. A. Sloane, 2178 And All That, arXiv:1307.0453 [math.NT], 2013; Fib. Quart., 52 (2014), 99-120.
FORMULA
PROG
(PARI) concat(apply( {A061851_row(n)=[fromdigits(binary(m))|m<-A222813_row(n)]}, [1..11])) \\ M. F. Hasler, Oct 17 2022
(Python)
def A061851_row(n): return [] if n < 2 else [10**n//9] if n < 6 else [
[x*10+1-x%10 for x in A355280_row(n//2-1)])]
# M. F. Hasler, Oct 17 2022
CROSSREFS
Cf. A355280 (palindromic binary numbers with no digit run of length < 2).
KEYWORD
base,nonn
AUTHOR
Henry Bottomley, May 10 2001
STATUS
approved