OFFSET
0,5
COMMENTS
Suggested by reading the Knuth article.
a(n+1) < a(n) for n = 8, 40, 162, 650... - Ivan Neretin, Jun 25 2015
REFERENCES
D. E. Knuth, Efficient balanced codes, IEEE Trans. Inform. Theory, 32 (No. 1, 1986), 51-53.
LINKS
Ivan Neretin, Table of n, a(n) for n = 0..1000
EXAMPLE
C(30,15) = 155117520; 2^28 = 268435456; difference is 113317936.
MATHEMATICA
Table[-(b = Binomial[n, Quotient[n, 2]]) + 2^Ceiling[Log2[b]], {n, 0, 36}] (* Ivan Neretin, Jun 25 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jun 10 2004
STATUS
approved