login
A245712
Permutation of natural numbers, odd bisection of A245706 incremented by one and halved: a(n) = (1+A245706((2*n)-1)) / 2.
3
1, 2, 3, 6, 4, 14, 5, 38, 10, 8, 26, 330, 18, 46, 283, 42, 11, 34, 7, 50, 70, 22, 17, 326, 37, 58, 27, 32, 53, 9590, 554, 4438, 278, 174, 9, 16, 15, 142, 25, 226, 146, 658, 105, 310, 1190, 806, 1770, 524, 51, 5258, 66, 5302, 35, 518, 17739, 1054, 19030, 542, 5550, 8054, 35498, 4434, 29, 810, 1106, 72, 75, 28, 63, 166, 83, 150, 44
OFFSET
1,2
FORMULA
a(n) = (1+A245706((2*n)-1)) / 2.
PROG
(PARI)
A245712(n) =(1+A245706((2*n)-1))/2;
for(n=1, 10001, write("b245712.txt", n, " ", A245712(n)));
\\ For the rest of code, see under A245706.
(Scheme) (define (A245712 n) (/ (+ 1 (A245706 (+ n n -1))) 2))
CROSSREFS
Inverse: A245711.
Sequence in context: A268216 A346928 A375761 * A285331 A237125 A227296
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 30 2014
STATUS
approved