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.

A250623 a(n) = floor(n*log(prime(n))) + ceiling(n*log(n)) - 2*prime(n).

Table of values

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

List of values

[-4, -2, -2, -1, -2, 0, -1, 2, 2, -1, 2, -1, 0, 3, 4, 2, 0, 4, 1, 3, 8, 7, 8, 6, 1, 2, 8, 10, 16, 18, 3, 5, 4, 9, 2, 8, 7, 6, 8, 8, 7, 13, 5, 12, 15, 22, 10, -1, 2, 9, 13, 12, 19, 12, 12, 12, 11, 18, 18, 22, 29, 22, 8, 12, 19, 23, 8, 8, 2, 9, 13, 13, 11, 11, 11]