login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A242705 Lexicographically earliest sequence of distinct positive integers such that for any n>0 the number of ones in the binary representation of n divides a(n). 4
1, 2, 4, 3, 6, 8, 9, 5, 10, 12, 15, 14, 18, 21, 16, 7, 20, 22, 24, 26, 27, 30, 28, 32, 33, 36, 40, 39, 44, 48, 25, 11, 34, 38, 42, 46, 45, 51, 52, 50, 54, 57, 56, 60, 64, 68, 35, 58, 63, 66, 72, 69, 76, 80, 55, 75, 84, 88, 65, 92, 70, 85, 78, 13, 62, 74, 81 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

This is a permutation of the positive integers.

LINKS

Paul Tek, Table of n, a(n) for n = 1..10000

Paul Tek, Perl program for this sequence

Index entries for sequences that are permutations of the natural numbers

PROG

(Perl) See Links section.

CROSSREFS

Cf. A242704, A242706 (inverse permutation).

Sequence in context: A266411 A264740 A137621 * A039864 A101906 A297403

Adjacent sequences:  A242702 A242703 A242704 * A242706 A242707 A242708

KEYWORD

nonn,base

AUTHOR

Paul Tek, May 21 2014

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 27 22:39 EDT 2020. Contains 338043 sequences. (Running on oeis4.)