Project Euler #6: Sum square difference

  • + 1 comment

    I solved this question mathematically: (3n^4 + 2n^3 - 3n^2 - 2n) / 12