cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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.

Table of values

n a(n)
1 -1
2 1
3 -1
4 1
5 -1
6 1
7 -1
8 0
9 -1
10 1
11 0
12 1
13 -1
14 1
15 -1
16 0
17 -1
18 0
19 -1
20 1
21 0
22 1
23 -1
24 1
25 0
26 1
27 -1
28 0
29 -1
30 0
31 0
32 1
33 -1
34 1
35 -1
36 1
37 -1
38 0
39 0
40 0
41 0
42 1
43 -1
44 0
45 -1
46 1
47 0
48 0
49 -1
50 1
51 0
52 1
53 0
54 1
55 -1
56 0
57 -1
58 0
59 -1
60 1
61 0
62 0
63 -1
64 1
65 -1
66 1
67 0
68 0
69 0
70 1
71 0
72 0
73 0
74 1
75 -1
76 1
77 -1
78 0
79 -1
80 1
81 0
82 0
83 -1
84 0
85 -1
86 0
87 -1
88 0
89 -1
90 1
91 0

List of values

[-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]