OFFSET
1,2
COMMENTS
The sequence is started with a(1)=1 and always extended with the smallest integer not yet used that does not lead to a contradiction.
EXAMPLE
To match the infinite digit-pattern 2..2..2..2..2..2.. (etc.) one must use the integer 20 after the fourth term (which is 4), then use the integer 5, then use the integer 21, then use the integer 6, then use the integer 23 (as 22 is forbidden: no integer with consecutive 2's is allowed), etc.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eric Angelini, Aug 18 2016
STATUS
approved