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.

A334087 Draw the lines with equations y=kx (k=1..n) on the R^2/Z^2 square flat torus. a(n) is the number of intersection points.

Table of values

n a(n)
0 0
1 0
2 1
3 2
4 5
5 9
6 17
7 25
8 39
9 55
10 77
11 99
12 131
13 165
14 211
15 257
16 311
17 369
18 443
19 517
20 609
21 705
22 813
23 921
24 1051
25 1185
26 1339
27 1493
28 1665
29 1843
30 2049
31 2255
32 2491
33 2735
34 2999
35 3263
36 3551
37 3845
38 4175
39 4505
40 4859
41 5221
42 5623
43 6025
44 6469
45 6923
46 7401
47 7879
48 8403
49 8935
50 9509

List of values

[0, 0, 1, 2, 5, 9, 17, 25, 39, 55, 77, 99, 131, 165, 211, 257, 311, 369, 443, 517, 609, 705, 813, 921, 1051, 1185, 1339, 1493, 1665, 1843, 2049, 2255, 2491, 2735, 2999, 3263, 3551, 3845, 4175, 4505, 4859, 5221, 5623, 6025, 6469, 6923, 7401, 7879, 8403, 8935, 9509]