OFFSET
1,3
FORMULA
a(n) <= A000217(n+1).
EXAMPLE
The first terms, alongside the new lines passing through (n, prime(n)), are:
n a(n) New lines passing through (n, prime(n))
- ---- --------------------------------------------
1 0 {}
2 1 {x + 1}
3 3 {2*x - 1, 3/2*x + 1/2}
4 4 {5/3*x + 1/3}
5 8 {4*x - 9, 3*x - 4, 8/3*x - 7/3, 9/4*x - 1/4}
PROG
(PARI) { L = []; for (n = 1, #p = primes(55), print1 (#L = setunion(L, Set(vector(n-1, i, polinterpolate([i, n], [p[i], p[n]]))))", "); ); }
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Aug 14 2024
STATUS
approved