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.

A013604 a(n) = 3^n - prevprime(3^n), where prevprime(x) is the largest prime < x.

Table of values

n a(n)
1 1
2 2
3 4
4 2
5 2
6 2
7 8
8 8
9 2
10 20
11 16
12 58
13 22
14 8
15 16
16 98
17 10
18 10
19 14
20 8
21 4
22 2
23 20
24 28
25 20
26 20
27 26
28 22
29 14
30 26
31 4
32 34
33 52
34 56
35 28
36 10
37 2
38 10
39 58
40 38
41 2
42 122
43 74
44 34
45 22
46 22
47 46
48 44
49 50
50 46
51 16
52 124
53 4
54 10
55 106
56 10
57 26
58 220
59 38
60 160
61 74
62 8
63 28
64 104
65 104
66 38
67 298
68 94
69 16

List of values

[1, 2, 4, 2, 2, 2, 8, 8, 2, 20, 16, 58, 22, 8, 16, 98, 10, 10, 14, 8, 4, 2, 20, 28, 20, 20, 26, 22, 14, 26, 4, 34, 52, 56, 28, 10, 2, 10, 58, 38, 2, 122, 74, 34, 22, 22, 46, 44, 50, 46, 16, 124, 4, 10, 106, 10, 26, 220, 38, 160, 74, 8, 28, 104, 104, 38, 298, 94, 16]