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.

A097927 If a(n-1) is divisible by 2 then a(n) = a(n-1)/2. If a(n-1) is not divisible by 2 then a(n) = 47-(a(n-1)+1)/2; a(0)=1.

Table of values

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

List of values

[1, 46, 23, 35, 29, 32, 16, 8, 4, 2, 1, 46, 23, 35, 29, 32, 16, 8, 4, 2, 1, 46, 23, 35, 29, 32, 16, 8, 4, 2, 1, 46, 23, 35, 29, 32, 16, 8, 4, 2, 1, 46, 23, 35, 29, 32, 16, 8, 4, 2, 1, 46, 23, 35, 29, 32, 16, 8, 4, 2, 1, 46, 23, 35, 29, 32, 16, 8, 4, 2, 1, 46, 23, 35, 29, 32, 16, 8, 4, 2, 1, 46, 23]