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.

A377919 a(0) = 0; thereafter a(n) is the lexicographically earliest missing nonnegative integer such that the digits in the sequence (ignoring the commas) alternate in parity.

Table of values

n a(n)
0 0
1 1
2 2
3 10
4 101
5 21
6 210
7 1010
8 10101
9 2101
10 21010
11 101010
12 1010101
13 210101
14 2101010
15 10101010
16 101010101
17 21010101
18 210101010
19 1010101010
20 10101010101
21 2101010101
22 21010101010
23 101010101010
24 1010101010101
25 210101010101
26 2101010101010
27 10101010101010
28 101010101010101
29 21010101010101
30 210101010101010
31 1010101010101010
32 10101010101010101
33 2101010101010101
34 21010101010101010
35 101010101010101010

List of values

[0, 1, 2, 10, 101, 21, 210, 1010, 10101, 2101, 21010, 101010, 1010101, 210101, 2101010, 10101010, 101010101, 21010101, 210101010, 1010101010, 10101010101, 2101010101, 21010101010, 101010101010, 1010101010101, 210101010101, 2101010101010, 10101010101010, 101010101010101, 21010101010101, 210101010101010, 1010101010101010, 10101010101010101, 2101010101010101, 21010101010101010, 101010101010101010]