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.

A115766 Distance from the n-th prime to the nearest semiprime.

Table of values

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

List of values

[2, 1, 1, 1, 1, 1, 2, 2, 1, 3, 2, 1, 2, 3, 1, 2, 1, 1, 2, 2, 1, 2, 1, 2, 2, 5, 3, 1, 2, 2, 2, 2, 3, 2, 3, 4, 1, 2, 1, 4, 1, 2, 3, 1, 3, 2, 2, 2, 1, 3, 2, 2, 4, 2, 2, 1, 2, 3, 1, 3, 4, 2, 2, 2, 1, 2, 2, 2, 1, 3, 2, 1, 2, 2, 2, 1, 2, 1, 2, 2, 2, 1, 4, 4, 2, 2, 2]