a(1)=1. Let m be the number of terms in the longest run of consecutive equal terms from among the first n terms of the sequence. a(n+1) = the number of terms, from among the first n terms of the sequence, that are coprime to m.
A136347
a(1)=1. Let m be the number of terms in the longest run of consecutive equal terms from among the first n terms of the sequence. a(n+1) = the number of terms, from among the first n terms of the sequence, that are coprime to m.
Terms
- a(0) =1a(1) =1a(2) =2a(3) =2a(4) =2a(5) =5a(6) =6a(7) =6a(8) =6a(9) =6a(10) =3a(11) =4a(12) =4a(13) =4a(14) =4a(15) =4a(16) =15a(17) =15a(18) =15a(19) =15a(20) =15a(21) =15a(22) =3a(23) =3a(24) =3a(25) =3a(26) =3a(27) =3a(28) =3a(29) =29
External references
- oeis: A136347