If p is an odd prime number, at most how many ways can p be expressed as a sum of two or more consecutive integers?
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.
So please tell me how can be 5 expressed as sum of two or more consecutive integers in 3 ways?
Log in to reply
5 = 2 + 3
5 = − 4 + − 3 + − 2 + − 1 + 0 + 1 + 2 + 3 + 4 + 5
5 = − 1 + 0 + 1 + 2 + 3
Log in to reply
Thank u. I didn't noticed question was asked for whole integers. I consider only positive integers
We have that p = n + ( n + 1 ) + ( n + 2 ) + … + ( n + m − 1 ) = m n + 2 m ( m − 1 ) ⇒ 2 p = m ( 2 n + m − 1 ) . In particular, m ∣ 2 p ⇒ m = 2 , p , or 2 p (because there must be 2 or more integers, m ≥ 2 ). This yields exactly 3 solutions for ( m , n ) .
Note from this, we find n = 2 p − 1 , 2 p + 1 , or − ( p − 1 ) respectively. As an example of n = − ( p − 1 ) , consider p = 5 . Then − 4 − 3 − 2 − 1 + 0 + 1 + 2 + 3 + 4 + 5 = 5
Problem Loading...
Note Loading...
Set Loading...
For all odd primes p , there are only 3 ways for it to be expressed as a sum of k consecutive integers.
I will post the proof a little while later.