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.

A260965 Smallest number r>=3 such that for k>=r the number k - 3 + prime(n) can be represented in the form x_1*...*x_k + x_1 + ... + x_k, where 1 <= x_1 <= ... <= x_k, or a(n)=0 if there is no such r.

Table of values

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

List of values

[0, 0, 0, 0, 0, 0, 0, 3, 4, 3, 0, 0, 4, 0, 3, 0, 3, 3, 0, 4, 3, 3, 4, 3, 4, 0, 3, 5, 3, 4, 3, 3, 3, 3, 3, 3, 4, 3, 4, 3, 3, 0, 0, 5, 3, 3, 3, 0, 3, 3, 4, 3, 3, 0, 3, 3, 3, 3, 3, 3, 4, 3, 3, 3, 3, 4, 3, 3, 4, 3, 3, 3, 3, 0, 3, 3, 3, 3, 3, 3, 3, 0, 5, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 3, 3, 3, 4, 3, 3, 3, 3, 4, 3, 3, 4, 3, 3, 3]