OFFSET
1,2
COMMENTS
A rearrangement of the natural numbers.
EXAMPLE
We start with 1; p(1) = 2 is the first prime and the next two terms are 2,3 while c(1)=4 is the first composite number and the next four terms are 4,6,8,9 and so on.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, Mar 25 2008
EXTENSIONS
More terms from Sean A. Irvine, Apr 13 2010
STATUS
approved