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.

A117542 Number of permutations P of 1..n such that in P and in the inverse of P, every pair of adjacent numbers and the first and last number, are relatively prime.

Original entry on oeis.org

1, 2, 6, 8, 36, 16, 127, 320, 581, 1564, 13565, 13760, 149186, 773727, 540538
Offset: 1

Views

Author

Giovanni Resta, Mar 28 2006

Keywords

Comments

Sequence suggested by Leroy Quet on the SeqFan mailing list.

Examples

			a(4)=8, since the 8 permutations (1,2,3,4), (1,4,3,2), (2,1,4,3), (2,3,4,1), (4,1,2,3), (3,2,1,4), (3,4,1,2), (4,3,2,1) satisfy the property.
		

Crossrefs