%I #8 Apr 09 2014 10:15:52
%S 1,3,5,2,7,9,11,13,4,15,17,19,21,23,25,6,27,29,31,35,33,37,39,41,8,43,
%T 45,47,49,51,53,55,57,59,61,10,63,65,67,69,71,73,75,77,79,81,83,87,14,
%U 85,89,91,93,95,97,99,101,103,105,107,109,111,113,12,115,117,119,121
%N a(n) = the smallest positive integer which does not occur earlier in the sequence and which is coprime to the number of positive divisors of n.
%C Sequence is a permutation of the positive integers.
%e 6 has 4 positive divisors. Among those positive integers not occurring among the first 5 terms of the sequence, 9 is the smallest which is coprime to 4. So a(6) = 9. 4, 6 and 8 also do not occur among the first 5 terms of the sequence, but they are not coprime to 4.
%Y Cf. A000005.
%K nonn
%O 1,2
%A _Leroy Quet_, Aug 18 2006
%E Extended by _Ray Chandler_, Aug 22 2006
|