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.

A301639 a(n) = square of the distance from n to nearest cube of a Gaussian integer.

Table of values

n a(n)
0 0
1 0
2 1
3 4
4 8
5 9
6 4
7 1
8 0
9 1
10 4
11 4
12 5
13 8
14 13
15 20
16 29
17 40
18 53
19 64
20 49
21 36
22 25
23 16
24 9
25 4
26 1
27 0
28 1
29 4
30 9
31 16
32 25
33 36
34 49
35 64
36 81
37 100
38 121
39 130
40 117
41 106
42 97
43 90
44 85
45 82
46 81
47 82
48 85
49 90
50 97
51 106
52 117
53 121
54 100
55 81
56 64
57 49
58 36
59 25
60 16
61 9
62 4
63 1
64 0
65 1
66 4
67 9
68 16
69 25

List of values

[0, 0, 1, 4, 8, 9, 4, 1, 0, 1, 4, 4, 5, 8, 13, 20, 29, 40, 53, 64, 49, 36, 25, 16, 9, 4, 1, 0, 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 130, 117, 106, 97, 90, 85, 82, 81, 82, 85, 90, 97, 106, 117, 121, 100, 81, 64, 49, 36, 25, 16, 9, 4, 1, 0, 1, 4, 9, 16, 25]