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.

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

List of values

[1, 1, 2, 1, 4, 2, 1, 7, 2, 1, 10, 5, 8, 4, 2, 1, 16, 8, 4, 2, 1, 21, 2, 1, 24, 12, 6, 3, 26, 13, 18, 9, 24, 12, 6, 3, 34, 17, 22, 11, 30, 15, 28, 14, 7, 39, 8, 4, 2, 1, 50, 25, 28, 14, 7, 49, 8, 4, 2, 1, 60, 30, 15, 49, 16, 8, 4, 2, 1, 69, 2, 1, 72, 36, 18, 9, 68, 34, 17, 63, 18, 9, 74, 37, 48, 24, 12, 6, 3]