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.

A066805 a(n) is the least k such that n + Sum_{i=1..k} A018252(i) is prime; or 0 if none exists.

Table of values

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

List of values

[1, 1, 5, 1, 6, 1, 8, 2, 5, 1, 7, 1, 5, 2, 5, 1, 7, 1, 5, 3, 6, 1, 6, 2, 5, 2, 13, 1, 6, 1, 5, 2, 5, 4, 6, 1, 8, 2, 5, 1, 6, 1, 5, 10, 5, 1, 7, 2, 8, 3, 5, 1, 7, 2, 5, 2, 7, 1, 6, 1, 5, 2, 6, 4, 6, 1, 8, 2, 5, 1, 6, 1, 5, 2, 5, 27, 7, 1, 5, 11, 5, 1, 15, 2, 5]