[go: up one dir, main page]

login
A211968
Triangle of binary numbers with some initial repeats.
4
11, 110, 111, 1010, 1100, 1101, 1110, 1111, 10100, 10101, 11000, 11001, 11010, 11011, 11100, 11101, 11110, 11111, 100100, 101000, 101001, 101010, 101011, 101101, 110000, 110001, 110010, 110011, 110100, 110101, 110110, 110111, 111000, 111001, 111010, 111011
OFFSET
2,1
COMMENTS
Triangle read by rows in which row n lists the binary numbers with n digits and with some initial repeats, n >= 2.
Also triangle read by rows in which row n lists the binary words of length n with some initial repeats and with initial digit 1, n >= 2.
EXAMPLE
Triangle begins, starting at row 2:
11;
110, 111;
1010, 1100, 1101, 1110, 1111;
10100, 10101, 11000, 11001, 11010, 11011, 11100, 11101, 11110, 11111;
MAPLE
s:= proc(n) s(n):= `if`(n=1, [[1]], map(x->
[[x[], 0], [x[], 1]][], s(n-1))) end:
T:= proc(n) map(x-> parse(cat(x[])), select(proc(l) local i;
for i to iquo(nops(l), 2) do if l[1..i]=l[i+1..2*i]
then return true fi od; false end, s(n)))[] end:
seq(T(n), n=2..7); # Alois P. Heinz, Dec 04 2012
CROSSREFS
Complement in base 2 of A211027.
Rows lengths give: A093370.
Sequence in context: A103542 A293871 A336880 * A284040 A288293 A288802
KEYWORD
nonn,tabf,base
AUTHOR
Omar E. Pol, Dec 03 2012
STATUS
approved