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.

A270426 Permutation of natural numbers: a(1) = 1, a(2n) = 2*a(n), a(2n+1) = A265341(a(n)).

Original entry on oeis.org

1, 2, 3, 4, 7, 6, 5, 8, 9, 14, 19, 12, 13, 10, 21, 16, 25, 18, 11, 28, 63, 38, 23, 24, 17, 26, 27, 20, 15, 42, 37, 32, 57, 50, 73, 36, 31, 22, 39, 56, 33, 126, 91, 76, 117, 46, 61, 48, 43, 34, 75, 52, 79, 54, 29, 40, 67, 30, 49, 84, 157, 74, 45, 64, 147, 114, 41, 100, 183, 146, 77, 72, 35, 62, 51, 44, 55, 78, 53, 112, 193, 66
Offset: 1

Views

Author

Antti Karttunen, Mar 17 2016

Keywords

Comments

This sequence can be represented as a binary tree. Each left hand child will contain 2n, and each right hand child will contain A265341(n), when the parent node contains n:
1
................../ \..................
2 3
4......../ \........7 6......../ \........5
/ \ / \ / \ / \
/ \ / \ / \ / \
/ \ / \ / \ / \
8 9 14 19 12 13 10 21
16 25 18 11 28 63 38 23 24 17 26 27 20 15 42 37
etc.

Crossrefs

Inverse: A270425.
Cf. A265341.

Formula

a(1) = 1, a(2n) = 2*a(n), a(2n+1) = A265341(a(n)).