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.

A159782 a(0)=1; a(1)=a(2)=a(3)=a(4)=2; a(2n+1)=0 for n >= 2; a(4n)=a(4n-2) = a(n) + a(n+1) for n >= 2.

Table of values

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

List of values

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