A156706 For all numbers k(n) congruent to +1 or -1 (mod 6) starting with k(n) = {5,7,11,13,...}, a(k(n)) is the congruence (mod 6) if k(n) is prime and 0 if k(n) is composite.
-1, 1, -1, 1, -1, 1, -1, 0, -1, 1, 0, 1, -1, 1, -1, 0, -1, 0, -1, 1, 0, 1, -1, 1, 0, 1, -1, 0, -1, 0, 0, 1, -1, 1, -1, 1, -1, 0, 0, 0, 0, 1, -1, 0, -1, 1, 0, 0, -1, 1, 0, 1, 0, 1, -1, 0, -1, 0, -1, 1, 0, 0, -1, 1, -1, 1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 1, -1, 0, -1, 1, 0, 0, -1, 0, -1, 0, -1, 0, -1, 1, 0
Offset: 1
Keywords
Links
- Daniel Forgues, Table of n, a(n) for n = 1..33332
Comments