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.

A059804 Consider the line segment in R^n from the origin to the point v=(2,3,5,7,11,...) with prime coordinates; 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)
2 1
3 3
4 9
5 39
6 87
7 215
8 391
9 711
10 1326
11 1975
12 2925
13 4256
14 5696
15 7537
16 9774
17 12488
18 16322
19 20477
20 24966
21 30007
22 35336
23 41577
24 48466
25 56387
26 65796
27 75997
28 86606
29 98055
30 109936
31 122705
32 138834
33 155995
34 174764
35 194085
36 216286
37 239087
38 263736
39 290305

List of values

[1, 3, 9, 39, 87, 215, 391, 711, 1326, 1975, 2925, 4256, 5696, 7537, 9774, 12488, 16322, 20477, 24966, 30007, 35336, 41577, 48466, 56387, 65796, 75997, 86606, 98055, 109936, 122705, 138834, 155995, 174764, 194085, 216286, 239087, 263736, 290305]