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.

A151918 a(n) = k! - prime(n) where k is the smallest number for which prime(n) <= k!.

Table of values

n a(n)
0 0
1 3
2 1
3 17
4 13
5 11
6 7
7 5
8 1
9 91
10 89
11 83
12 79
13 77
14 73
15 67
16 61
17 59
18 53
19 49
20 47
21 41
22 37
23 31
24 23
25 19
26 17
27 13
28 11
29 7
30 593
31 589
32 583
33 581
34 571
35 569
36 563
37 557
38 553
39 547
40 541
41 539
42 529
43 527
44 523
45 521
46 509
47 497
48 493
49 491
50 487
51 481
52 479
53 469
54 463
55 457
56 451
57 449
58 443
59 439
60 437

List of values

[0, 3, 1, 17, 13, 11, 7, 5, 1, 91, 89, 83, 79, 77, 73, 67, 61, 59, 53, 49, 47, 41, 37, 31, 23, 19, 17, 13, 11, 7, 593, 589, 583, 581, 571, 569, 563, 557, 553, 547, 541, 539, 529, 527, 523, 521, 509, 497, 493, 491, 487, 481, 479, 469, 463, 457, 451, 449, 443, 439, 437]