OFFSET
1,4
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program
EXAMPLE
The first terms, alongside the corresponding slopes, are:
n a(n) Slopes
-- ---- -----------------------------------------------
1 0 {}
2 0 {}
3 1 {0}
4 2 {1/2, 1}
5 1 {2/3}
6 3 {-1, 1/4, 1/3}
7 3 {3/5, 3/4, 2}
8 0 {}
9 5 {-3, -3/2, -1/2, -1/3, -1/5}
10 3 {5/8, 5/7, 5}
11 6 {-2, 1/6, 2/7, 3/8, 2/5, 3/2}
12 3 {4/7, 5/6, 3}
13 5 {-2/3, 1/8, 2/9, 3/11, 3/10}
14 2 {5/12, 5/11}
15 8 {-4/3, -3/5, -1/4, -1/7, -1/8, 1/11, 1/9, 2/13}
PROG
(PARI) \\ See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Aug 17 2024
STATUS
approved