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.

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

Table of values

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

List of values

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