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.

A030582 a(n)=(# 1's)-(# 2's) in first n terms of A030567.

Table of values

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

List of values

[1, 0, 0, 0, 0, 0, 1, 2, 3, 2, 3, 3, 4, 4, 5, 5, 6, 6, 5, 6, 5, 4, 3, 3, 2, 2, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 3, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 7, 8, 9, 10, 11]