I'm interested in finding adjacent numbers, $A,A+1$ that are both products of a set of primes $P$. Specifically, given a finite set $P$, is there a maximum such $A$ that exists? Here's my work so far:
For the concrete example of $P = \{2,3\}$, I think the maximum is $A= 8, A+1 = 9$, but I have trouble when considering sets with more than 2 elements.
For a set $P = \{p_1,...,p_n\}$, then any such $A$ must be co-prime with $A+1$. Otherwise, if they share a factor $p_i$, then $1 = A+1 - A = p_i \times x - p_i \times y = p_i \times (x-y)$ for some integers $x,y$, which implies $p_i$ divides 1 which is clearly impossible.
So, given there are finitely many partitions of $P$, if I could show that each partition generates finitely many $A$ that would prove finitely many $A$ overall, and thus a maximum exists. But I'm not sure how to prove this.