login
A245706
Permutation of natural numbers: a(n) = A245707(A245608(n)).
7
1, 2, 3, 4, 5, 6, 11, 8, 7, 10, 27, 12, 9, 22, 75, 16, 19, 14, 15, 20, 51, 54, 659, 24, 35, 18, 91, 44, 565, 150, 83, 32, 21, 38, 67, 28, 13, 30, 99, 40, 139, 102, 43, 108, 33, 1318, 651, 48, 73, 70, 115, 36, 53, 182, 63, 88, 105, 1130, 19179, 300, 1107, 166, 8875, 64, 555, 42
OFFSET
1,2
COMMENTS
The even bisection halved gives the sequence back. The odd bisection incremented by one and halved gives A245712.
FORMULA
a(n) = A245707(A245608(n)).
PROG
(PARI)
for(n=1, 10001, write("b245706.txt", n, " ", A245706(n)));
\\ Other code as in A245608 and A245707.
(Scheme) (define (A245706 n) (A245707 (A245608 n)))
CROSSREFS
Inverse: A245705.
Fixed points: A245709.
Sequence in context: A306581 A269858 A269848 * A072622 A072621 A263272
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 30 2014
STATUS
approved