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.

A321154 a(n) = s(n)*r - s(2^r + n), where s(n) = A002487(n) starting at n = 0 and r = 1 + floor(log_2(n)).

Table of values

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

List of values

[-1, -1, 0, 1, 1, 4, 3, 5, 2, 9, 7, 12, 5, 13, 8, 11, 3, 16, 13, 23, 10, 27, 17, 24, 7, 25, 18, 29, 11, 26, 15, 19, 4, 25, 21, 38, 17, 47, 30, 43, 13, 48, 35, 57, 22, 53, 31, 40, 9, 41, 32, 55, 23, 60, 37, 51, 14, 47, 33, 52, 19, 43, 24, 29, 5, 36, 31, 57, 26, 73, 47]