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.

A165993 a(n) = sum_{j=1..prime(n)-1} floor (j^2/prime(n)).

Table of values

n a(n)
1 0
2 1
3 4
4 11
5 31
6 44
7 80
8 103
9 157
10 252
11 293
12 420
13 520
14 575
15 695
16 884
17 1105
18 1180
19 1431
20 1617
21 1704
22 2007
23 2217
24 2552
25 3040
26 3300
27 3439
28 3713
29 3852
30 4144
31 5255
32 5595
33 6120
34 6305
35 7252
36 7457
37 8060
38 8695
39 9141
40 9804
41 10507
42 10740
43 11983
44 12224
45 12740

List of values

[0, 1, 4, 11, 31, 44, 80, 103, 157, 252, 293, 420, 520, 575, 695, 884, 1105, 1180, 1431, 1617, 1704, 2007, 2217, 2552, 3040, 3300, 3439, 3713, 3852, 4144, 5255, 5595, 6120, 6305, 7252, 7457, 8060, 8695, 9141, 9804, 10507, 10740, 11983, 12224, 12740]