cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A269376 Permutation of nonnegative integers: a(1) = 0, a(2) = 1, a(2n) = 2*a(n), a(2n+1) = 1 + 2*a(A269370(2n+1)).

Original entry on oeis.org

0, 1, 3, 2, 5, 6, 7, 4, 15, 10, 13, 12, 31, 14, 63, 8, 9, 30, 11, 20, 127, 26, 21, 24, 255, 62, 23, 28, 25, 126, 511, 16, 1023, 18, 29, 60, 2047, 22, 27, 40, 17, 254, 4095, 52, 47, 42, 61, 48, 8191, 510, 16383, 124, 41, 46, 95, 56, 55, 50, 53, 252, 19, 1022, 32767, 32, 49, 2046, 65535, 36, 131071, 58, 125, 120
Offset: 1

Views

Author

Antti Karttunen, Mar 01 2016

Keywords

Comments

Note the indexing: Domain starts from 1, range from 0.

Crossrefs

Inverse: A269375.
Cf. A269370.
Related permutation: A269378.
Cf. also A252756, A269386.

Formula

a(1) = 0, a(2) = 1, a(2n) = 2*a(n), a(2n+1) = 1 + 2*a(A269370(2n+1)).
As a composition of related permutations:
a(n) = A269386(A260741(n)).