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

A115209

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

Terms

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

External references