Determine the largest positive integer $n$ for which there exists a set $S$ with exactly $n$ numbers such that: 
- Each member in $S$ is a positive integer not exceeding $2002$.
- If $a, b \in S$ (not necessarily different), then $ab \not\in S$.

Let's think step by step and output the final answer within \boxed{}.
user