%I #5 Mar 30 2012 17:38:03
%S 1,3,4,6,7,8,9,10,12,14,17,18,19,20,23,29,30,32,33,34,37,41,42,43,47,
%T 53,59,61,62,63,67,68,69,70,71,73,74,79,83,89,90,91,92,97,101,103,104,
%U 107,109,113,127,131,132,137,139,149,151,157,158,163,164,165,166,167,173
%N a(n) is taken to be the smallest positive integer greater than a(n-1) which is consistent with the condition "n is a member of the sequence if and only if a(n) is not prime".
%e a(4) = 6 because 4 is in the sequence and 6 is the next nonprime after a(3). a(5) = 7 because 5 is not in the sequence and 7 is the next prime after a(4).
%Y Cf. A079000, A079254.
%K easy,nonn,less
%O 1,2
%A _David Wasserman_, Aug 16 2003
|