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.

A241424 Largest number k > 0 such that n - k! is prime, or 0 if no such k exists.

Table of values

n a(n)
1 0
2 0
3 1
4 2
5 2
6 1
7 2
8 3
9 3
10 0
11 3
12 1
13 3
14 1
15 2
16 0
17 3
18 1
19 3
20 1
21 2
22 0
23 3
24 1
25 3
26 4
27 4
28 0
29 4
30 1
31 4
32 1
33 2
34 0
35 4
36 0
37 4
38 1
39 2
40 0
41 4
42 1
43 4
44 1
45 2
46 0
47 4
48 1
49 3
50 0
51 0
52 0
53 4
54 1
55 4
56 0
57 0
58 0
59 3
60 1
61 4
62 1
63 2
64 0
65 4
66 0
67 4
68 1
69 2
70 0
71 4
72 1
73 3
74 1
75 2
76 0
77 4
78 0
79 3
80 1
81 2
82 0
83 4
84 1
85 4
86 0
87 0
88 0
89 3
90 1
91 4
92 0
93 0
94 0
95 4

List of values

[0, 0, 1, 2, 2, 1, 2, 3, 3, 0, 3, 1, 3, 1, 2, 0, 3, 1, 3, 1, 2, 0, 3, 1, 3, 4, 4, 0, 4, 1, 4, 1, 2, 0, 4, 0, 4, 1, 2, 0, 4, 1, 4, 1, 2, 0, 4, 1, 3, 0, 0, 0, 4, 1, 4, 0, 0, 0, 3, 1, 4, 1, 2, 0, 4, 0, 4, 1, 2, 0, 4, 1, 3, 1, 2, 0, 4, 0, 3, 1, 2, 0, 4, 1, 4, 0, 0, 0, 3, 1, 4, 0, 0, 0, 4]