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.

A359803 a(1) = 1; for n > 1, a(n) = n-1 if a(n-1) = 1, otherwise, apply the '3x+1' function to a(n-1).

Table of values

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

List of values

[1, 1, 2, 1, 4, 2, 1, 7, 22, 11, 34, 17, 52, 26, 13, 40, 20, 10, 5, 16, 8, 4, 2, 1, 24, 12, 6, 3, 10, 5, 16, 8, 4, 2, 1, 35, 106, 53, 160, 80, 40, 20, 10, 5, 16, 8, 4, 2, 1, 49, 148, 74, 37, 112, 56, 28, 14, 7, 22, 11, 34, 17, 52, 26, 13, 40, 20, 10, 5, 16, 8]