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.

A306242 Number of ways to write n as x*(3x+1) + y*(3y-1) + z*(3z+2) + w*(3w-2), where x,y,z,w are nonnegative integers.

Table of values

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

List of values

[1, 1, 1, 1, 1, 2, 2, 2, 2, 1, 3, 2, 2, 1, 3, 4, 3, 3, 2, 4, 3, 3, 4, 3, 4, 3, 3, 4, 3, 4, 7, 4, 5, 4, 3, 4, 4, 6, 6, 3, 9, 6, 2, 5, 5, 8, 4, 6, 7, 6, 5, 6, 3, 5, 9, 6, 8, 7, 8, 7, 7, 8, 7, 4, 9, 8, 6, 6, 7, 7, 13, 9, 6, 6, 7, 11, 4, 6, 11, 9, 12]