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.

A329068 a(1) = 1; thereafter if the sum of digits of all previous terms up to a(n) is even then a(n+1) = (sum of digits of all previous terms)/2, otherwise a(n+1) = (sum of digits of all previous terms)*3 + 1.

Table of values

n a(n)
1 1
2 4
3 16
4 6
5 9
6 82
7 112
8 124
9 24
10 27
11 190
12 220
13 232
14 42
15 45
16 298
17 59
18 66
19 72
20 460
21 490
22 88
23 96
24 622
25 652
26 115
27 712
28 742
29 130
30 132
31 135
32 838
33 149
34 156
35 162
36 1000
37 167
38 174
39 180
40 1108
41 1138
42 196
43 204
44 207
45 1270
46 1300
47 1312
48 222
49 225
50 1378
51 239
52 246
53 252
54 1540
55 1570
56 268
57 276

List of values

[1, 4, 16, 6, 9, 82, 112, 124, 24, 27, 190, 220, 232, 42, 45, 298, 59, 66, 72, 460, 490, 88, 96, 622, 652, 115, 712, 742, 130, 132, 135, 838, 149, 156, 162, 1000, 167, 174, 180, 1108, 1138, 196, 204, 207, 1270, 1300, 1312, 222, 225, 1378, 239, 246, 252, 1540, 1570, 268, 276]