Problem

Source: India TST 2016 Day 4 Problem 3

Tags: number theory, set, prime numbers



Let $\mathbb N$ denote the set of all natural numbers. Show that there exists two nonempty subsets $A$ and $B$ of $\mathbb N$ such that $A\cap B=\{1\};$ every number in $\mathbb N$ can be expressed as the product of a number in $A$ and a number in $B$; each prime number is a divisor of some number in $A$ and also some number in $B$; one of the sets $A$ and $B$ has the following property: if the numbers in this set are written as $x_1<x_2<x_3<\cdots$, then for any given positive integer $M$ there exists $k\in \mathbb N$ such that $x_{k+1}-x_k\ge M$. Each set has infinitely many composite numbers.