We can write the numbers between 1000 and 3000 as the sum of 2, 3, 4, 5, etc, consecutive numbers:
1 9 8 + 1 9 9 + 2 0 0 + 2 0 1 + 2 0 2 = 1 0 0 0
5 0 0 + 5 0 1 = 1 0 0 1
2 4 9 + 2 5 0 + 2 5 1 + 2 5 2 = 1 0 0 2
...
7 4 8 + 7 4 9 + 7 5 0 + 7 5 1 = 2 9 9 8
1 4 9 9 + 1 5 0 0 = 2 9 9 9
5 9 8 + 5 9 9 + 6 0 0 + 6 0 1 + 6 0 2 = 3 0 0 0
But have 2 numbers between 1000 and 3000 that we cannot write as the sum of 2 or more consecutive numbers. Find their sum.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
will u please elaborate the logic ?
Any 2 a n with the exponent is non negative integer, can't be written as 2 or more consecutive numbers.
Proof: the integer 2 can't be written as two consecutive numbers. So so does 4 , 8 , . . . Look here: a. All odd numbers can be written as 2 or more consecutive numbers. Let me tak examples, for example k and k + 1 is the consecutive numbers. when we add them, we use our parity identity. If k is even, k + 1 is odd, vice versa. b. Most even numbers, but not all of them can be written as 3 or more consecutive numbers. We can't write them as 2 consecutive numbers since the parity identity said that the consecutive number addition outcomes the odd. That is why I say that to make even numbers, we have to write at least 3 or more consecutive numbers.
Why the power of 2 can't be expressed as two consecutive numbers?
Any number, except the power of two has at least one odd prime factor and 2. I'll take an example. if k is even, when we factorize them, the prime factor must be 2 and odd prime number For the power of two, we can't since the prime factor of the power of 2 is only 2. Thus, we can't express as consecutives. QED
Assume B is the number that can be factored by the consecutive sequence: B=A+A+1+A+2+...+A+n-1=nA+(1+2+...+n-1) n A + 2 n ( n − 1 ) = B ⇒ A = n B − 2 n − 1 So: A = 2 1 0 , 2 1 1 are two numbers found. R e s u l t = 3 0 7 2
Problem Loading...
Note Loading...
Set Loading...
Any integer can be written as the sum of two or more positive consecutive integers. By definition, these are called polite numbers. The only impolite numbers, or numbers that cannot be written as the sum or two or more positive consecutive integers are powers of 2, and the only powers of two between 1000 and 3000 are 1024 and 2048, so the answer is 1024+2048, or 3072