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.

A071622 a(n) = (-1)*Sum_{k=1..n} (-1)^floor((4/3)^k).

Table of values

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

List of values

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