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.

A115304 a(n) = n if n < 4, otherwise 4*a(floor(n/4)) + 3 - n mod 4.

Table of values

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

List of values

[1, 2, 3, 7, 6, 5, 4, 11, 10, 9, 8, 15, 14, 13, 12, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 127, 126, 125, 124, 123, 122, 121]