re: Project Euler #6 - Sum Square Difference VIEW POST

FULL DISCUSSION
 

Elixir:

(1..100 |> Enum.map(&:math.pow(&1, 2)) |> Enum.sum()) -
  (1..100 |> Enum.sum() |> :math.pow(2))
code of conduct - report abuse