This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A255122 Simple self-inverse permutation of natural numbers: after zero, list each block of A255071(n) numbers in reverse order, from A255061(n+1) to A255062(n). 7
 0, 1, 3, 2, 6, 5, 4, 11, 10, 9, 8, 7, 20, 19, 18, 17, 16, 15, 14, 13, 12, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 118 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 COMMENTS Maps between A255056 and A255066. (Equally, between A255057 and A255067.) LINKS Antti Karttunen, Table of n, a(n) for n = 0..721 FORMULA a(n) = A255061(1+A255121(n)) - A255120(n). PROG (Scheme) (define (A255122 n) (- (A255061 (+ 1 (A255121 n))) (A255120 n))) CROSSREFS Cf. A255061, A255062, A255071, A255120, A255121. Cf. A255056, A255057, A255066, A255067. Similar permutations: A218602, A230432. Sequence in context: A131968 A191740 A132665 * A191445 A277880 A132667 Adjacent sequences:  A255119 A255120 A255121 * A255123 A255124 A255125 KEYWORD nonn AUTHOR Antti Karttunen, Feb 14 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 July 19 10:45 EDT 2019. Contains 325155 sequences. (Running on oeis4.)