Sha256: 029b7ca761cac8c0d92cbb20c2d2f74a4f2d2c2f055239c67f62408d5ef8faf6

Contents?: true

Size: 461 Bytes

Versions: 222

Compression:

Stored size: 461 Bytes

Contents

Find the difference between the square of the sum and the sum of the squares of the first N natural numbers.

The square of the sum of the first ten natural numbers is
(1 + 2 + ... + 10)² = 55² = 3025.

The sum of the squares of the first ten natural numbers is
1² + 2² + ... + 10² = 385.

Hence the difference between the square of the sum of the first
ten natural numbers and the sum of the squares of the first ten
natural numbers is 3025 - 385 = 2640.

Version data entries

222 entries across 222 versions & 1 rubygems

Version Path
trackler-2.2.1.180 problem-specifications/exercises/difference-of-squares/description.md
trackler-2.2.1.179 problem-specifications/exercises/difference-of-squares/description.md
trackler-2.2.1.178 problem-specifications/exercises/difference-of-squares/description.md
trackler-2.2.1.177 problem-specifications/exercises/difference-of-squares/description.md
trackler-2.2.1.176 problem-specifications/exercises/difference-of-squares/description.md
trackler-2.2.1.175 problem-specifications/exercises/difference-of-squares/description.md
trackler-2.2.1.174 problem-specifications/exercises/difference-of-squares/description.md
trackler-2.2.1.173 problem-specifications/exercises/difference-of-squares/description.md
trackler-2.2.1.172 problem-specifications/exercises/difference-of-squares/description.md
trackler-2.2.1.171 problem-specifications/exercises/difference-of-squares/description.md
trackler-2.2.1.170 problem-specifications/exercises/difference-of-squares/description.md
trackler-2.2.1.169 problem-specifications/exercises/difference-of-squares/description.md
trackler-2.2.1.167 problem-specifications/exercises/difference-of-squares/description.md
trackler-2.2.1.166 problem-specifications/exercises/difference-of-squares/description.md
trackler-2.2.1.165 problem-specifications/exercises/difference-of-squares/description.md
trackler-2.2.1.164 problem-specifications/exercises/difference-of-squares/description.md
trackler-2.2.1.163 problem-specifications/exercises/difference-of-squares/description.md
trackler-2.2.1.162 problem-specifications/exercises/difference-of-squares/description.md
trackler-2.2.1.161 problem-specifications/exercises/difference-of-squares/description.md
trackler-2.2.1.160 problem-specifications/exercises/difference-of-squares/description.md