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.

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

Table of values

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

List of values

[1, 0, 0, 1, 1, 2, 3, 4, 3, 4, 4, 3, 3, 2, 3, 2, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 2, 2, 3, 4, 4, 3, 4, 4, 4, 5, 6, 6, 7, 8, 9, 10, 11, 10, 11, 12, 12, 13, 12, 12, 13, 12, 13, 14, 13, 12, 13, 12, 12, 13, 13, 13, 14, 14, 15, 16, 16, 15, 16, 16, 16]