Prime Problem

Level pending

What is the smallest integer k k greater than 10 10 such that there is some interval of 1000 1000 integers which contains exactly k k primes?

Credits: Thanks to randomusername on AoPS for this problem, I just wanted to share it with the rest of Brilliant as well

14 11 13 17

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

Josh Speckman
Dec 26, 2013

Consider an interval of 1000 1000 integers which contains no primes. Now, decrease every term in that interval by 1 1 . Notice that the only change we make is removing the largest integer and replacing it with an integer one smaller than that, so only 1 1 term changes. It follows that the number of primes in the interval can only change by 1 1 , 0 0 , or 1 -1 , since only one integer changes. Eventually, by repeating this process, we will find an interval with many more primes, for example, the interval from 1 1 to 1000 1000 . This means that somewhere in between, we had an interval containing 11 11 primes, so the answer is 11 \fbox{11}

Sorry, I just realized this. When I said "...he only change we make is removing the largest integer and replacing it with an integer one smaller than that...", I meant that we replace the largest integer by an integer one less than the smallest integer in the interval.

Josh Speckman - 7 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...