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.

A254631 Number of ways to write n as x*(x+1)/2 + y*(3*y+2) + z*(3*z-2) with x,y,z nonnegative integers.

Table of values

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

List of values

[1, 2, 1, 1, 1, 1, 3, 2, 2, 2, 1, 3, 1, 1, 2, 2, 4, 2, 2, 2, 2, 3, 3, 3, 2, 1, 3, 5, 2, 3, 1, 2, 2, 2, 5, 1, 5, 4, 2, 2, 3, 5, 3, 3, 4, 4, 3, 3, 2, 3, 2, 3, 3, 2, 3, 5, 4, 5, 3, 2, 5, 4, 6, 2, 2, 3, 6, 3, 3, 4, 3, 7, 3, 4, 3, 2, 4, 4, 4, 6, 3, 3, 4, 4, 4, 5, 5, 4, 3, 2, 3, 5, 8, 3, 3, 3, 7, 3, 3, 8, 4]