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.

A386559 Place a point on the integer coordinates, up to |n|, along all four axial directions on a Cartesian plane, and then join an infinite straight line between every pair of points: a(n) is the number of points where lines intersect in the resulting graph.

Table of values

n a(n)
1 5
2 65
3 381
4 1213
5 3033
6 6105
7 12285
8 20789
9 33705
10 51065
11 79797
12 110817
13 161549
14 216985
15 284269
16 367925
17 489953
18 609225
19 785045
20 952877
21 1157749
22 1404473

List of values

[5, 65, 381, 1213, 3033, 6105, 12285, 20789, 33705, 51065, 79797, 110817, 161549, 216985, 284269, 367925, 489953, 609225, 785045, 952877, 1157749, 1404473]