For all numbers k(n) congruent to -1 or +1 (mod 6) starting with k(n) = {5,7,11,13,...}, a(k(n)) is incremented by the congruence (mod 6) if k(n) is prime and by 0 if k(n) is composite.

A156709

For all numbers k(n) congruent to -1 or +1 (mod 6) starting with k(n) = {5,7,11,13,...}, a(k(n)) is incremented by the congruence (mod 6) if k(n) is prime and by 0 if k(n) is composite.

Terms

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

External references