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.

A379643 List of x coordinates of prime numbers in a Cartesian grid, where the first prime 2 is placed at the origin (0,0) and the second prime 3 at (1,0). For the n-th prime prime(n), n >= 3, take a unit step in the direction (prime(n)-3)*45 degrees counterclockwise from the positive x-axis.

Table of values

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

List of values

[0, 1, 1, 0, 1, 1, 1, 2, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 2, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 2, 2, 1, 1, 2, 1, 1, 2, 2, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, -1, -1, -1, 0, 0, 1, 0, 0, 0, 1, 1, 2, 2, 2, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, -1, 0]