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!)
A342380 Expansion of e.g.f. (exp(x)-1)*(exp(x) - x^4/24 - x^3/6 - x^2/2 - x - 1). 1
0, 0, 0, 0, 0, 0, 6, 28, 92, 255, 637, 1485, 3301, 7098, 14912, 30826, 63018, 127857, 258095, 519251, 1042379, 2089604, 4185194, 8377704, 16764264, 33539155, 67090961, 134196873, 268411297, 536843070, 1073709892, 2147447190, 4294925846, 8589887653, 17179816227 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,7
COMMENTS
a(n) is the number of binary strings of length n that contain at least five 0's but not all digits are 0.
a(n) is also the number of proper subsets with at least five elements of an n-element set.
LINKS
FORMULA
a(n) = 2^n - Sum_{i={0..4,n}} binomial(n,i).
G.f.: x^6*(2*x^4-9*x^3+16*x^2-14*x+6)/((2*x-1)*(x-1)^5). - Alois P. Heinz, Mar 09 2021
EXAMPLE
a(9) = 255 since the strings are the 126 permutations of 000001111, the 84 permutations of 000000111, the 36 permutations of 000000011, and the 9 permutations of 000000001.
CROSSREFS
Sequence in context: A091321 A125310 A336535 * A138874 A172141 A172132
KEYWORD
nonn,easy
AUTHOR
Enrique Navarrete, Mar 09 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 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)