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!)
A125566 a(1)=1. Take the positive integers, then reverse the order of the integers a(m+1) through a(m+a(n)), where m = 1 + Sum_{k=1..n-1} a(k). 1
1, 2, 4, 3, 8, 7, 6, 5, 11, 10, 9, 19, 18, 17, 16, 15, 14, 13, 12, 26, 25, 24, 23, 22, 21, 20, 32, 31, 30, 29, 28, 27, 37, 36, 35, 34, 33, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 67, 66, 65, 64, 63, 62, 61, 60, 59, 86, 85, 84, 83, 82 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
This sequence is a self-inverse permutation of the positive integers.
LINKS
Rémy Sigrist, PARI program
EXAMPLE
The sequence grouped by descending runs, where the n-th descending run, after the first 1, is made up of a(n) terms: 1, (2), (4, 3), (8, 7, 6, 5), (11, 10, 9), (19, 18, 17, 16, 15, 14, 13, 12), (26, 25, 24, 23, 22, 21, 20), (32, 31, 30, 29, 28, 27), (37, 36, 35, 34, 33), (48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38), ...
PROG
(PARI) See Links section.
CROSSREFS
Cf. A038722.
Sequence in context: A066194 A101283 A243496 * A255833 A166133 A237739
KEYWORD
easy,nonn
AUTHOR
Leroy Quet, Jan 01 2007
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 May 1 23:54 EDT 2024. Contains 372178 sequences. (Running on oeis4.)