|
Search: id:A154391
|
|
|
| A154391 |
|
Terms of A123466 which have a one-to-one correspondence between every run of 1s and 0s of the same length. |
|
+0 1
|
|
| 2, 10, 12, 38, 42, 44, 50, 52, 56, 142, 150
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
Contribution from Leroy Quet (q1qq2qqq3qqqq(AT)yahoo.com), Aug 01 2009: (Start)
Each term of the sequence, when written in binary, has an even number of digits, since the same number of 0's occur in each binary representation as the number of 1's.
Each term of the sequence is even. (End)
|
|
EXAMPLE
|
150 in binary is 10010110. There is a run of one 1, followed by a run of two 0's, followed by a run of one 1, followed by a run of one 0, followed by a run of two 1's, followed finally by a run of one 0. So, the runs of 0's are of lengths (2,1,1), and the runs of 1's are of the lengths (1,1,2). Since (2,1,1) is a permutation of (1,1,2), then 150 is in the sequence. [From Leroy Quet (q1qq2qqq3qqqq(AT)yahoo.com), Aug 01 2009]
|
|
CROSSREFS
|
A123466
Sequence in context: A004686 A080139 A055701 this_sequence A035928 A014486 A166751
Adjacent sequences: A154388 A154389 A154390 this_sequence A154392 A154393 A154394
|
|
KEYWORD
|
base,more,nonn
|
|
AUTHOR
|
Ray G. Opao (qzxpqbp(AT)gmail.com), Jan 08 2009
|
|
EXTENSIONS
|
Extended, terms a(8)-a(11). Leroy Quet (q1qq2qqq3qqqq(AT)yahoo.com), Aug 01 2009
|
|
|
Search completed in 0.002 seconds
|