The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A261218 Row 1 of A261216. 4
 1, 0, 5, 4, 3, 2, 7, 6, 11, 10, 9, 8, 19, 18, 23, 22, 21, 20, 13, 12, 17, 16, 15, 14, 25, 24, 29, 28, 27, 26, 31, 30, 35, 34, 33, 32, 43, 42, 47, 46, 45, 44, 37, 36, 41, 40, 39, 38, 49, 48, 53, 52, 51, 50, 55, 54, 59, 58, 57, 56, 67, 66, 71, 70, 69, 68, 61, 60, 65, 64, 63, 62, 97, 96, 101, 100, 99, 98, 103, 102, 107, 106, 105, 104, 115, 114, 119, 118, 117, 116, 109, 108, 113, 112, 111, 110, 73 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 COMMENTS Equally, column 1 of A261217. Take the n-th (n>=0) permutation from the list A060117, change 1 to 2 and 2 to 1 to get another permutation, and note its rank in the same list to obtain a(n). Equally, we can take the n-th (n>=0) permutation from the list A060118, swap the elements in its two leftmost positions, and note the rank of that permutation in A060118 to obtain a(n). Self-inverse permutation of nonnegative integers. LINKS Antti Karttunen, Table of n, a(n) for n = 0..5039 FORMULA a(n) = A261216(1,n). By conjugating related permutations: a(n) = A060126(A261098(A060119(n))). EXAMPLE In A060117 the permutation with rank 2 is [1,3,2], and swapping the elements 1 and 2 we get permutation [2,3,1], which is listed in A060117 as the permutation with rank 5, thus a(2) = 5. Equally, in A060118 the permutation with rank 2 is [1,3,2], and swapping the elements in the first and the second position gives permutation [3,1,2], which is listed in A060118 as the permutation with rank 5, thus a(2) = 5. CROSSREFS Row 1 of A261216, column 1 of A261217. Cf. A060117, A060118. Cf. also A004442. Related permutations: A060119, A060126, A261098. Sequence in context: A201327 A329457 A081760 * A094097 A145330 A194744 Adjacent sequences:  A261215 A261216 A261217 * A261219 A261220 A261221 KEYWORD nonn AUTHOR Antti Karttunen, Aug 26 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.

Last modified June 25 06:20 EDT 2021. Contains 345452 sequences. (Running on oeis4.)