|
|
A269375
|
|
Tree of Lucky sieve, mirrored: a(0) = 1, a(1) = 2; after which a(2n) = 2*a(n), a(2n+1) = A269369(a(n)).
|
|
7
|
|
|
1, 2, 4, 3, 8, 5, 6, 7, 16, 17, 10, 19, 12, 11, 14, 9, 32, 41, 34, 61, 20, 23, 38, 27, 24, 29, 22, 39, 28, 35, 18, 13, 64, 89, 82, 145, 68, 95, 122, 91, 40, 53, 46, 81, 76, 107, 54, 45, 48, 65, 58, 103, 44, 59, 78, 57, 56, 77, 70, 123, 36, 47, 26, 15, 128, 185, 178, 313, 164, 239, 290, 217, 136, 197, 190, 333, 244, 359, 182, 147, 80
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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. Each left hand child is obtained by doubling the parent's contents, and each right hand child is obtained by applying A269369 to the parent's contents:
1
|
...................2...................
4 3
8......../ \........5 6......../ \........7
/ \ / \ / \ / \
/ \ / \ / \ / \
/ \ / \ / \ / \
16 17 10 19 12 11 14 9
32 41 34 61 20 23 38 27 24 29 22 39 28 35 18 13
etc.
Sequence A269377 is obtained from the mirror image of the same tree.
|
|
LINKS
|
|
|
FORMULA
|
a(0) = 1, a(1) = 2; after which, a(2n) = 2*a(n), a(2n+1) = A269369(a(n)).
As a composition of related permutations:
Other identities. For all n >= 2:
A000035(a(n)) = A000035(n). [This permutation preserves the parity of n from a(2)=4 onward.]
|
|
PROG
|
(Scheme, with memoization-macro definec)
|
|
CROSSREFS
|
Cf. A000959 (with 2 inserted between 1 and 3 forms the right edge of the tree).
|
|
KEYWORD
|
nonn,tabf
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|