cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A305233 Smallest k such that binomial(k, floor(k/2)) >= n.

Original entry on oeis.org

1, 2, 3, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9
Offset: 1

Views

Author

Jack Zhang, May 28 2018

Keywords

Comments

Minimal size of a set with n subsets such that no one contains another.
The proof that the minimal cardinality k of a set having n subsets not containg one other is the generalized central binomial coefficient binomial(k, floor(k/2)) (equivalent to: "the largest possible families of finite sets none of which contain any other sets in the family) is called "Sperner's Theorem" and is due to Sperner. - Renzo Benedetti, May 26 2021
Also the Schein rank of a contranominal scale of size n represented as a Boolean matrix (Kim, 1982; Marenich, 2010). - Dmitry I. Ignatov, Nov 25 2021

References

  • K. H. Kim, Boolean matrix theory and applications. Marcel Dekker, New York and Basel (1982).

Crossrefs

Programs

  • Mathematica
    Array[Block[{k = 1}, While[Binomial[k, Floor[k/2]] < #, k++]; k] &, 105] (* Michael De Vlieger, Aug 02 2018 *)
  • PARI
    a(n) = my(k=1); while (binomial(k, floor(k/2)) < n, k++); k; \\ Michel Marcus, Jul 10 2018
    
  • PARI
    first(n) = my(l=List(), t=1, res = vector(n), c=1); while(c<=n, listput(l,c); t++; c=binomial(t,t\2)); listput(l,c); res[1]=1; for(i=2, #l, m = max(n,l[i]); for(j=l[i-1] + 1, min(n,l[i]), res[j]=i)); res \\ David A. Corneth, May 22 2020
  • Python
    from sympy import binomial
    def f(n): return binomial(n, n // 2)
    sum([[i]*(f(i)-f(i-1)) for i in range(1,10)],[1])
    

Formula

Asymptotic lower bound is log_2(sqrt(Pi/2)*n) + O(log_2(log_2(sqrt(Pi/2)*n))). - Dmitry I. Ignatov and Meziane Yazag, Dec 07 2023
Showing 1-1 of 1 results.