← RoseCode

ROSECODE 568

Maximal Unity

sinan · Math ·

Let SN be the set of positive numbers less or equal to N. For example S5={1,2,3,4,5} Find the subset of S100 with maximal number of elements (MN) such that sum(1/ei)=1 for i=1 to MN and the sum T=sum(i*ei) for i=1 to MN is maximal. Answer format: MN,T Example: 3,26 For the subset S={e1=2, e2=3, e3=6} of S6