a(1)=1. a(n) is smallest positive integer that does not occur earlier in the sequence and is such that d(a(n)) does not equal d(a(n-1)), where d(n) is the number of positive divisors of n.

A113981

a(1)=1. a(n) is smallest positive integer that does not occur earlier in the sequence and is such that d(a(n)) does not equal d(a(n-1)), where d(n) is the number of positive divisors of n.

Terms

    a(0) =1a(1) =2a(2) =4a(3) =3a(4) =6a(5) =5a(6) =8a(7) =7a(8) =10a(9) =9a(10) =12a(11) =11a(12) =14a(13) =13a(14) =16a(15) =15a(16) =18a(17) =17a(18) =20a(19) =19a(20) =23a(21) =24a(22) =21a(23) =22a(24) =26a(25) =25a(26) =28a(27) =27a(28) =30a(29) =29

External references