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.

A330631 a(n+1) = a(n-a(n))+1 if a(n) > a(n-1), otherwise a(n+1) = 2*a(n); a(1) = a(2) = 1.

Table of values

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

List of values

[1, 1, 2, 2, 4, 2, 4, 3, 6, 3, 6, 5, 10, 3, 6, 7, 7, 14, 3, 6, 4, 8, 4, 8, 8, 16, 4, 8, 7, 14, 8, 16, 8, 16, 15, 30, 3, 6, 17, 9, 18, 5, 10, 9, 18, 5, 10, 4, 8, 19, 9, 18, 17, 34, 7, 14, 6, 12, 6, 12, 5, 10, 19, 10, 20, 19, 38, 8, 16, 18, 19, 19, 38, 16, 32]