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.

A105198 a(n) = n(n+1)/2 mod 4.

Table of values

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

List of values

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