login
The OEIS is supported by the many generous donors 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
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.
Sequence in context: A061196 A239136 A239137 * A249917 A176577 A247476
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 13:29 EDT 2024. Contains 371780 sequences. (Running on oeis4.)