For all numbers k(n) congruent to -1 or +1 (mod 4) starting with k(n) = {3,5,7,9,11,...}, a(k(n)) is incremented by the congruence (mod 4) if k(n) is prime and by 0 if k(n) is composite.
A156749
For all numbers k(n) congruent to -1 or +1 (mod 4) starting with k(n) = {3,5,7,9,11,...}, a(k(n)) is incremented by the congruence (mod 4) if k(n) is prime and by 0 if k(n) is composite.
Terms
- a(0) =-1a(1) =0a(2) =-1a(3) =-1a(4) =-2a(5) =-1a(6) =-1a(7) =0a(8) =-1a(9) =-1a(10) =-2a(11) =-2a(12) =-2a(13) =-1a(14) =-2a(15) =-2a(16) =-2a(17) =-1a(18) =-1a(19) =0a(20) =-1a(21) =-1a(22) =-2a(23) =-2a(24) =-2a(25) =-1a(26) =-1a(27) =-1a(28) =-2a(29) =-1
External references
- oeis: A156749