Solution:
a) Let a1<⋯<an−1<an=2000<an+1<⋯<am be the elements of a good set. Since ai+1≥2ai, then 2000000>am≥2m−n2000 and hence m−n≤9.
On the other hand, the equality 2000=2453 shows that ai=2ki5li for i≤n−1, where 0≤ki≤ki+1≤4, 0≤li≤li+1≤3 and ki+li≤6. Hence n≤8 and so A has at most 8+9=17 elements. An example of a good set of 17 elements is obtained by setting ai=2i−1, 1≤i≤5, ai=245i−5, 6≤i≤8, ai=2i−453, 9≤i≤17.
b) For a good set of maximal cardinality one has that m=17 and n=8, i.e. a8=2000. Moreover, ki+li=i−1 for 1≤i≤7, which shows that a1=1 and that the subset {a2,…,a7} is determined by the numbers 1≤i1<i2<i3≤7 such that li1=0, li1+1=1, li2=1, li2+1=2, li3=2 and li3+1=3.
There are (37)=35 possibilities for this subset. Since 29<28⋅3<1000<210, it follows that either ai=2i−453 for 9≤i≤17, or there is an index j, 9≤j≤17 such that ai=2i−453 for 8≤i<j and ai=2i−5533 for j≤i≤17. Hence there are 10 possibilities for the subset {a9,…,a17}. So, the number of the good sets of maximal cardinality equals 35⋅10=350.