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.

A227542 a(n) is the number of all terms preceding a(n-1) that have the same even-odd parity as a(n-1).

Table of values

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

List of values

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