Let $N$ be a number such that whenever you take $N$ consecutive positive integers,atleast one of them is coprime to $374$.What is the smallest possible value of $N$ ?
Options are:
A. 4
B. 5
C. 6
D. 7
ISI BMath UGA 2014
$374=2\times11\times17$
Now in order to look for a continuous streak of numbers $N$ such that atleast one of them is coprime to $374$,look for the numbers starting from $11$ as $11$ is a factor of $374$.Now $12$ is not coprime to $374$ but $13$ is.And this way we can proceed upto $17$. Then $N=7$ which is not infact the answer but my question is why $6$ the answer as $13$ is already coprime to $ 374$ and $ 6<7$.Is that the reason ? But if it were true, then
consider the numbers $5,6,7,8$ (or any $4$ consecutive numbers per se, you will see that atleast one of them is coprime to $374$ as there is a multiple of $3$ there which will be coprime to this $374$)
$5$ is coprime to $374$. So the answer could have been $4$ as well. But why $6$?
So why is option C the answer here
Anyway, the longest string of integers that have a factor in common with 374 is five; take two consecutive odd numbers, one divisible by 11 and the other by 17, then the three neighboring even numbers. If you are not sure about this, it is just necessary to check the numbers from $1$ to $374,$ mark the ones for which $\gcd(n,374) > 1,$ then count the longest consecutive strings. The actual factorizations do not really matter, just 2, 11, 17. I deliberately put the sequences of five consecutive up to $2 \cdot 374 = 748.$
=================================