Being given $a \in \mathbb{N}$, find the smallest $N$ such that $\{ N, N+1, N+2, N+3, N+4, ...., N+a\}$ are all(consecutive) composite numbers.
For example for $a=2$, $N=8$ ; for $a=4$, $N=24$.
I am looking for a general formula.
Being given $a \in \mathbb{N}$, find the smallest $N$ such that $\{ N, N+1, N+2, N+3, N+4, ...., N+a\}$ are all(consecutive) composite numbers.
For example for $a=2$, $N=8$ ; for $a=4$, $N=24$.
I am looking for a general formula.
Let us consider the natural, classical, different, question: given any $a$, is it always possible to find a sequence of $a+1$ consecutive composite numbers ?
The answer is: it suffices to take $M=(a+1)!$ (factorial of $(a+1)$). Why that?
Thus, this constitutes a partial answer to your question: your $N$ is at most $(a+1)!+2$.