OFFSET
1,6
COMMENTS
This sequence is a variant of A334944.
Will every finite sequence of nonnegative integers appear?
LINKS
EXAMPLE
For n = 1:
- for w = 1: (0) did not appear,
- so a(1) = 0.
For n = 2:
- for w = 1: (0) appeared,
- for w = 2: (0, 1) did not appear,
- so a(2) = 1.
For n = 3:
- for w = 1: (0) appeared,
- for w = 2: (1, 1) did not appear,
- so a(3) = 1.
PROG
(Perl) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, May 17 2020
STATUS
approved