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

A115210

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

External references