OFFSET
0,9
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..10000
Rémy Sigrist, Scatterplot of the first 250000 terms
Rémy Sigrist, C program
EXAMPLE
The first terms, alongside the corresponding k's, are:
n a(n) k's
-- ---- ------------
0 0 {}
1 0 {}
2 0 {}
3 1 {1}
4 0 {}
5 1 {2}
6 1 {1}
7 0 {}
8 3 {1, 2, 3}
9 0 {}
10 2 {2, 3}
11 1 {1}
12 1 {4}
13 3 {1, 2, 3}
14 0 {}
15 4 {2, 3, 5, 7}
PROG
(C) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Jan 16 2023
STATUS
approved