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.

A334942 a(1) = 1, a(n) = a(n-1) / gcd(a(n-1),n) if this gcd is > 1, else a(n) = 2*a(n-1) + 4.

Table of values

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

List of values

[1, 6, 2, 1, 6, 1, 6, 3, 1, 6, 16, 4, 12, 6, 2, 1, 6, 1, 6, 3, 1, 6, 16, 2, 8, 4, 12, 3, 10, 1, 6, 3, 1, 6, 16, 4, 12, 6, 2, 1, 6, 1, 6, 3, 1, 6, 16, 1, 6, 3, 1, 6, 16, 8, 20, 5, 14, 7, 18, 3, 10, 5, 14, 7, 18, 3, 10, 5, 14, 1, 6, 1, 6, 3, 1, 6, 16, 8, 20, 1, 6]