Let N k ( a ) = i = 0 ∑ k a i for any positive odd integer a .
For example, N 5 ( a ) = 1 + a + a 2 + a 3 + a 4 + a 5 .
What is the largest power of 2 that can completely divide all numbers of the form
( N 9 5 + N 6 3 − N 3 1 ) ( a ) ?
Clarifications:
a has to be an odd integer.
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.
Problem Loading...
Note Loading...
Set Loading...
The expansion of N 9 5 ( a ) is as follows:
N 9 5 ( a ) = 1 + a + a 2 + a 3 + a 4 + a 5 . . . + a 9 4 + a 9 5
This can be factored out as ( 1 + a ) ( 1 + a 2 ) ( 1 + a 4 ) ( 1 + a 8 ) ( 1 + a 1 6 ) ( 1 + a 3 2 + a 6 4 )
N 6 3 ( a ) − N 3 1 ( a ) is equal to a 3 2 ( 1 + a + a 2 + a 3 + a 4 + . . . + a 3 1 ) this can be factored out as
( 1 + a ) ( 1 + a 2 ) ( 1 + a 4 ) ( 1 + a 8 ) ( 1 + a 1 6 ) ( a 3 2 )
So, in totality, the complete factorization is ( 1 + a ) ( 1 + a 2 ) ( 1 + a 4 ) ( 1 + a 8 ) ( 1 + a 1 6 ) ( 1 + 2 a 3 2 + a 6 4 ) ( 1 + a ) ( 1 + a 2 ) ( 1 + a 4 ) ( 1 + a 8 ) ( 1 + a 1 6 ) ( 1 + a 3 2 ) 2
There are 7 factors. Since a is known to be odd, then each of these factors are assured to be even. Thus the largest power of two that can divide all numbers of this form is
2 7 = 1 2 8
There may be possibilities that one factor may contribute two or more factors of 2 (say a = 3, or a= 15), so these numbers can be divided by powers of two greater than 128. However, the number needed is the power of two that can divide all of these numbers, or the greatest common power-of-two factor that can divide all of these numbers.