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.

A353309 The maximum sum of base-3 digits occurring among all numbers reached after n, when iterating map x -> A353313(x) starting from x=n, or -1 if no finite cycle is ever reached.

Table of values

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

List of values

[0, 2, 18, 2, 2, 18, 18, 6, 18, 2, 18, 5, 2, 18, 6, 18, 6, 18, 18, 18, 5, 6, 18, 5, 18, 6, 18, 2, 5, 6, 18, 18, 18, 5, 18, 5, 2, 6, 18, 18, 5, 13, 6, 13, 6, 18, 8, 18, 6, 5, 6, 18, 6, 18, 18, 18, 8, 18, 5, 18, 5, 18, 5, 6, 6, 18, 18, 18, 8, 5, 13, 5, 18, 18, 13, 6, 13, 18, 18, 8, 18, 2, 18, 18, 5, 6, 13, 6, 13, 6]