From 242838d9d475c37b9243931deab5f3851a665335 Mon Sep 17 00:00:00 2001 From: Krishna Kant Nath Tiwari Date: Mon, 25 Feb 2019 13:59:37 +0530 Subject: [PATCH] Update README.md --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1433031..2c6ad67 100644 --- a/README.md +++ b/README.md @@ -1 +1,12 @@ -# Sum-and-Squares \ No newline at end of file +# Sum-and-Squares + + +The sum of the squares of the first ten natural numbers is, +1^2 + 2^2 + ... + 10^2 = 385 + +The square of the sum of the first ten natural numbers is, +(1 + 2 + ... + 10)^2 = 552 = 3025 + +Hence the difference between the sum of the squares of the first ten natural numbers and the square of the sum is 3025 − 385 = 2640. + +Find the difference between the sum of the squares and the square of the sum.