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.

A261301 a(n+1) = abs(a(n) - gcd(a(n), n)), a(1) = 1.

Table of values

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

List of values

[1, 0, 2, 1, 0, 5, 4, 3, 2, 1, 0, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 47, 46, 45, 40, 39, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 79, 78, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60]