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.

A373797 a(n) = maximal k such that there exists a sequence S = [s_1, s_2, ..., s_k] with s_i distinct and in the range 1 <= s_i <= n such that if any s_i is divisible by a prime p, then p also divides exactly one of s_{i-1} and s_{i+1}.

Table of values

n a(n)
1 1
2 1
3 1
4 3
5 3
6 4
7 4
8 6
9 6
10 8
11 8
12 10
13 10
14 11
15 11
16 13
17 13
18 14
19 14
20 16
21 16
22 17
23 17
24 19
25 19
26 21
27 22
28 24
29 24
30 25
31 25

List of values

[1, 1, 1, 3, 3, 4, 4, 6, 6, 8, 8, 10, 10, 11, 11, 13, 13, 14, 14, 16, 16, 17, 17, 19, 19, 21, 22, 24, 24, 25, 25]