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.

A212683 Number of (w,x,y,z) with all terms in {1,...,n} and |x-y| = w + |y-z|.

Table of values

n a(n)
0 0
1 0
2 2
3 8
4 22
5 46
6 84
7 138
8 212
9 308
10 430
11 580
12 762
13 978
14 1232
15 1526
16 1864
17 2248
18 2682
19 3168
20 3710
21 4310
22 4972
23 5698
24 6492
25 7356
26 8294
27 9308
28 10402
29 11578
30 12840
31 14190
32 15632
33 17168
34 18802
35 20536
36 22374
37 24318
38 26372
39 28538
40 30820

List of values

[0, 0, 2, 8, 22, 46, 84, 138, 212, 308, 430, 580, 762, 978, 1232, 1526, 1864, 2248, 2682, 3168, 3710, 4310, 4972, 5698, 6492, 7356, 8294, 9308, 10402, 11578, 12840, 14190, 15632, 17168, 18802, 20536, 22374, 24318, 26372, 28538, 30820]