login
a(1) = 1, then the next n numbers are prime if n is composite, else are composite if n is a prime.
0

%I #4 Aug 23 2014 14:44:18

%S 1,4,6,8,9,10,2,3,5,7,12,14,15,16,18,11,13,17,19,23,29,20,21,22,24,25,

%T 26,27,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,

%U 113,127,131,137,139,149,151,157,28,30,32,33,34,35,36,38,39,40,42

%N a(1) = 1, then the next n numbers are prime if n is composite, else are composite if n is a prime.

%K easy,nonn

%O 1,2

%A _Amarnath Murthy_ and Meenakshi Srikanth (menakan_s(AT)yahoo.com), Jun 20 2003