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 the congruence (mod 4) if k(n) is prime and 0 if k(n) is composite.

A156707

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 the congruence (mod 4) if k(n) is prime and 0 if k(n) is composite.

Terms

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

External references