a(n) = n if n <= 2, otherwise (smallest squarefree number m not occurring earlier such that gcd(m, a(n-1)) > 1).

A100113

a(n) = n if n <= 2, otherwise (smallest squarefree number m not occurring earlier such that gcd(m, a(n-1)) > 1).

Terms

    a(0) =1a(1) =2a(2) =6a(3) =3a(4) =15a(5) =5a(6) =10a(7) =14a(8) =7a(9) =21a(10) =30a(11) =22a(12) =11a(13) =33a(14) =39a(15) =13a(16) =26a(17) =34a(18) =17a(19) =51a(20) =42a(21) =35a(22) =55a(23) =65a(24) =70a(25) =38a(26) =19a(27) =57a(28) =66a(29) =46

External references