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.

A068227 The "genity" sequence of the primes, i.e., a(n) = g(p) = ((p mod 4) + (p mod 6))/2, where p is the n-th prime.

Table of values

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

List of values

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