Sha256: e2799b3642c19dda82d8a5f8df36319099313d7ab5c419ebc0ff022b115b0241

Contents?: true

Size: 343 Bytes

Versions: 93

Compression:

Stored size: 343 Bytes

Contents

The square of the sum of the first ten natural numbers is,

    (1 + 2 + ... + 10)**2 = 55**2 = 3025

The sum of the squares of the first ten natural numbers is,

    1**2 + 2**2 + ... + 10**2 = 385

Hence the difference between the square of the sum of the first
ten natural numbers and the sum of the squares is 2640:

    3025 - 385 = 2640

Version data entries

93 entries across 93 versions & 1 rubygems

Version Path
trackler-2.0.3.7 common/exercises/difference-of-squares/description.md
trackler-2.0.3.6 common/exercises/difference-of-squares/description.md
trackler-2.0.3.5 common/exercises/difference-of-squares/description.md
trackler-2.0.3.4 common/exercises/difference-of-squares/description.md
trackler-2.0.3.3 common/exercises/difference-of-squares/description.md
trackler-2.0.3.2 common/exercises/difference-of-squares/description.md
trackler-2.0.3.1 common/exercises/difference-of-squares/description.md
trackler-2.0.3.0 common/exercises/difference-of-squares/description.md
trackler-2.0.2.0 common/exercises/difference-of-squares/description.md
trackler-2.0.1.2 common/exercises/difference-of-squares/description.md
trackler-2.0.1.1 common/exercises/difference-of-squares/description.md
trackler-2.0.1.0 common/exercises/difference-of-squares/description.md
trackler-2.0.0.10 common/exercises/difference-of-squares/description.md
trackler-2.0.0.9 common/exercises/difference-of-squares/description.md
trackler-2.0.0.8 common/exercises/difference-of-squares/description.md
trackler-2.0.0.7 common/exercises/difference-of-squares/description.md
trackler-2.0.0.6 common/exercises/difference-of-squares/description.md
trackler-2.0.0.5 common/exercises/difference-of-squares/description.md
trackler-2.0.0.4 common/exercises/difference-of-squares/description.md
trackler-2.0.0.3 common/exercises/difference-of-squares/description.md