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.

A179958 Number of permutations of 1..n such that |p(i)-p(i-1)| >= 5 for i>1.

Original entry on oeis.org

1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 2, 160, 6056, 161136, 3661824, 76972416, 1572313392, 32096768008, 665456850864, 14144815265510, 309931658271656, 7021414359095808
Offset: 0

Views

Author

R. H. Hardin, Aug 03 2010

Keywords

Comments

Permutations such that the absolute difference between adjacent elements is at least 5.

Extensions

a(0), a(19)-a(20) from Alois P. Heinz, Oct 27 2014
a(21) from Alois P. Heinz, Feb 10 2025