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.

A161888 a(n) = the smallest positive integer that does not divide n, and is such that sum{k=1 to n} a(k) is coprime to n.

Table of values

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

List of values

[2, 3, 2, 6, 3, 7, 2, 6, 4, 4, 2, 8, 2, 4, 4, 6, 2, 4, 2, 6, 4, 4, 2, 14, 3, 3, 4, 8, 2, 4, 2, 6, 2, 4, 2, 8, 2, 4, 4, 6, 2, 4, 2, 6, 6, 4, 2, 10, 2, 4, 2, 6, 2, 4, 3, 3, 4, 4, 2, 8, 2, 4, 4, 6, 3, 5, 2, 6, 2, 8, 2, 10, 2, 4, 4, 6, 3, 9, 2, 6, 4, 4, 2, 8, 3, 3, 4, 6, 2, 4, 2, 6, 4, 4, 3, 5, 2, 4, 2, 8, 2, 8, 2, 6, 2]