 # exercism-perl5

Repository for my Perl 5 Exercism exercises
git clone git://git.samirparikh.com/exercism-perl5
Log | Files | Refs | README

```      1 # Difference Of Squares
2
3 Welcome to Difference Of Squares on Exercism's Perl 5 Track.
4 If you need help running the tests or submitting your code, check out `HELP.md`.
5
6 ## Instructions
7
8 Find the difference between the square of the sum and the sum of the squares of the first N natural numbers.
9
10 The square of the sum of the first ten natural numbers is
11 (1 + 2 + ... + 10)² = 55² = 3025.
12
13 The sum of the squares of the first ten natural numbers is
14 1² + 2² + ... + 10² = 385.
15
16 Hence the difference between the square of the sum of the first
17 ten natural numbers and the sum of the squares of the first ten
18 natural numbers is 3025 - 385 = 2640.
19
20 You are not expected to discover an efficient solution to this yourself from
21 first principles; research is allowed, indeed, encouraged. Finding the best
22 algorithm for the problem is a key skill in software engineering.
23
24 ## Source
25
26 ### Created by
27
28 - @bistik
29
30 ### Contributed to by
31
32 - @kytrinyx
33 - @m-dango
34 - @rfilipo
35 - @Scientifica96
36
37 ### Based on
38
39 Problem 6 at Project Euler - http://projecteuler.net/problem=6```