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.

A228108 Number of pairs (x, y) with 0 <= x, y <= n such that the distance between two points is a positive integer.

Table of values

n a(n)
1 4
2 18
3 48
4 108
5 204
6 342
7 528
8 780
9 1100
10 1494
11 1968
12 2576
13 3292
14 4122
15 5104
16 6240
17 7524
18 8962
19 10560
20 12348
21 14324
22 16494
23 18864
24 21600
25 24572
26 27786
27 31248
28 34996
29 39012
30 43362
31 48000
32 52968
33 58244
34 63834
35 69840
36 76308
37 83132
38 90318
39 97872
40 105972
41 114468
42 123378
43 132704
44 142500
45 152892
46 163742
47 175056

List of values

[4, 18, 48, 108, 204, 342, 528, 780, 1100, 1494, 1968, 2576, 3292, 4122, 5104, 6240, 7524, 8962, 10560, 12348, 14324, 16494, 18864, 21600, 24572, 27786, 31248, 34996, 39012, 43362, 48000, 52968, 58244, 63834, 69840, 76308, 83132, 90318, 97872, 105972, 114468, 123378, 132704, 142500, 152892, 163742, 175056]