login
A242722
Lexicographically earliest sequence of distinct positive integers such that for any n>0 the number of ones in the binary representation of a(n) divides n.
2
1, 2, 4, 3, 8, 5, 16, 6, 7, 9, 32, 10, 64, 12, 11, 15, 128, 13, 256, 17, 14, 18, 512, 19, 31, 20, 21, 23, 1024, 22, 2048, 24, 25, 33, 47, 26, 4096, 34, 28, 27, 8192, 35, 16384, 29, 37, 36, 32768, 30, 127, 40, 38, 39, 65536, 41, 55, 43, 42, 48, 131072, 44
OFFSET
1,2
COMMENTS
This is a permutation of the positive integers.
Is this the same as A242706? - R. J. Mathar, May 30 2014
PROG
(PARI) See Link section.
CROSSREFS
Cf. A242705.
Sequence in context: A376906 A118783 A242706 * A120242 A322864 A355436
KEYWORD
nonn,base
AUTHOR
Paul Tek, May 21 2014
STATUS
approved