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.
%I A323799 #12 Jan 28 2019 10:49:49 %S A323799 0,10,47,157,503,1669,5472,17531,55135,172134,535510,1660795,5133470, %T A323799 15826173,48706210,149721544,459820058,1411142937,4328181110, %U A323799 13269541967,40669595890,124617708274,381776661185,1169438884559,3581781480980,10969462410857,33592685042253 %N A323799 Number of permutations p of [n] such that max_{j=1..n} |p(j)-j| = 3. %H A323799 Alois P. Heinz, <a href="/A323799/b323799.txt">Table of n, a(n) for n = 3..1000</a> %H A323799 <a href="/index/Rec#order_19">Index entries for linear recurrences with constant coefficients</a>, signature (4,-2,-2,6,-17,-16,-30,6,32,48,12,-16,-16,-9,2,-2,-2,2,1). %F A323799 G.f.: x^4 *(x^11+x^10-3*x^9+x^8+4*x^7-4*x^6-4*x^5-5*x^4+11*x^3+11*x^2-7*x-10) / ((x-1) *(x^5 -2*x^3 -2*x+1) *(x^13 +3*x^12 +3*x^11 +5*x^10 +9*x^9 +7*x^8 -3*x^7 -19*x^6 -21*x^5 -13*x^4 -3*x^3 -3*x^2-x+1)). %F A323799 a(n) = A002526(n) - A002524(n). %e A323799 a(4) = 10: 2341, 2431, 3241, 3421, 4123, 4132, 4213, 4231, 4312, 4321. %Y A323799 Column k=3 of A130152. %Y A323799 Cf. A002524, A002526. %K A323799 nonn,easy %O A323799 3,2 %A A323799 _Alois P. Heinz_, Jan 28 2019