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.

A367646 a(0) = 0, a(1) = 1; for n > 1, a(n) = a(n-1) - GCT(a(n-2),a(n-1)) if nonnegative and not already in the sequence, else a(n) = a(n-1) + CT(a(n-2),a(n-1)), where CT(a,b) is the Comma transform (cf. A367360) of a and b, while GCT(a,b) is the largest possible generalized Command transform (cf. A367635) where at least one digit of both a and b can be chosen.

Table of values

n a(n)
0 0
1 1
2 2
3 14
4 35
5 78
6 21
7 103
8 92
9 53
10 28
11 60
12 146
13 132
14 71
15 44
16 30
17 73
18 66
19 102
20 41
21 17
22 6
23 82
24 150
25 129
26 117
27 26
28 98
29 29
30 111
31 20
32 8
33 16
34 97
35 166
36 95
37 164
38 113
39 72
40 109
41 88
42 186
43 105
44 166
45 115
46 54
47 109
48 68
49 164
50 83
51 131
52 100
53 89
54 81
55 179
56 62
57 158
58 137
59 56
60 131
61 70
62 87
63 79
64 156
65 65
66 131
67 80

List of values

[0, 1, 2, 14, 35, 78, 21, 103, 92, 53, 28, 60, 146, 132, 71, 44, 30, 73, 66, 102, 41, 17, 6, 82, 150, 129, 117, 26, 98, 29, 111, 20, 8, 16, 97, 166, 95, 164, 113, 72, 109, 88, 186, 105, 166, 115, 54, 109, 68, 164, 83, 131, 100, 89, 81, 179, 62, 158, 137, 56, 131, 70, 87, 79, 156, 65, 131, 80]