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.

A267110 If A051135(n) = 1, then a(n) = A004001(n) - 1, otherwise a(n) = n - A004001(n).

Table of values

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

List of values

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