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.

A137931 Sum of the principal diagonals of a 2n X 2n square spiral.

Table of values

n a(n)
0 0
1 10
2 56
3 170
4 384
5 730
6 1240
7 1946
8 2880
9 4074
10 5560
11 7370
12 9536
13 12090
14 15064
15 18490
16 22400
17 26826
18 31800
19 37354
20 43520
21 50330
22 57816
23 66010
24 74944
25 84650
26 95160
27 106506
28 118720
29 131834
30 145880
31 160890
32 176896
33 193930
34 212024
35 231210
36 251520
37 272986
38 295640

List of values

[0, 10, 56, 170, 384, 730, 1240, 1946, 2880, 4074, 5560, 7370, 9536, 12090, 15064, 18490, 22400, 26826, 31800, 37354, 43520, 50330, 57816, 66010, 74944, 84650, 95160, 106506, 118720, 131834, 145880, 160890, 176896, 193930, 212024, 231210, 251520, 272986, 295640]