Let $P$ be the product of all numbers less than $90$. Find the largest integer $N$ so that for each
$n∈$ {$2,3,4,...,N$}, the number $P+n$ has a prime factor less than 90.
Upon first thinking about this question, my plan of action was to find the first prime number that is larger than $P$ since that would guarantee that by that number, $P+n$ would not have a prime factor less than $90$.
So maybe the answer is one subtracted from that certain prime number.
However, obviously, $P$ is much too large a number to brute force this problem using that strategy nor to guess and check the answer.
So I'm stuck. When analyzing the prime factorization, where the answer might lie, I'm at a lost on how to deal with the added $+n$ to the product.
What actual steps am I supposed to take when answering this question?
Hint :
The number $$P+97$$ does not have a prime factor less than $90$ (Try to find out why). On the other hand, $$P+2,\cdots,P+96$$ have a prime factor less than $90$ (again try to find out why , hint : the second summand divides the sum). Hence the answer is $96$.