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.

A372748 a(1) = 3; for n > 1, a(n) = a(n - 1) if GCD(n - 1, a(n - 1)) = 1, otherwise a(n) = n - 1 - a(n - 1) / GCD(n - 1, a(n - 1)).

Table of values

n a(n)
1 3
2 3
3 3
4 2
5 3
6 3
7 5
8 5
9 5
10 5
11 9
12 9
13 9
14 9
15 9
16 12
17 13
18 13
19 13
20 13
21 13
22 13
23 13
24 13
25 13
26 13
27 25
28 25
29 25
30 25
31 25
32 25
33 25
34 25
35 25
36 30
37 31
38 31
39 31
40 31
41 31
42 31
43 31
44 31
45 31
46 31
47 31
48 31
49 31
50 31
51 31
52 31
53 31
54 31
55 31
56 31
57 31
58 31
59 31
60 31
61 31
62 31
63 61
64 61
65 61
66 61
67 61
68 61
69 61
70 61

List of values

[3, 3, 3, 2, 3, 3, 5, 5, 5, 5, 9, 9, 9, 9, 9, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 25, 25, 25, 25, 25, 25, 25, 25, 25, 30, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 61, 61, 61, 61, 61, 61, 61, 61]