say -2+sum (((3,5,17,257,65537).combinations.map:{[*] $_})X*(1,2,4...1e9)) »<=»get