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.

A049711 a(n) = n - prevprime(n).

Table of values

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

List of values

[1, 1, 2, 1, 2, 1, 2, 3, 4, 1, 2, 1, 2, 3, 4, 1, 2, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 1, 2, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 1, 2, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 1, 2, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 1, 2, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6]