a(1)=1, a(2)=2, a(3)=3, a(n) = smallest positive integer not occurring earlier in sequence and coprime to a(n-1), a(n-2) and a(n-3).
1, 2, 3, 5, 7, 4, 9, 11, 13, 8, 15, 17, 19, 14, 23, 25, 27, 16, 29, 31, 21, 10, 37, 41, 33
1 seqfan posts
Wed Jan 19 15:20:54 CET 2011 [seqfan] Re: smallest number which is coprime to the last three predecessors and not occurring earlier;