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.

A275117 Direction where Langton's ant is looking after n moves: 1 if looking in starting direction, 2 if looking 90 degrees clockwise from starting direction, 3 if looking 90 degrees counterclockwise from starting direction, or 4 if looking in direction opposite to starting direction.

Table of values

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

List of values

[1, 2, 4, 3, 1, 3, 1, 2, 4, 3, 4, 3, 1, 2, 4, 2, 1, 3, 4, 3, 4, 3, 1, 2, 4, 2, 4, 3, 1, 2, 1, 3, 4, 2, 4, 2, 4, 3, 1, 2, 1, 2, 4, 3, 1, 3, 4, 2, 1, 2, 1, 3, 1, 2, 1, 2, 4, 3, 1, 3, 4, 2, 1, 2, 1, 2, 4, 3, 1, 3, 1, 2, 4, 3, 4, 2, 1, 3, 1, 3, 1, 2, 4, 3, 4, 3, 1]