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.

A030396 a(n)=(# 1's)-(# 0's) in first n terms of A030386.

Table of values

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

List of values

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