The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A330023 a(n) counts the cube-words immediately before a(n), with a(1) = 0. 1
0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,25
COMMENTS
Only the cube-words are counted, not the higher powers. The segment 1,1,1,1 will thus be followed by 0, and the same 0 will follow the segment 0,1,0,1,0,1,0,1,0,1,0,1 (because the pattern 0,1 is present six times instead of the required three, and because we don't accept to split 0,1,0,1,0,1,0,1,0,1,0,1 in order to form three 0,1,0,1 substrings).
Overlaps are admitted: the term "2" in the segment 1,0,0,0,1,0,0,0,1,0,0,0,2 counts the cube 000 and the cube 100010001000.
Needs a large b-file! - N. J. A. Sloane, Dec 18 2019
LINKS
EXAMPLE
S = 0, ... We start with a(1) = 0 as this 0 means: "I don't see any cube on my immediate left";
S = 0,0, ... We extend S with a(2) = 0 as this 0 says the same as above: "I don't see any cube on my immediate left".
S = 0,0,0, ... Same as above - note that no other integer would fit without contradiction [a(3) = 1, for instance, would say that there is one cube on the immediate left of "1", which would not the case because 00 is a square, not a cube].
S = 0,0,0,1, ... As we now see the cube 000, S is extended with a(4) = 1.
S = 0,0,0,1,0, ... No cube in sight, we thus extend S with a(5) = 0 [the word "immediate" is important: "There is no cube on the immediate left of a(5) = 0" - indeed the first cube 000 is separated from a(5) by a(4) = 1];
S = 0,0,0,1,0,0, ... No visible cube again, so a(6) = 0;
S = 0,0,0,1,0,0,0, ... No visible cube again, so a(7) = 0;
S = 0,0,0,1,0,0,0,1 ... a(8) = 1 as this "1" is immediately after the cube {000}; etc.
CROSSREFS
Cf. A090822, A329447. The sequence A330005 does the same with squares.
Sequence in context: A258059 A093956 A160383 * A328891 A101436 A366247
KEYWORD
base,nonn
AUTHOR
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 May 28 16:29 EDT 2024. Contains 372916 sequences. (Running on oeis4.)