OFFSET
1,3
COMMENTS
If a(n) = 0, then a(n+1) = 1 and a(n+2) >= 2.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program for A338773
EXAMPLE
The first terms, alongside the corresponding k's, are:
n a(n) Corresponding k's
-- ---- -----------------
1 0 {}
2 1 {1}
3 2 {1, 2}
4 0 {}
5 1 {4}
6 4 {1, 2, 4, 5}
7 1 {6}
8 3 {1, 2, 7}
9 3 {4, 5, 7}
10 0 {}
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Nov 08 2020
STATUS
approved