Starting with n = 1, a(n) is the smallest squarefree number not included earlier if n is odd, else n is the smallest nonsquarefree number.

A088610

Starting with n = 1, a(n) is the smallest squarefree number not included earlier if n is odd, else n is the smallest nonsquarefree number.

Terms

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

External references