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.

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

Table of values

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

List of values

[0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 2, 3, 4, 3, 4, 4, 5, 5, 4, 4, 3, 4, 3, 2, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 2, 2, 3, 4, 4, 3, 4, 4, 4, 5, 5, 5]