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.

A322255 Triangle T(n,k) giving the number of permutations of 1..n with no adjacent elements within k in value, for n >= 2, 1 <= k <= floor(n/2).

This page as a plain text file.
%I A322255 #20 May 20 2023 05:17:55
%S A322255 2,6,24,2,120,14,720,90,2,5040,646,32,40320,5242,368,2,362880,47622,
%T A322255 3984,72,3628800,479306,44304,1496,2,39916800,5296790,521606,25384,
%U A322255 160,479001600,63779034,6564318,399848,6056,2,6227020800,831283558,88422296,6231544,161136,352
%N A322255 Triangle T(n,k) giving the number of permutations of 1..n with no adjacent elements within k in value, for n >= 2, 1 <= k <= floor(n/2).
%F A322255 T(n,k) = Sum_{j=k..floor(n/2)} A129534(n,j). - _Alois P. Heinz_, May 20 2023
%e A322255 Irregular triangle starts:
%e A322255 n\k|       1       2      3     4  5
%e A322255 ---+---------------------------------
%e A322255 2  |       2;
%e A322255 3  |       6;
%e A322255 4  |      24,      2;
%e A322255 5  |     120,     14;
%e A322255 6  |     720,     90,     2;
%e A322255 7  |    5040,    646,    32;
%e A322255 8  |   40320,   5242,   368,    2;
%e A322255 9  |  362880,  47622,  3984,   72;
%e A322255 10 | 3628800, 479306, 44304, 1496, 2;
%Y A322255 Cf. A000142, A002464, A127697, A129534, A179957-A179967.
%K A322255 nonn,tabf
%O A322255 2,1
%A A322255 _Seiichi Manyama_, Dec 01 2018