login
A245711
Permutation of natural numbers, odd bisection of A245705 incremented by one and halved: a(n) = (1+A245705((2*n)-1)) / 2.
3
1, 2, 3, 5, 7, 4, 19, 10, 35, 9, 17, 139, 107, 6, 37, 36, 23, 13, 555, 229, 87, 22, 275, 1676, 39, 11, 27, 68, 63, 326, 137, 28, 4435, 18, 53, 147, 25, 8, 6819, 9388, 995, 16, 155, 73, 3659, 14, 533, 838, 145, 20, 49, 851, 29, 587, 535, 403, 4179, 26, 501, 1059, 1611, 1163, 69, 152, 663, 51, 283, 222, 181, 21
OFFSET
1,2
FORMULA
a(n) = (1+A245705((2*n)-1)) / 2.
PROG
(PARI)
A245711(n) = (1+A245705((2*n)-1))/2;
for(n=1, 10001, write("b245711.txt", n, " ", A245711(n)));
\\ For the rest of code, see under A245705.
(Scheme) (define (A245711 n) (/ (+ 1 (A245705 (+ n n -1))) 2))
CROSSREFS
Inverse: A245712.
Sequence in context: A080164 A336816 A182949 * A246258 A126048 A142349
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 30 2014
STATUS
approved