login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A358892
Numbers obtained by self-shuffling the binary expansion of nonnegative numbers.
2
0, 3, 10, 12, 15, 36, 40, 43, 45, 48, 51, 53, 54, 58, 60, 63, 136, 144, 147, 149, 153, 160, 163, 165, 169, 170, 172, 175, 178, 180, 183, 187, 192, 195, 197, 201, 202, 204, 207, 210, 212, 215, 216, 219, 221, 228, 232, 235, 237, 238, 240, 243, 245, 246, 250, 252
OFFSET
1,2
COMMENTS
This sequence lists the distinct values in A358893, in ascending order.
For any n > 0, there are A191755(n)/2 terms with binary length 2*n.
All terms are evil (A001969) and have an even number of binary digits (A053754).
EXAMPLE
The binary expansion of 204 is "11001100" and can be obtained by self-shuffling the binary expansion of 10 ("1010") or 12 ("1100"), so 204 is a term.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Dec 05 2022
STATUS
approved