a(n) is the smallest number not yet in the sequence with the same number of distinct prime divisors as n, but relatively prime to n.

A159587

a(n) is the smallest number not yet in the sequence with the same number of distinct prime divisors as n, but relatively prime to n.

Terms

    a(0) =1a(1) =3a(2) =2a(3) =5a(4) =4a(5) =35a(6) =8a(7) =7a(8) =11a(9) =21a(10) =9a(11) =55a(12) =16a(13) =15a(14) =14a(15) =13a(16) =19a(17) =65a(18) =17a(19) =33a(20) =10a(21) =39a(22) =25a(23) =77a(24) =23a(25) =45a(26) =29a(27) =51a(28) =27a(29) =1001

External references