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.

A212959 Number of (w,x,y) such that w,x,y are all in {0,...,n} and |w-x| = |x-y|.

Table of values

n a(n)
0 1
1 4
2 11
3 20
4 33
5 48
6 67
7 88
8 113
9 140
10 171
11 204
12 241
13 280
14 323
15 368
16 417
17 468
18 523
19 580
20 641
21 704
22 771
23 840
24 913
25 988
26 1067
27 1148
28 1233
29 1320
30 1411
31 1504
32 1601
33 1700
34 1803
35 1908
36 2017
37 2128
38 2243
39 2360
40 2481
41 2604
42 2731
43 2860
44 2993
45 3128
46 3267

List of values

[1, 4, 11, 20, 33, 48, 67, 88, 113, 140, 171, 204, 241, 280, 323, 368, 417, 468, 523, 580, 641, 704, 771, 840, 913, 988, 1067, 1148, 1233, 1320, 1411, 1504, 1601, 1700, 1803, 1908, 2017, 2128, 2243, 2360, 2481, 2604, 2731, 2860, 2993, 3128, 3267]