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.

A381466 a(0) = 4; for n > 0, a(n) = a(n-1) + n if G = 1 or a(n) = n/G if G > 1, where G = gcd(a(n-1), n).

Table of values

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

List of values

[4, 5, 7, 10, 2, 7, 13, 20, 2, 11, 21, 32, 3, 16, 7, 22, 8, 25, 43, 62, 10, 31, 53, 76, 6, 31, 57, 9, 37, 66, 5, 36, 8, 41, 75, 7, 43, 80, 19, 58, 20, 61, 103, 146, 22, 67, 113, 160, 3, 52, 25, 76, 13, 66, 9, 64, 7, 64, 29, 88, 15, 76, 31, 94, 32, 97, 163, 230, 34, 103, 173, 244]