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.6.37 common/exercises/difference-of-squares/description.md
trackler-2.0.6.36 common/exercises/difference-of-squares/description.md
trackler-2.0.6.35 common/exercises/difference-of-squares/description.md
trackler-2.0.6.34 common/exercises/difference-of-squares/description.md
trackler-2.0.6.33 common/exercises/difference-of-squares/description.md
trackler-2.0.6.32 common/exercises/difference-of-squares/description.md
trackler-2.0.6.31 common/exercises/difference-of-squares/description.md
trackler-2.0.6.30 common/exercises/difference-of-squares/description.md
trackler-2.0.6.29 common/exercises/difference-of-squares/description.md
trackler-2.0.6.28 common/exercises/difference-of-squares/description.md
trackler-2.0.6.27 common/exercises/difference-of-squares/description.md
trackler-2.0.6.26 common/exercises/difference-of-squares/description.md
trackler-2.0.6.25 common/exercises/difference-of-squares/description.md
trackler-2.0.6.24 common/exercises/difference-of-squares/description.md
trackler-2.0.6.23 common/exercises/difference-of-squares/description.md
trackler-2.0.6.22 common/exercises/difference-of-squares/description.md
trackler-2.0.6.21 common/exercises/difference-of-squares/description.md
trackler-2.0.6.20 common/exercises/difference-of-squares/description.md
trackler-2.0.6.19 common/exercises/difference-of-squares/description.md
trackler-2.0.6.18 common/exercises/difference-of-squares/description.md