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.

A162154 Odd-indexed terms are the number of consecutive prime numbers until a composite, even-indexed terms are the number of consecutive composite numbers until a prime.

Table of values

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

List of values

[2, 1, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 5, 1, 1, 1, 5, 1, 3, 1, 1, 1, 3, 1, 5, 1, 5, 1, 1, 1, 5, 1, 3, 1, 1, 1, 5, 1, 3, 1, 5, 1, 7, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 13, 1, 3, 1, 5, 1, 1, 1, 9, 1, 1, 1, 5, 1, 5, 1, 3, 1, 5, 1, 5, 1, 1, 1, 9, 1, 1, 1, 3, 1, 1, 1, 11, 1, 11, 1, 3, 1, 1, 1, 3, 1, 5, 1, 1, 1, 9]