login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A343787 Number of ordered partitions of an n-set without blocks of size 4. 6
1, 1, 3, 13, 74, 531, 4563, 45753, 524345, 6760039, 96837333, 1525909903, 26230304235, 488472319271, 9796281435125, 210496933103743, 4824574494068495, 117490079786298641, 3029472152485535343, 82454398253005541089, 2362311059301928969755, 71063998308414194250901 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
E.g.f.: 1 / (2 + x^4/4! - exp(x)).
MAPLE
a:= proc(n) option remember; `if`(n=0, 1, add(
`if`(j=4, 0, a(n-j)*binomial(n, j)), j=1..n))
end:
seq(a(n), n=0..21); # Alois P. Heinz, Apr 29 2021
MATHEMATICA
nmax = 21; CoefficientList[Series[1/(2 + x^4/4! - Exp[x]), {x, 0, nmax}], x] Range[0, nmax]!
a[n_] := a[n] = If[n == 0, 1, Sum[If[k == 4, 0, Binomial[n, k] a[n - k]], {k, 1, n}]]; Table[a[n], {n, 0, 21}]
CROSSREFS
Sequence in context: A349533 A020094 A189886 * A333890 A009382 A110193
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Apr 29 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)