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.

A117499 Number of subsets of {n-1, n, n+1} that sum up to a prime.

Table of values

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

List of values

[4, 4, 4, 3, 2, 4, 2, 2, 2, 2, 2, 3, 1, 2, 2, 2, 1, 3, 2, 2, 2, 2, 2, 2, 0, 1, 1, 1, 2, 4, 2, 1, 1, 1, 1, 3, 2, 1, 1, 2, 2, 3, 1, 2, 1, 1, 1, 2, 1, 1, 2, 2, 2, 3, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 1, 2, 1, 2, 2, 1, 0, 2, 2, 1, 1, 2, 2, 2, 0, 1, 1, 1, 2, 3, 1, 0, 0, 0, 1, 3, 2, 2, 2, 2, 1, 2, 1, 1, 1]