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.

A001565 3rd differences of factorial numbers.

This page as a plain text file.
%I A001565 M2004 N0793 #47 May 28 2025 09:18:34
%S A001565 2,11,64,426,3216,27240,256320,2656080,30078720,369774720,4906137600,
%T A001565 69894316800,1064341555200,17255074636800,296754903244800,
%U A001565 5396772116736000,103484118786048000,2086818140639232000,44150769074700288000,977904962186600448000
%N A001565 3rd differences of factorial numbers.
%C A001565 From _Emeric Deutsch_, Sep 09 2010: (Start)
%C A001565 a(n) is the number of isolated entries in all permutations of [n+2]. An entry j of a permutation p is isolated if it is not preceded by j-1 and not followed by j+1. For example, the permutation 23178564 has 2 isolated entries: 1 and 4. a(1)=11 because in 123, 1'3'2', 2'1'3', 231', 3'12, and 3'2'1' we have a total of 11 isolated entries (they are marked).
%C A001565 a(n) = Sum_{k>=0} k*A180196(n+2,k). (End)
%D A001565 N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
%D A001565 N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
%H A001565 T. D. Noe, <a href="/A001565/b001565.txt">Table of n, a(n) for n = 0..100</a>
%H A001565 Milan Janjic, <a href="https://old.pmf.unibl.org/wp-content/uploads/2017/10/enumfun.pdf">Enumerative Formulas for Some Functions on Finite Sets</a>
%H A001565 A. van Heemert, <a href="http://gdz.sub.uni-goettingen.de/dms/resolveppn/?PPN=GDZPPN002177749">Cyclic permutations with sequences and related problems</a>, J. Reine Angew. Math., 198 (1957), 56-72.
%H A001565 <a href="/index/Fa#factorial">Index entries for sequences related to factorial numbers</a>
%F A001565 a(n) = (n^3 + 3*n^2 + 5*n + 2)*n!. - _Mitch Harris_, Jul 10 2008
%F A001565 E.g.f.: (2 + 3*x + x^3)/(1 - x)^4. - _Ilya Gutkovskiy_, Jan 20 2017
%t A001565 Table[(n^3 +3*n^2 +5*n +2) n!, {n, 0, 20}] (* _T. D. Noe_, Aug 09 2012 *)
%t A001565 Differences[Range[0, 25]!, 3] (* _Paolo Xausa_, May 28 2025 *)
%o A001565 (PARI) {a(n) = (n^3+3*n^2+5*n+2)*n!}; \\ _G. C. Greubel_, Apr 29 2019
%o A001565 (Magma) [(n^3+3*n^2+5*n+2)*Factorial(n): n in [0..20]]; // _G. C. Greubel_, Apr 29 2019
%o A001565 (Sage) [(n^3+3*n^2+5*n+2)*factorial(n) for n in (0..20)] # _G. C. Greubel_, Apr 29 2019
%o A001565 (GAP) List([0..20], n-> (n^3+3*n^2+5*n+2)*Factorial(n)); # _G. C. Greubel_, Apr 29 2019
%Y A001565 Cf. A047920.
%Y A001565 Cf. A180196.
%K A001565 nonn,easy
%O A001565 0,1
%A A001565 _N. J. A. Sloane_