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.

A109671 a(1)=1; thereafter, a(2n)=a(n), a(2n+1) is the smallest positive number such that |a(2n+1)-a(2n-1)|=a(n).

Table of values

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

List of values

[1, 1, 2, 1, 1, 2, 3, 1, 2, 1, 1, 2, 3, 3, 6, 1, 5, 2, 3, 1, 2, 1, 1, 2, 3, 3, 6, 3, 3, 6, 9, 1, 8, 5, 3, 2, 1, 3, 4, 1, 3, 2, 1, 1, 2, 1, 1, 2, 3, 3, 6, 3, 3, 6, 9, 3, 6, 3, 3, 6, 9, 9, 18, 1, 17, 8, 9, 5, 4, 3, 1, 2, 3, 1, 2, 3, 5, 4, 1, 1, 2, 3, 5, 2, 3, 1, 2, 1, 1, 2, 3, 1, 2, 1, 1, 2, 3, 3, 6, 3, 3, 6, 9, 3]