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!)
A342352 Expansion of e.g.f. (exp(x)-1)*(exp(x) - x^2/2 - x - 1). 2
0, 0, 0, 0, 4, 15, 41, 98, 218, 465, 967, 1980, 4016, 8099, 16277, 32646, 65398, 130917, 261971, 524096, 1048364, 2096919, 4194049, 8388330, 16776914, 33554105, 67108511, 134217348, 268435048, 536870475, 1073741357, 2147483150, 4294966766, 8589934029 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
a(n) is the number of binary strings of length n that contain at least three 0's but not all digits are 0.
a(n) is also the number of proper subsets with at least three elements of an n-element set.
LINKS
FORMULA
a(n) = 2^n - Sum_{i={0,1,2,n}} binomial(n,i).
G.f.: x^4*(2*x^2-5*x+4)/((2*x-1)*(x-1)^3). - Alois P. Heinz, Mar 09 2021
EXAMPLE
a(6) = 41 since the strings are the 20 permutations of 000111, the 15 permutations of 000011, and the 6 permutations of 000001.
CROSSREFS
Sequence in context: A116600 A074033 A093920 * A011844 A075468 A100503
KEYWORD
nonn,easy
AUTHOR
Enrique Navarrete, Mar 08 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 May 5 23:49 EDT 2024. Contains 372290 sequences. (Running on oeis4.)