|
|
A275716
|
|
Permutation of natural numbers: a(0) = 1, a(1) = 2, a(2n) = A273669(a(n)), a(2n+1) = A273664(a(n)).
|
|
6
|
|
|
1, 2, 9, 3, 42, 17, 12, 4, 209, 115, 82, 41, 59, 26, 19, 5, 1042, 801, 572, 444, 409, 283, 202, 57, 292, 180, 129, 48, 92, 31, 22, 6, 5209, 5603, 4002, 4881, 2859, 3106, 2219, 733, 2042, 1977, 1412, 620, 1009, 395, 282, 97, 1459, 1258, 899, 525, 642, 334, 239, 74, 459, 213, 152, 63, 109, 40, 29, 7, 26042, 39217
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
Note the indexing: the domain starts from 0, while the range excludes zero.
This sequence can be represented as a binary tree. Each left hand child is obtained by applying A273669(n) when the parent contains n, and each right hand child is obtained by applying A273664 to the parent's contents:
1
|
...................2...................
9 3
42......../ \........17 12......../ \........4
/ \ / \ / \ / \
/ \ / \ / \ / \
/ \ / \ / \ / \
209 115 82 41 59 26 19 5
1042 801 572 444 409 283 202 57 292 180 129 48 92 31 22 6
etc.
|
|
LINKS
|
|
|
FORMULA
|
As a composition of other permutations:
|
|
PROG
|
(Scheme, with memoization-macro definec)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,tabf
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|