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.

A056140 a(n) = n^2 - previousprime(n)*nextprime(n), for n>2.

Table of values

n a(n)
3 -1
4 1
5 4
6 1
7 -6
8 -13
9 4
10 23
11 30
12 1
13 -18
14 -25
15 4
16 35
17 42
18 1
19 -30
20 -37
21 4
22 47
23 -22
24 -91
25 -42
26 9
27 62
28 117
29 128
30 1
31 -112
32 -123
33 -58
34 9
35 78
36 149
37 98
38 -73
39 4
40 83
41 90
42 1
43 -78
44 -85
45 4
46 95
47 -70
48 -187
49 -90
50 9
51 110
52 213
53 36
54 -211
55 -102
56 9
57 122
58 237
59 248
60 1
61 -232
62 -243

List of values

[-1, 1, 4, 1, -6, -13, 4, 23, 30, 1, -18, -25, 4, 35, 42, 1, -30, -37, 4, 47, -22, -91, -42, 9, 62, 117, 128, 1, -112, -123, -58, 9, 78, 149, 98, -73, 4, 83, 90, 1, -78, -85, 4, 95, -70, -187, -90, 9, 110, 213, 36, -211, -102, 9, 122, 237, 248, 1, -232, -243]