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.

A266341 If A036987(n) = 1, a(n) = n - A053644(n), otherwise a(n) = n - A053644(n) + 2^(A063250(n)-1).

Table of values

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

List of values

[0, 0, 1, 1, 2, 3, 3, 3, 4, 5, 6, 7, 6, 7, 7, 7, 8, 9, 10, 11, 12, 13, 14, 15, 12, 13, 14, 15, 14, 15, 15, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 24, 25, 26, 27, 28, 29, 30, 31, 28, 29, 30, 31, 30, 31, 31, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50]