a(1)=0. a(n) = number of earlier terms of the sequence which when added to n produce a composite number.

A115208

a(1)=0. a(n) = number of earlier terms of the sequence which when added to n produce a composite number.

Terms

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

External references