Sha256: a9bc269d420835c02d6a4a965b64e44b29253946ba0fa81129d0d22d1dc6db79
Contents?: true
Size: 351 Bytes
Versions: 81
Compression:
Stored size: 351 Bytes
Contents
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
81 entries across 81 versions & 1 rubygems