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.

A331112 Sum of the digits of the n-th prime number in balanced ternary.

Table of values

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

List of values

[0, 1, -1, 1, 1, 3, -1, 1, -1, 1, 3, 3, -3, -1, -1, -1, -1, 1, 3, -1, 1, 1, 1, 1, 1, 1, 3, 1, 3, 1, -1, -3, -1, 1, -3, -1, 1, 1, -1, 1, -1, 1, 1, 3, 1, 3, 1, 1, 1, 3, -1, -1, 1, 1, -1, 1, 1, 3, 3, 3, 5, -1, 3, -1, 1, 1, 3, 5, 1, 3, 3, 3, -3, -1, -1, -3, -1, -1, -3, 1, -3, -1, -1, 1, 1, 1, -3, -1, -1, 1, -1, -1, 1, -1, 3, -1, -1, 1, 3, 1]