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.

A346150 Alternating runs of primes and composites, with the runs of primes being of composite length and the runs of composites being of prime length.

Table of values

n a(n)
1 2
2 4
3 6
4 3
5 5
6 7
7 11
8 8
9 9
10 10
11 13
12 17
13 19
14 23
15 29
16 31
17 12
18 14
19 15
20 16
21 18
22 37
23 41
24 43
25 47
26 53
27 59
28 61
29 67
30 20
31 21
32 22
33 24
34 25
35 26
36 27
37 71
38 73
39 79
40 83
41 89
42 97
43 101
44 103
45 107
46 28
47 30
48 32
49 33
50 34
51 35
52 36
53 38
54 39
55 40
56 42

List of values

[2, 4, 6, 3, 5, 7, 11, 8, 9, 10, 13, 17, 19, 23, 29, 31, 12, 14, 15, 16, 18, 37, 41, 43, 47, 53, 59, 61, 67, 20, 21, 22, 24, 25, 26, 27, 71, 73, 79, 83, 89, 97, 101, 103, 107, 28, 30, 32, 33, 34, 35, 36, 38, 39, 40, 42]