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.

A060454 Consider the line segment in R^n from the origin to the point v = (1,4,9,...,n^2); let d = squared distance to this line from the closest point of Z^n (excluding the endpoints). Sequence gives d times v.v.

Table of values

n a(n)
0 1
1 6
2 38
3 107
4 350
5 728
6 1752
7 3090
8 6215
9 9878
10 17654
11 26117
12 42924
13 60256
14 93024
15 125460
16 184509
17 241110
18 341110
19 434511
20 595562
21 742808
22 991640
23 1215110
24 1586403
25 1914822
26 2452646
27 2922185
28 3681560
29 4337024
30 5385600
31 6281704
32 7701561
33 8904294
34 10793862
35 12381939
36 14822755
37 16907891
38 19221332
39 21781332
40 24607093
41 27718789
42 31137590

List of values

[1, 6, 38, 107, 350, 728, 1752, 3090, 6215, 9878, 17654, 26117, 42924, 60256, 93024, 125460, 184509, 241110, 341110, 434511, 595562, 742808, 991640, 1215110, 1586403, 1914822, 2452646, 2922185, 3681560, 4337024, 5385600, 6281704, 7701561, 8904294, 10793862, 12381939, 14822755, 16907891, 19221332, 21781332, 24607093, 27718789, 31137590]