Skip to main content
5 events
when toggle format what by license comment
Nov 11, 2019 at 13:16 comment added Lukas Lang The sum can also be written as Total[1/#]& for improved readability & speed
Nov 11, 2019 at 10:50 comment added NonDairyNeutrino @asad If you only want the sums and don't care about the subsets that correspond to them, then just use Select[Sum[i^-1, {i, #}] & /@ A, # < 1 &].
Nov 11, 2019 at 10:42 comment added asad thanks, what if we need only the second values, {0,0.5,0.3333,0.25,...}?
Nov 11, 2019 at 10:38 vote accept asad
Nov 11, 2019 at 10:26 history answered NonDairyNeutrino CC BY-SA 4.0