OFFSET
1,3
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..2000
EXAMPLE
a(3) = 2 since 3 = C(2,0) + C(2,1) but 3 != C(1,0) or C(1,1) or C(1,0) + C(1,1).
MATHEMATICA
nn = 22; s = Table[Union@ Map[Total, Binomial[m, #]] &@ Rest@ Subsets@ Range[0, m], {m, nn}]; Table[SelectFirst[Range[If[n == 1, 1, Ceiling@ Log2@ n], nn], MemberQ[s[[#]], n] &], {n, 52}] /. m_ /; MissingQ@ m -> 0 (* Michael De Vlieger, Mar 30 2016, Version 10.2, values of m greater than nn show as "0". *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Logan J. Kleinwaks, Mar 29 2016
STATUS
approved