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.

A274369 Let the starting square of Langton's ant have coordinates (0, 0), with the ant looking in negative x-direction. a(n) is the x-coordinate of the ant after n moves.

Table of values

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

List of values

[0, 0, 1, 1, 0, 0, -1, -1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 2, 2, 1, 1, 2, 2, 3, 3, 2, 2, 1, 1, 2, 2, 3, 3, 4, 4, 3, 3, 2, 2, 3, 3, 2, 2, 3, 3, 2, 2, 1, 1, 0, 0, -1, -1, 0, 0, -1, -1, 0, 0, -1, -1, -2, -2, -1, -1, -2, -2, -3, -3, -2, -2, -1, -1, -2, -2, -3]