Suppose we have lines in a plane. Every pair of lines intersect such that no three lines intersect in a common point. Let be the number of regions in the plane divided into by these lines. How many positive integers are there such that is a power of ?
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.
Firstly, we must examine the values of A n . Suppose we already have n lines in the plane. Now we add line number n + 1 , ℓ n + 1 so that our conditions are still satisfied. This means that ℓ n + 1 intersects every line ℓ 1 … ℓ n at a different location.
Each time ℓ n + 1 intersects a new line, it enters a new region, which it divides into 2 parts, adding an extra region. Thus, ℓ n + 1 creates n + 1 new regions: it bisects the uppermost (open) region that it starts in, and then, moving down, it enters n new regions.
So, A n + 1 = A n + ( n + 1 ) , and A 0 = 1
∴ A n = 1 + ∑ i = 1 n i = T n + 1 where T n ≡ ( 2 n ) = 2 n ( n + 1 ) are the triangular numbers 0 , 1 , 3 , 6 , 1 0 , 1 5 …
In order for A n to be a power of 2,
we must have: 2 n ( n + 1 ) + 1 = 2 k ⟹ n 2 + n = 2 k + 1 − 2 Instead of looking at all possible values of n ,we examine powers of 2.
Note that if n ≤ 1 0 6 , then A n ≤ 2 ( n + 1 ) 2 < 2 3 9 .
Further, note that n 2 < n 2 + n < ( n + 1 ) 2 for positive numbers. This means, if an integer n satisfies the relation, it must be the integer immediately preceding the square root of 2 k + 1 − 2 .
Thus, we can simply go through powers 2 k for k = 0 … 3 9 , and take n = ⌊ 2 k + 1 − 2 ⌋ , and check if n 2 + n = 2 k + 1 − 2 . For most powers of two, this can even be done by hand.
Doing this up to 39 reveals that for k = 1 2 , 2 k + 1 − 2 = 8 1 9 0 , n 2 + n = 8 1 0 0 + 9 0 = 8 1 9 0 which means that for n = 9 0 A n = 2 1 2 = 4 0 9 6 . So we have n = 9 0 , k = 1 2 .
The other solutions are n = 1 , k = 1 ; n = 2 , k = 2 ; n = 5 , k = 4 . Note that n = 0 , k = 0 is a solution, but zero is not positive. Thus there are 4 positive solutions.