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.

A065031 In the decimal expansion of n, replace each odd digit with 1 and each even digit with 2.

Table of values

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

List of values

[2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 12, 11, 12, 11, 12, 11, 12, 11, 12, 11, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 12, 11, 12, 11, 12, 11, 12, 11, 12, 11, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 12, 11, 12, 11, 12, 11, 12, 11, 12, 11, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21]