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.

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

Table of values

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

List of values

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