login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A245705
Permutation of natural numbers: a(n) = A245607(A245708(n)).
7
1, 2, 3, 4, 5, 6, 9, 8, 13, 10, 7, 12, 37, 18, 19, 16, 69, 26, 17, 20, 33, 14, 277, 24, 213, 74, 11, 36, 73, 38, 71, 32, 45, 138, 25, 52, 1109, 34, 457, 40, 173, 66, 43, 28, 549, 554, 3351, 48, 77, 426, 21, 148, 53, 22, 135, 72, 125, 146, 651, 76, 273, 142, 55, 64
OFFSET
1,2
COMMENTS
The even bisection halved gives the sequence back. The odd bisection incremented by one and halved gives A245711.
FORMULA
a(n) = A245607(A245708(n)).
PROG
(PARI)
for(n=1, 10001, write("b245705.txt", n, " ", A245705(n)));
\\ Other code as in A245607 and A245708.
(Scheme) (define (A245705 n) (A245607 (A245708 n)))
CROSSREFS
Inverse: A245706.
Fixed points: A245709.
Sequence in context: A269847 A358522 A279407 * A075164 A240827 A023841
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 30 2014
STATUS
approved