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.

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

Table of values

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

List of values

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