login

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”).

A245409
Number of endofunctions on [n] such that no element has a preimage of cardinality five.
2
1, 1, 4, 27, 256, 3120, 46476, 818251, 16623552, 382775625, 9851207860, 280231042751, 8731004146272, 295688565207373, 10815259910601524, 424893916814719815, 17844053214957081856, 797744088027002799121, 37826128915102284480144, 1896083271482048297688979
OFFSET
0,3
LINKS
FORMULA
a(n) = n! * [x^n] (exp(x)-x^5/5!)^n.
MAPLE
b:= proc(n, i) option remember; `if`(n=0 and i=0, 1,
`if`(i<1, 0, add(`if`(j=5, 0, b(n-j, i-1)*
binomial(n, j)), j=0..n)))
end:
a:= n-> b(n$2):
seq(a(n), n=0..25);
MATHEMATICA
Table[n!*SeriesCoefficient[(E^x-x^5/5!)^n, {x, 0, n}], {n, 0, 20}] (* Vaclav Kotesovec, Jul 23 2014 *)
CROSSREFS
Column k=5 of A245405.
Sequence in context: A239491 A365095 A324804 * A190125 A324805 A245410
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Jul 21 2014
STATUS
approved