a(1)=4; thereafter a(n) is the smallest semiprime not yet appearing in the sequence that is relatively prime to a(n-1).

A119718

a(1)=4; thereafter a(n) is the smallest semiprime not yet appearing in the sequence that is relatively prime to a(n-1).

Terms

    a(0) =4a(1) =9a(2) =10a(3) =21a(4) =22a(5) =15a(6) =14a(7) =25a(8) =6a(9) =35a(10) =26a(11) =33a(12) =34a(13) =39a(14) =38a(15) =49a(16) =46a(17) =51a(18) =55a(19) =57a(20) =58a(21) =65a(22) =62a(23) =69a(24) =74a(25) =77a(26) =82a(27) =85a(28) =86a(29) =87

External references