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.

A135456 Number of surjections from an n-element set onto a seven-element set.

Original entry on oeis.org

5040, 141120, 2328480, 29635200, 322494480, 3162075840, 28805736960, 248619571200, 2060056318320, 16540688324160, 129568848121440, 995210916336000, 7524340159588560, 56163512390086080, 414847224363337920
Offset: 7

Views

Author

Mohamed Bouhamida, Dec 15 2007

Keywords

Crossrefs

Column k=7 of A019538 and A131689.

Programs

  • Mathematica
    LinearRecurrence[{28, -322, 1960, -6769, 13132, -13068, 5040}, {5040, 141120, 2328480, 29635200, 322494480, 3162075840, 28805736960}, 25] (* G. C. Greubel, Oct 14 2016 *)

Formula

a(n) = 7^n -C(7,6)*6^n +C(7,5)*5^n -C(7,4)*4^n +C(7,3)*3^n -C(7,2)*2^n +C(7,1) with n>=7.
a(n) = A000771(n) * 7!. - Max Alekseyev, Nov 12 2009
G.f.: -5040*x^7/((x-1)*(2*x-1)*(3*x-1)*(4*x-1)*(5*x-1)*(6*x-1)*(7*x-1)). - Colin Barker, Oct 25 2012
E.g.f.: (exp(x) - 1)^7. - Ilya Gutkovskiy, Jun 19 2018

Extensions

More terms from Max Alekseyev, Nov 12 2009