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.

A306249 Number of ways to write n as x*(2x-1) + y*(3y-1) + z*(4z-1) + w*(5w-1), where x,y,z are nonnegative integers and w is 0 or 1.

Table of values

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

List of values

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