OFFSET
1,1
COMMENTS
In other words: Number of 0's before the first '1' and then between two consecutive '1's in A282317.
This sequence is also cubefree: A cube xxx in this sequence would correspond to a cube yyy in A282317, where y is obtained by "decoding" x, i.e., replacing each term x[i] by a run of x[i] "0"s followed by a "1".
EXAMPLE
Sequence A282317 starts with a(1) = 2 '0's, then a '1', then again a(2) = 2 '0's followed by a '1' then a(3) = 1 '0's followed by a '1'. Then again a(4) = 2 '0's followed by a '1' and another a(5) = 2 '0's followed by a '1', then a(6) = 0 '0's before the next '1', i.e., the preceding '1' is immediately followed by another '1'. And so on.
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, May 02 2017
STATUS
approved