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.

A269378 Permutation of natural numbers: a(1) = 0, after which a(2n) = 1 + 2*a(n), a(2n+1) = 2 * a(A269370(n)).

Original entry on oeis.org

0, 1, 2, 3, 6, 5, 4, 7, 8, 13, 10, 11, 16, 9, 32, 15, 14, 17, 12, 27, 64, 21, 26, 23, 128, 33, 24, 19, 22, 65, 256, 31, 512, 29, 18, 35, 1024, 25, 20, 55, 30, 129, 2048, 43, 48, 53, 34, 47, 4096, 257, 8192, 67, 54, 49, 96, 39, 40, 45, 42, 131, 28, 513, 16384, 63, 46, 1025, 32768, 59, 65536, 37, 66, 71, 131072, 2049, 262144, 51, 38, 41
Offset: 1

Views

Author

Antti Karttunen, Mar 01 2016

Keywords

Comments

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

Crossrefs

Inverse: A269377.
Cf. A269370.
Related permutation: A269376.
Cf. also A252754, A269388.

Formula

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