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.

A124218 a(n) is the m-th positive integer which is coprime to n, where phi(n) is number of positive integers which are <= n and are coprime to n, d(n) is the number of positive divisors of n and m = phi(n) if phi(n)|d(n), else m = d(n) mod phi(n).

Table of values

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

List of values

[1, 1, 2, 1, 2, 5, 2, 7, 4, 9, 2, 5, 2, 9, 7, 9, 2, 17, 2, 13, 5, 7, 2, 23, 3, 7, 5, 13, 2, 29, 2, 11, 5, 7, 4, 25, 2, 7, 5, 19, 2, 25, 2, 13, 11, 7, 2, 29, 3, 13, 5, 11, 2, 23, 4, 17, 5, 7, 2, 43, 2, 7, 10, 13, 4, 25, 2, 11, 5, 23, 2, 35, 2, 7, 11, 11, 4, 25, 2, 23, 7, 7, 2, 41, 4, 7, 5, 17, 2, 43, 4]