login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A252758 Permutation of natural numbers: a(1) = 1, a(2n) = A251726(a(n)), a(2n+1) = A251727(a(n)). 4
1, 2, 10, 3, 14, 12, 38, 4, 20, 17, 44, 15, 40, 61, 92, 5, 22, 25, 57, 21, 51, 72, 102, 18, 46, 64, 94, 108, 132, 191, 182, 6, 26, 29, 60, 35, 68, 101, 124, 27, 58, 85, 116, 135, 152, 221, 198, 23, 52, 75, 106, 115, 138, 193, 184, 239, 206, 311, 242, 499, 333, 467, 318, 7, 28, 36, 69, 43, 76, 107, 130, 54, 87, 127, 145, 217, 196, 283, 231, 37 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Antti Karttunen, Table of n, a(n) for n = 1..959

Index entries for sequences that are permutations of the natural numbers

FORMULA

a(1) = 1, a(2n) = A251726(a(n)), a(2n+1) = A251727(a(n)).

PROG

(Scheme, with memoization-macro definec)

(definec (A252758 n) (cond ((<= n 1) n) ((even? n) (A251726 (A252758 (/ n 2)))) (else (A251727 (A252758 (/ (- n 1) 2))))))

CROSSREFS

Inverse: A252757.

Similar permutations: A243288, A227413, A237126.

Cf. A251726, A251727.

Sequence in context: A061196 A239136 A239137 * A249917 A176577 A247476

Adjacent sequences:  A252755 A252756 A252757 * A252759 A252760 A252761

KEYWORD

nonn

AUTHOR

Antti Karttunen, Jan 02 2015

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 16 08:52 EDT 2019. Contains 327092 sequences. (Running on oeis4.)