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.

A094793 a(n) = (1/n!)*A001688(n).

Original entry on oeis.org

9, 53, 181, 465, 1001, 1909, 3333, 5441, 8425, 12501, 17909, 24913, 33801, 44885, 58501, 75009, 94793, 118261, 145845, 178001, 215209, 257973, 306821, 362305, 425001, 495509, 574453, 662481, 760265, 868501, 987909, 1119233, 1263241
Offset: 0

Views

Author

Benoit Cloitre, Jun 11 2004

Keywords

Comments

Number of injections from {1,2,3,4} to {1,2,...,n} with no fixed points. - Fiona T. Brunk (fbrunk(AT)mcs.st-and.ac.uk), May 23 2006
In general (cf. A094792, A094794, A094795, etc.), the number of injections [k] -> [n] with no fixed points is given by Sum_{i=0..k} (-1)^i*binomial(k,i)*(n-i)!/(n-k)!, which is equal to (1/n!)*f_k(n) where f_k(n) gives the k-th differences of factorial numbers. - Fiona T. Brunk (fbrunk(AT)mcs.st-and.ac.uk), May 23 2006

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{5,-10,10,-5,1},{9,53,181,465,1001},40] (* Harvey P. Dale, May 23 2016 *)

Formula

a(n) = n^4 + 6*n^3 + 17*n^2 + 20*n + 9.
a(n) = Sum_{i=0..4} (-1)^i*binomial(4,i)*(n-i)!/(n-4)!. - Fiona T. Brunk (fbrunk(AT)mcs.st-and.ac.uk), May 23 2006
G.f.: -(x^4+6*x^2+8*x+9) / (x-1)^5. - Colin Barker, Jun 16 2013
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5). - Fung Lam, Apr 17 2014
P-recursive: n*a(n) = (n+5)*a(n-1) - a(n-2) with a(0) = 9 and a(1) = 53. Cf. A094791. - Peter Bala, Jul 25 2021