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.

A318827 a(n) = n - gcd(n - 1, phi(n)).

Table of values

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

List of values

[0, 1, 1, 3, 1, 5, 1, 7, 7, 9, 1, 11, 1, 13, 13, 15, 1, 17, 1, 19, 17, 21, 1, 23, 21, 25, 25, 25, 1, 29, 1, 31, 29, 33, 33, 35, 1, 37, 37, 39, 1, 41, 1, 43, 41, 45, 1, 47, 43, 49, 49, 49, 1, 53, 53, 55, 53, 57, 1, 59, 1, 61, 61, 63, 49, 61, 1, 67, 65, 67, 1, 71, 1, 73, 73, 73, 73, 77, 1, 79, 79, 81, 1, 83, 81, 85, 85, 87, 1, 89, 73]