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.

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

Table of values

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

List of values

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