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.

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

Table of values

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

List of values

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