login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A334944 For any n > 0, let w be the least positive number such that the values (a(n+1-w), ..., a(n-1), e) do not appear continuously in (a(1), ..., a(n-1)) for some e in 0..w-1; a(n) is the least such e. 3
0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 1, 1, 0, 1, 2, 1, 0, 2, 1, 1, 1, 2, 0, 1, 0, 1, 0, 2, 2, 0, 2, 0, 1, 1, 1, 0, 0, 1, 2, 2, 1, 2, 0, 0, 1, 3, 0, 0, 0, 3, 1, 0, 0, 2, 1, 0, 0, 3, 0, 1, 0, 3, 2, 0, 0, 2, 2, 2, 0, 0, 3, 2, 1, 0, 1, 1, 2, 1, 1, 0, 2, 0, 2, 1, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,7
COMMENTS
This sequence is an unbounded variant of A334941.
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, 0) did not appear,
- so a(2) = 0.
For n = 3:
- for w = 1: (0) appeared,
- for w = 2: (0, 0) appeared but (0, 1) did not,
- so a(3) = 1.
PROG
(Perl) See Links section.
CROSSREFS
See A334941 and A334956 for similar sequences.
Sequence in context: A307666 A319995 A266344 * A174875 A193510 A353337
KEYWORD
nonn
AUTHOR
Rémy Sigrist, May 17 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)