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.

A358787 a(1)=1; let x=gcd(a(n-1),n); for n > 1, a(n) = a(n-1) + n if x=1 or a(n-1)/x=1, otherwise a(n) = a(n-1)/x.

Table of values

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

List of values

[1, 3, 6, 3, 8, 4, 11, 19, 28, 14, 25, 37, 50, 25, 5, 21, 38, 19, 38, 19, 40, 20, 43, 67, 92, 46, 73, 101, 130, 13, 44, 11, 44, 22, 57, 19, 56, 28, 67, 107, 148, 74, 117, 161, 206, 103, 150, 25, 74, 37, 88, 22, 75, 25, 5, 61, 118, 59, 118, 59, 120, 60, 20, 5, 70, 35, 102, 3, 72, 36]