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”).

A352670
a(n) is the smallest positive integer not yet in the sequence such that the binary representation of a(n) AND a(n-1) contains exactly two 1-bits, starting a(1) = 3.
1
3, 7, 5, 13, 9, 11, 10, 14, 6, 15, 12, 28, 20, 21, 17, 19, 18, 22, 26, 23, 25, 24, 27, 35, 31, 37, 29, 39, 30, 38, 34, 42, 40, 41, 33, 43, 44, 36, 45, 49, 47, 50, 46, 51, 48, 52, 56, 53, 58, 74, 59, 67, 55, 69, 61, 71, 54, 57, 73, 63, 70, 62, 75, 65, 77, 60
OFFSET
1,1
COMMENTS
This is a permutation of the positive nonpowers of 2, or of { A057716 } \ {0}.
LINKS
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Alois P. Heinz, Mar 28 2022
STATUS
approved