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.

A093008 Smallest number of 1's to append to the binary representation of n such that primes become nonprimes and nonprimes become primes.

Table of values

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

List of values

[1, 5, 2, 2, 4, 1, 1, 1, 1, 2, 3, 3, 1, 1, 1, 2, 1, 1, 1, 1, 1, 4, 2, 3, 2, 1, 3, 4, 2, 1, 1, 2, 1, 2, 1, 1, 1, 3, 1, 2, 3, 7, 1, 1, 3, 4, 1, 1, 2, 1, 1, 2, 2, 1, 2, 1, 3, 12, 1, 3, 1, 2, 1, 4, 1, 5, 1, 1, 1, 2, 1, 7, 1, 1, 1, 2, 2, 1, 1, 3, 1, 2, 2, 5, 6, 1, 23, 4, 6, 1, 2, 3, 3, 2, 1, 1, 1, 1, 1, 10]