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.

A166387 a(n) = sum (floor (j^2/n), 1 <= j <= n-1) - floor ((n-1)(n-2)/3), n >= 2.

Table of values

n a(n)
2 0
3 1
4 1
5 0
6 1
7 1
8 2
9 2
10 0
11 1
12 3
13 0
14 1
15 3
16 4
17 0
18 2
19 1
20 3
21 2
22 1
23 3
24 6
25 2
26 0
27 3
28 3
29 0
30 3
31 3
32 6
33 2
34 0
35 3
36 7
37 0
38 1
39 5
40 6
41 0
42 2
43 1
44 5
45 4
46 3
47 5
48 10
49 4
50 2
51 3
52 3
53 0
54 3
55 5
56 8
57 2
58 0
59 3
60 9
61 0
62 3
63 7
64 10
65 0
66 2
67 1
68 5
69 4
70 3
71 7
72 12
73 0
74 0
75 7
76 5
77 2
78 5
79 5
80 12
81 6
82 0
83 3
84 9
85 0
86 1
87 7
88 8
89 0
90 4
91 3
92 7
93 4
94 5
95 9
96 16
97 0
98 4

List of values

[0, 1, 1, 0, 1, 1, 2, 2, 0, 1, 3, 0, 1, 3, 4, 0, 2, 1, 3, 2, 1, 3, 6, 2, 0, 3, 3, 0, 3, 3, 6, 2, 0, 3, 7, 0, 1, 5, 6, 0, 2, 1, 5, 4, 3, 5, 10, 4, 2, 3, 3, 0, 3, 5, 8, 2, 0, 3, 9, 0, 3, 7, 10, 0, 2, 1, 5, 4, 3, 7, 12, 0, 0, 7, 5, 2, 5, 5, 12, 6, 0, 3, 9, 0, 1, 7, 8, 0, 4, 3, 7, 4, 5, 9, 16, 0, 4]