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.

A345440 Represent the ring R = {x+y*sqrt(-2): x, y rational integers} by the cells centered at the points (x,y) of a square grid, as in A345437; number the cells of the grid along a counterclockwise square spiral, with the cells at (0,0) and (1,0) numbered 0, 1; then a(n) is the norm x^2+2*y^2 of the element of R occupying the n-th cell.

Table of values

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

List of values

[0, 1, 3, 2, 3, 1, 3, 2, 3, 6, 4, 6, 12, 9, 8, 9, 12, 6, 4, 6, 12, 9, 8, 9, 12, 17, 11, 9, 11, 17, 27, 22, 19, 18, 19, 22, 27, 17, 11, 9, 11, 17, 27, 22, 19, 18, 19, 22, 27, 34, 24, 18, 16, 18, 24, 34, 48, 41, 36, 33, 32, 33, 36, 41, 48, 34, 24, 18, 16, 18, 24]