

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
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

Does this sequence contain every positive number except powers of 2?


LINKS

Rémy Sigrist, Table of n, a(n) for n = 1..10000


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

Cf. A163621, A330524.
Sequence in context: A175650 A272976 A113533 * A201418 A123688 A082284
Adjacent sequences: A330522 A330523 A330524 * A330526 A330527 A330528


KEYWORD

nonn,base


AUTHOR

Rémy Sigrist, Dec 17 2019


STATUS

approved



