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.

A382822 If a(n-1) is odd, then a(n) is the smallest even integer not yet in the sequence; if a(n-1) is even, then a(n) = a(n-1)/2 if this number is not in the sequence, otherwise a(n) = 3*a(n-1)/2; a(1)=1.

Table of values

n a(n)
1 1
2 2
3 3
4 4
5 6
6 9
7 8
8 12
9 18
10 27
11 10
12 5
13 14
14 7
15 16
16 24
17 36
18 54
19 81
20 20
21 30
22 15
23 22
24 11
25 26
26 13
27 28
28 42
29 21
30 32
31 48
32 72
33 108
34 162
35 243
36 34
37 17
38 38
39 19
40 40
41 60
42 90
43 45
44 44
45 66
46 33
47 46
48 23
49 50
50 25
51 52
52 78
53 39
54 56
55 84
56 126
57 63
58 58
59 29
60 62
61 31
62 64
63 96
64 144
65 216
66 324
67 486
68 729
69 68
70 102
71 51
72 70
73 35
74 74
75 37
76 76
77 114
78 57

List of values

[1, 2, 3, 4, 6, 9, 8, 12, 18, 27, 10, 5, 14, 7, 16, 24, 36, 54, 81, 20, 30, 15, 22, 11, 26, 13, 28, 42, 21, 32, 48, 72, 108, 162, 243, 34, 17, 38, 19, 40, 60, 90, 45, 44, 66, 33, 46, 23, 50, 25, 52, 78, 39, 56, 84, 126, 63, 58, 29, 62, 31, 64, 96, 144, 216, 324, 486, 729, 68, 102, 51, 70, 35, 74, 37, 76, 114, 57]