Given an input vector of positive integers, return a row vector with the primes first (in order) and the composites next (also in order).
The number 1 is neither prime nor composite. Put it with the composites for this problem.
3 Comments
1 Comment
3 Comments