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.

A356997 a(n) = b(n) - b(n - b(n - b(n))) for n >= 2, where b(n) = A356988(n).

Table of values

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

List of values

[0, 1, 1, 0, 1, 1, 1, 1, 2, 2, 2, 1, 1, 2, 3, 3, 3, 3, 3, 2, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 5, 4, 3, 3, 3, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 7, 6, 5, 5, 5, 5, 5, 5, 6, 7, 8, 9, 10, 11, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 12, 11, 10, 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 10, 11]