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.

A167678 Replace prime digits with 2 and nonprime digits with 1.

Table of values

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

List of values

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