Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #22 Mar 16 2024 17:25:38
%S 5040,141120,2328480,29635200,322494480,3162075840,28805736960,
%T 248619571200,2060056318320,16540688324160,129568848121440,
%U 995210916336000,7524340159588560,56163512390086080,414847224363337920
%N Number of surjections from an n-element set onto a seven-element set.
%H G. C. Greubel, <a href="/A135456/b135456.txt">Table of n, a(n) for n = 7..1000</a>
%H <a href="/index/Rec#order_07">Index entries for linear recurrences with constant coefficients</a>, signature (28,-322,1960,-6769,13132,-13068,5040).
%F 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.
%F a(n) = A000771(n) * 7!. - _Max Alekseyev_, Nov 12 2009
%F 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
%F E.g.f.: (exp(x) - 1)^7. - _Ilya Gutkovskiy_, Jun 19 2018
%t LinearRecurrence[{28, -322, 1960, -6769, 13132, -13068, 5040}, {5040, 141120, 2328480, 29635200, 322494480, 3162075840, 28805736960}, 25] (* _G. C. Greubel_, Oct 14 2016 *)
%Y Column k=7 of A019538 and A131689.
%Y Cf. A000918, A000919, A000920, A001117, A001118.
%K nonn,easy
%O 7,1
%A _Mohamed Bouhamida_, Dec 15 2007
%E More terms from _Max Alekseyev_, Nov 12 2009