OFFSET
1,1
COMMENTS
In case of duplicates, the k values are listed in increasing order. Thus a(18)=2 and a(19)=3 corresponding to binomial(16,2)=binomial(10,3)=120.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
MAPLE
N:= 10000: # for binomial(n, k) values <= N
Res:= NULL:
for n from 2 while n*(n-1)/2 <= N do
for k from 2 to n/2 do
v:= binomial(n, k);
if v > N then break fi;
Res:= Res, [v, n, k]
od od:
Res:= sort([Res], proc(p, q) if p[1]<>q[1] then p[1]<q[1]
elif p[2]<>q[2] then p[2]>q[2]
fi end proc): map(t -> t[3], Res); # Robert Israel, Sep 18 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected by Robert Israel, Sep 18 2018
STATUS
approved