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.

A118310 a(n) = gcd(n,m(n)), where m(n) is the n-th nonprime positive integer (1 or composite).

Table of values

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

List of values

[1, 2, 3, 4, 1, 2, 1, 2, 3, 2, 1, 4, 1, 2, 3, 1, 1, 9, 1, 10, 1, 11, 1, 1, 1, 2, 3, 4, 1, 2, 1, 2, 3, 1, 5, 3, 1, 2, 1, 8, 1, 2, 1, 2, 9, 2, 1, 6, 1, 1, 1, 4, 1, 3, 1, 7, 3, 2, 1, 2, 1, 1, 1, 1, 1, 6, 1, 4, 3, 2, 1, 24, 1, 1, 25, 2, 1, 3, 1, 4, 1, 1, 1, 6, 5, 2, 3, 2, 1, 30, 1, 2, 3, 2, 5, 6, 1, 1, 1, 4, 1, 2, 1]