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!)
A262692 Permutation of natural numbers: a(1) = 1; thereafter a(2n) = A182859(1+a(n)), a(2n+1) = A080218(a(n)). 2
1, 2, 3, 4, 5, 9, 6, 12, 7, 16, 8, 25, 14, 18, 10, 32, 19, 20, 11, 45, 26, 24, 13, 66, 38, 42, 22, 49, 29, 28, 15, 81, 53, 50, 31, 52, 33, 30, 17, 121, 73, 68, 39, 64, 37, 40, 21, 175, 106, 104, 61, 114, 69, 56, 35, 135, 82, 76, 46, 75, 43, 44, 23, 231, 129, 147, 86, 136, 83, 80, 51, 144, 85, 88, 55, 78, 47, 48, 27, 338, 197, 190, 118, 182, 108, 105, 62, 172, 101, 102, 60, 110, 65, 54, 34 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
This sequence can be represented as a binary tree. For each node containing n, the left hand child is obtained as A182859(1+n), and the right hand child as A080218(n):
1
|
................../ \..................
2 3
4......../ \........5 9......../ \........6
/ \ / \ / \ / \
/ \ / \ / \ / \
/ \ / \ / \ / \
12 7 16 8 25 14 18 10
32 19 20 11 45 26 24 13 66 38 42 22 49 29 28 15
etc.
LINKS
FORMULA
a(1) = 1; thereafter a(2n) = A182859(1+a(n)), a(2n+1) = A080218(a(n)).
PROG
(Scheme, with memoization-macro definec)
(definec (A262692 n) (cond ((<= n 1) n) ((even? n) (A182859 (+ 1 (A262692 (/ n 2))))) (else (A080218 (A262692 (/ (- n 1) 2))))))
CROSSREFS
Inverse: A262691.
Sequence in context: A124652 A250552 A048623 * A346097 A346098 A245821
KEYWORD
nonn,tabf
AUTHOR
Antti Karttunen, Sep 28 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 24 08:59 EDT 2024. Contains 371935 sequences. (Running on oeis4.)