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.

A265359 Spiralwise distance to the nearest inner neighbor in Ulam-style square-spirals using zero-based indexing: a(0) = 0, for n >= 1, a(n) = n - A265409(n).

Table of values

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

List of values

[0, 1, 2, 3, 4, 5, 6, 7, 7, 8, 9, 9, 10, 11, 11, 11, 12, 13, 13, 13, 14, 15, 15, 15, 15, 16, 17, 17, 17, 17, 18, 19, 19, 19, 19, 19, 20, 21, 21, 21, 21, 21, 22, 23, 23, 23, 23, 23, 23, 24, 25, 25, 25, 25, 25, 25, 26, 27, 27, 27, 27, 27, 27, 27, 28, 29, 29, 29, 29, 29, 29, 29, 30, 31, 31, 31, 31, 31, 31, 31, 31, 32]