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.

A336409 Distance from prime(n) to the nearest odd composite that is < prime(n).

Table of values

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

List of values

[2, 4, 2, 4, 2, 2, 4, 2, 2, 4, 2, 2, 2, 4, 2, 2, 4, 2, 2, 2, 2, 2, 4, 2, 4, 2, 2, 2, 2, 4, 2, 4, 2, 2, 2, 2, 2, 4, 2, 4, 2, 4, 2, 2, 2, 4, 2, 2, 4, 2, 2, 2, 2, 4, 2, 2, 4, 2, 2, 2, 4, 2, 2, 2, 2, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 2, 4, 2, 2, 2, 2, 2, 4]