cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A214261 List of derangements of 1, 2, 3, ..., n for n = 2, 3, 4, ..., in lexicographic order.

Original entry on oeis.org

2, 1, 2, 3, 1, 3, 1, 2, 2, 1, 4, 3, 2, 3, 4, 1, 2, 4, 1, 3, 3, 1, 4, 2, 3, 4, 1, 2, 3, 4, 2, 1, 4, 1, 2, 3, 4, 3, 1, 2, 4, 3, 2, 1, 2, 1, 4, 5, 3, 2, 1, 5, 3, 4, 2, 3, 1, 5, 4, 2, 3, 4, 5, 1, 2, 3, 5, 1, 4, 2, 4, 1, 5, 3, 2, 4, 5, 1, 3, 2, 4, 5, 3, 1, 2, 5, 1
Offset: 2

Views

Author

William Rex Marshall, Jul 08 2012

Keywords

Examples

			The derangements can be written as
21,
231, 312,
2143, 2341, 2413, 3142, 3412, 3421, 4123, 4312, 4321, etc.
		

Crossrefs

Cf. A000166, A030298, A065087 (row sums), A086325 (row lengths).