1
Let a list of n positive integers be given, e. g. [2,1,4]. Let us consider all sums of all its members signed by +-, e. g-2-1-4=-7, -2+1-4=-5, -2-1+4=1, ... .How to find the sum having the minimum absolute value with Maple?
You must be logged into your MaplePrimes account in order to post a comment. If you don't have an account, you can create an account here.