a(0)=1. a(n) = the number of earlier terms equal to GCD(a(k),n), where a(k) is the largest term among terms a(0) through a(n-1).

A122066

a(0)=1. a(n) = the number of earlier terms equal to GCD(a(k),n), where a(k) is the largest term among terms a(0) through a(n-1).

Terms

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

External references