Rewrite Ruby for problem 1 in functional style
Rewrite Ruby for problem 1 in functional style

I'm enjoying this style, so I rewrote the ruby function into a dense
one-liner.

enkrates/euler,enkrates/euler,enkrates/euler,enkrates/euler