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