a(1)=1; a(n) is the smallest positive number not occurring earlier, with different parity from a(n-1), such that sum of any subsequence of two or more consecutive terms is composite.

A075573

a(1)=1; a(n) is the smallest positive number not occurring earlier, with different parity from a(n-1), such that sum of any subsequence of two or more consecutive terms is composite.

Terms

    a(0) =1a(1) =8a(2) =7a(3) =18a(4) =15a(5) =6a(6) =3a(7) =36a(8) =21a(9) =30a(10) =9a(11) =16a(12) =5a(13) =44a(14) =25a(15) =24a(16) =27a(17) =60a(18) =39a(19) =42a(20) =33a(21) =66a(22) =69a(23) =26a(24) =37a(25) =48a(26) =57a(27) =12a(28) =51a(29) =14

External references