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.

A301636 Square array T(n, k) read by antidiagonals upwards, n >= 0 and k >= 0: T(n, k) = square of the distance from n + k*i to nearest square of a Gaussian integer (where i denotes the root of -1 with positive imaginary part).

Table of values

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

List of values

[0, 0, 1, 1, 1, 0, 1, 2, 1, 1, 0, 2, 4, 2, 4, 1, 1, 4, 2, 4, 9, 4, 2, 4, 1, 1, 5, 4, 4, 5, 5, 2, 0, 2, 5, 1, 1, 5, 8, 5, 1, 1, 5, 2, 0, 0, 2, 8, 10, 4, 2, 4, 5, 1, 1, 1, 1, 5, 10, 8, 5, 5, 9, 4, 2, 4, 4, 2, 4, 9, 5, 5, 8, 10, 9, 5, 5, 9, 9, 5, 5, 9, 4, 2, 4, 10]