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.

A071574 If n = k-th prime, a(n) = 2*a(k) + 1; if n = k-th nonprime, a(n) = 2*a(k).

Table of values

n a(n)
1 0
2 1
3 3
4 2
5 7
6 6
7 5
8 4
9 14
10 12
11 15
12 10
13 13
14 8
15 28
16 24
17 11
18 30
19 9
20 20
21 26
22 16
23 29
24 56
25 48
26 22
27 60
28 18
29 25
30 40
31 31
32 52
33 32
34 58
35 112
36 96
37 21
38 44
39 120
40 36
41 27
42 50
43 17
44 80
45 62
46 104
47 57
48 64
49 116
50 224
51 192
52 42
53 49
54 88
55 240
56 72
57 54
58 100
59 23
60 34
61 61
62 160
63 124
64 208
65 114
66 128
67 19

List of values

[0, 1, 3, 2, 7, 6, 5, 4, 14, 12, 15, 10, 13, 8, 28, 24, 11, 30, 9, 20, 26, 16, 29, 56, 48, 22, 60, 18, 25, 40, 31, 52, 32, 58, 112, 96, 21, 44, 120, 36, 27, 50, 17, 80, 62, 104, 57, 64, 116, 224, 192, 42, 49, 88, 240, 72, 54, 100, 23, 34, 61, 160, 124, 208, 114, 128, 19]