fcn isPerfectNumber1(n) { n == [1..n-1].filter('wrap(i){ n % i == 0 }).sum(); }