OFFSET
0,2
COMMENTS
Permutation of natural numbers obtained from the Lucky sieve. Note the indexing: Domain starts from 0, range from 1.
This sequence can be represented as a binary tree. After a(1)=2, each left hand child is obtained by applying A269369 to the parent, and each right hand child is obtained by doubling the contents of the parent node, when the parent node contains n:
1
|
...................2...................
3 4
7......../ \........6 5......../ \........8
/ \ / \ / \ / \
/ \ / \ / \ / \
/ \ / \ / \ / \
9 14 11 12 19 10 17 16
13 18 35 28 39 22 29 24 27 38 23 20 61 34 41 32
etc.
Sequence A269375 is obtained from the mirror image of the same tree.
LINKS
FORMULA
PROG
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Antti Karttunen, Mar 01 2016
STATUS
approved