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.

A308638 a(n) is the number of k > 0 such that n-1-2*k > 0 and the points (n-1-2*k, a(n-1-2*k)), (n-1-k, a(n-1-k)) and (n-1, a(n-1)) are aligned.

Table of values

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

List of values

[0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 2, 3, 1, 1, 1, 1, 3, 0, 1, 2, 3, 1, 4, 2, 1, 3, 2, 4, 1, 1, 2, 2, 2, 3, 3, 4, 2, 3, 3, 2, 4, 4, 0, 1, 3, 2, 1, 3, 4, 5, 3, 6, 5, 3, 2, 6, 0, 3, 6, 4, 0, 3, 5, 5, 5, 4, 3, 6, 3, 3, 7, 3, 2, 3, 3, 2, 2, 1, 3, 5, 6, 4, 2, 4, 5]