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 1..1..1..1..1..1.. (etc.) one must use the integer 10 after the third term (which is 3), then use the integer 4, then use the integer 12 (as 11 is forbidden: no integer with consecutive 1's is allowed), etc.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eric Angelini, Aug 18 2016
STATUS
approved