Why powers of 2?

Let n n be a positive integer randomly chosen between the interval [ 1 , lcm ( 2 , 3 , 4 , , 2 100 ) ] \left [ 1, \text{lcm} \left (2,3,4,\ldots , 2^{100} \right) \right ] .

Let P P denote the probability that 1 + 2 + + n 1 + 2 + \cdots + n is divisible by 2 10 2^{10} .

What is 1 P \dfrac 1P ?


Inspiration .


The answer is 1024.

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.

1 solution

Sardor Yakupov
Aug 26, 2017

The sum from 1 to n is equal to n ( n + 1 ) 2 \frac { n(n+1) }{ 2 } .

If this sum is divisible by 2 10 { 2 }^{ 10 } , then n or (n+1) is divisible by 2 11 { 2 }^{ 11 } . Quantity of numbers, such that n is divisible by 2 11 { 2 }^{ 11 } , or (n+1) is divisivle by 2 11 { 2 }^{ 11 } is equal to l c m ( 2 , 3 , 4 , . . . , 2 100 ) 2 11 \frac { lcm(2,3,4,...,{ 2 }^{ 100 }) }{ { 2 }^{ 11 } } , because l c m ( 2 , 3 , 4 , . . . , 2 100 ) lcm(2,3,4,...,{ 2 }^{ 100 }) is divisible by 2 11 { 2 }^{ 11 } . By adding these two numbers we have l c m ( 2 , 3 , 4 , . . . , 2 100 ) 2 10 \frac { lcm(2,3,4,...,{ 2 }^{ 100 }) }{ { 2 }^{ 10 } } . To find the probability, we need to divide the lenght of whole interval by this quantity. Then P = l c m ( 2 , 3 , 4 , . . . , 2 100 ) 2 10 l c m ( 2 , 3 , 4 , . . . , 2 100 ) = 1 2 10 { P=\frac { \frac { lcm(2,3,4,...,{ 2 }^{ 100 }) }{ { 2 }^{ 10 } } }{ lcm(2,3,4,...,{ 2 }^{ 100 }) } }=\frac { 1 }{ { 2 }^{ 10 } } and 1 P = 2 10 = 1024 \frac { 1 }{ P } ={ 2 }^{ 10 }=1024 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...