show/hide this revision's text 2 edited title

paritioning partitioning a number into two sets based on sum of digits

show/hide this revision's text 1

paritioning a number into two sets based on sum of digits

hi, how can one determine whether a number belongs to such a set of numbers whose every element can be divided into two sets such that the sum of digits of each set of the number is same. E.g 23450 does belong to such a set , as it can be split into two sets : (3,4,0) and (2,5) such that sum of digits in each set is the same(7). Similary 91125 belongs to such a set: (9) and (1,1,2,5). but 567 , or 34523 do not belong to such a set of numbers .

Thanks.