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!)
A334998 Permutation of nonnegative integers that converts A162912 into A162911. 2
1, 3, 2, 7, 4, 5, 6, 11, 8, 13, 10, 15, 12, 9, 14, 19, 16, 29, 18, 23, 20, 17, 22, 27, 24, 21, 26, 31, 28, 25, 30, 35, 32, 45, 34, 39, 36, 33, 38, 43, 40, 53, 42, 47, 44, 41, 46, 51, 48, 61, 50, 55, 52, 49, 54, 59, 56, 37, 58, 63, 60, 57, 62 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
For n > 0, A162912(a(n)) = A162911(n), as well as A162912(A054429(n)) = A162911(n). There is a self-inverse permutation, b, such that a(b(n)) = A054429(n), and a(n) = A054429(b(n)).
LINKS
PROG
(R)
#
nmax <- 31
A334998 <- 1; A334999 <- 1
for(n in 1:31) {
A334998[2*n ] <- 2*A334999[n]+1
A334998[2*n+1] <- 2*n
A334999[2*n ] <- 2*n+1
A334999[2*n+1] <- 2*A334998[n]
}
CROSSREFS
Cf. A334999 (inverse), A054429, A162911, A162912.
Sequence in context: A166532 A135542 A130109 * A153151 A175057 A153154
KEYWORD
nonn
AUTHOR
Yosu Yurramendi, May 19 2020
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 23 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)