login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A123400 Infinite string related to Ehrlich's swap method for generating permutations. 2
1, 2, 1, 2, 1, 3, 2, 1, 2, 1, 2, 3, 1, 2, 1, 2, 1, 3, 2, 1, 2, 1, 2, 4, 3, 1, 3, 1, 3, 2, 1, 3, 1, 3, 1, 2, 3, 1, 3, 1, 3, 2, 1, 3, 1, 3, 1, 4, 2, 3, 2, 3, 2, 1, 3, 2, 3, 2, 3, 1, 2, 3, 2, 3, 2, 1, 3, 2, 3, 2, 3, 4, 1, 2, 1, 2, 1, 3, 2, 1, 2, 1, 2, 3, 1, 2, 1, 2, 1, 3, 2, 1, 2, 1, 2, 4, 3, 1, 3, 1, 3, 2, 1, 3, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

REFERENCES

D. E. Knuth, TAOCP, Section 7.2.1.2.

LINKS

Joerg Arndt, Table of n, a(n) for n = 1..5039

CROSSREFS

Cf. A159880 (first element in successive permutations).

Sequence in context: A123675 A284257 A231719 * A232502 A214651 A196059

Adjacent sequences:  A123397 A123398 A123399 * A123401 A123402 A123403

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Oct 15 2006

EXTENSIONS

More terms from Joerg Arndt, Apr 25 2009

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified July 22 00:13 EDT 2017. Contains 289648 sequences.