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

A330525
The binary representation of a(n) is the concatenation of that of A330524(n) and of A330524(n+1).
2
3, 6, 5, 7, 14, 10, 11, 15, 28, 9, 12, 18, 20, 19, 29, 22, 21, 23, 30, 13, 24, 17, 25, 38, 40, 34, 41, 39, 31, 60, 36, 37, 44, 72, 35, 56, 68, 73, 76, 74, 42, 43, 46, 45, 27, 26, 84, 75, 47, 57, 77, 88, 69, 89, 78, 52, 79, 62, 80, 33, 48, 66, 81, 70, 82, 148
OFFSET
1,1
COMMENTS
Does this sequence contain every positive number except powers of 2?
LINKS
FORMULA
a(n) = A163621(A330524(n), A330524(n+1)).
PROG
(PARI) s=0; v=1; for (n=1, 66, for (w=1, oo, if (!bittest(s, k=v*2^#binary(w)+w), print1 (k", "); s+=2^k; v=w; break)))
CROSSREFS
Sequence in context: A175650 A272976 A113533 * A201418 A123688 A082284
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Dec 17 2019
STATUS
approved