by mayboy · 9y ago · 0 comments
res = (1..20000).to_a.map { |val| val * val * val }
res.select { |a| res.any? { |b| (b - a) == 1729 } }