Let $x,n$ be integers such that $x < n$.
Let $x\#$ be the primorial of $x$ so that $6\# = 5\# = 30$ and $7\# = 210$
Let gcd$(a,b)$ be the greatest common divisor of $a$ and $b$.
Let $S(x,n)$ be the set of integers such that $s \in S(x,n)$ if and only if gcd$(s,x\#)=1$ and $s \le n$
Let $|S(x,n)|$ be the number of elements in the set $S(x,n)$
Let $p$ be the least prime greater than $x$.
Does it follow that there are at least $\left\lfloor\left(\frac{p-1}{p}\right)|S(x,n)|\right\rfloor$ elements relatively prime to $p$ in $S(x,n)$?
Here are some examples:
- $S(3,35) = \{1,5,7,11,13,17,19, 23, 25, 29, 31, 35\}$
There are at least $\left\lfloor\left(\frac{4}{5}\right)12\right\rfloor = 9$
- $S(5,49) = \{1,7,11,13,17,19,23,29,31,37,41,43,47,49\}$
There are at least $\left\lfloor\left(\frac{6}{7}\right)14\right\rfloor = 12$
I suspect the answer is no.
Could someone provide an example of $x,n$ where there are less than $\left\lfloor\left(\frac{p-1}{p}\right)|S(x,n)|\right\rfloor$ elements relatively prime to $p$ in $S(x,n)$
Edit:
I reworded the question to fix a mistake in my wording.
I had said "greater than $p$", I had meant to say "relatively prime to $p$.".
My examples had always shown "relatively prime to $p$". I had excluded elements that had $p$ as a divisor.