OFFSET
1,1
COMMENTS
In case of duplicates, the m values are listed in decreasing order. Thus a(18)=16 and a(19)=10 corresponding to binomial(16,2)=binomial(10,3)=120. - Robert Israel, Sep 18 2018
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
Sean A. Irvine, Java program (github)
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[2], Res); # Robert Israel, Sep 18 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved